Netconsole

From ArchWiki
Revision as of 14:47, 10 February 2010 by Intgr (talk | contribs) (Created page with ''''netconsole''' is a kernel module that sends all kernel log messages (i.e. dmesg) over the network to another computer, without involving user space (e.g. syslogd). It's re…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

netconsole is a kernel module that sends all kernel log messages (i.e. dmesg) over the network to another computer, without involving user space (e.g. syslogd). It's really a misnomer because it's not really a "console", more like a remote logging service.

netconsole is mainly used for capturing kernel panic output from a headless machine, or in other situations where the user space is no more functional.

Documentation is available in the Linux kernel tree under [Documentation/networking/netconsole.txt http://lxr.linux.no/linux+v2.6.32/Documentation/networking/netconsole.txt]

Dynamic configuration

grep -o ..:..:..:..:..:.. > remote_mac

echo 1 > enabled


netconsole should now be configured. To verify, run 'dmesg |tail' and you should see "netconsole: network logging started"

Receiver

{{{ nc -u -l 6666 }}}