Thursday 14 March 2013

netconsole Debian Squeeze initialization scripts

All scripts moved to GitHub:

I'm providing open source script for managing netconsole module on Debian Squeeze for you! :)


  1. Autoconfigure mac address in routed network (automatically use gateway address mac or you can manually set destination server mac address)
  2. Script is very simple to configure 

You can install it manually:

apt-get install -y arping
cd /usr/src
wget -O/etc/default/netconsole --no-check-certificate
wget -O/etc/init.d/netconsole --no-check-certificate
chmod +x /etc/init.d/netconsole

Now you need configure script:
nano /etc/default/netconsole
You need enable script autoload on startup:

Also you need set DESTINATION_SERVER_IP.

Okay,  show must go on! Startup netconsole!
insserv netconsole
/etc/init.d/netconsole start

1 comment :

  1. Не получается запустить скрипт под Debian 8.1:

    # service netconsole start
    Failed to start netconsole.service: Unit netconsole.service failed to load: No such file or directory.


Note: only a member of this blog may post a comment.