Differences

This shows you the differences between two versions of the page.

Link to this comparison view

internal:netconsole [2010/07/23 06:27] (current)
solar created
Line 1: Line 1:
 +====== Linux kernel netconsole setup with LILO and netcat ======
  
 +Here's a tested combination of settings, assuming that the kernel has netconsole support compiled in (not a module):
 +
 +In ''/​etc/​lilo.conf'',​ the section may look like:
 +
 +<​code>​
 +image=/​boot/​vmlinuz-2.6.18-194.8.1.el5.028stab070.2.owl3
 +        label=070.2.owl3
 +        append="​panic=10 netconsole=444@192.168.xxx.src/​eth1,​666@192.168.xxx.dst/​00:​11:​22:​33:​44:​55"​
 +</​code>​
 +
 +Of course, proper source IP address, interface name, and destination IP address and MAC address (same Ethernet segment/​VLAN) need to be substituted.
 +
 +On the temporary logging server, run (preferably under ''​screen''​):​
 +
 +  nc -vul 666 | tee -a netcons-srcservername
 +
 +Tested with OpenBSD-derived netcat that we have in [[http://​www.openwall.com/​Owl/​|Owl]].
internal/netconsole.txt ยท Last modified: 2010/07/23 06:27 by solar
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate to DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Powered by OpenVZ Powered by Openwall GNU/*/Linux