From Fedora Project Wiki

Revision as of 17:15, 27 August 2009 by Jreiser (talk | contribs) (explicitly name the "second machine" as debugger; what about iptables or firewall?)

Setting up netconsole

Assume we have two computers on the same network.

The machine with a problem (the debugee):

IP address:

And a second machine (the debugger):

IP address:
MAC address of eth0: 00:11:22:33:44:55

The debugger

On a different machine than the one you are seeing the problem, you need to run nc -l -u 6666 This will listen on udp port 6666 for any messages.

The debugee

On the machine that you're trying to debug a problem, run (as root) modprobe netconsole netconsole=4444@,6666@

If you replace the IP/MAC addresses with those relevant to your machines/network in the command above, you should see messages appearing on the debugging machine.

For more information on netconsole, see

Comment: There should be some explicit statement about whether iptables and/or the firewall on the debugger needs to be changed temporarily, etc. Also, is there some other way to use netconsole so that it is active before you can invoke modprobe from a shell, such as during boot itself?