SUSE Support

Here When You Need Us

Netconsole howto

This document (7000330) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9


Kernel boot messages need to be saved after a server crash/hang but access to a serial console is not available.


Use netconsole to send kernel boot messages to another server on the network.

Additional Information


Configure the system that will generate the kernel messages as following:
  1. Load the netconsole module at boot time. Edit /etc/sysconfig/kernel and add:
  2. Set netconsole module options. Edit /etc/modprobe.conf.local and add:
    options netconsole netconsole=4444@,6666@

Sender source port: 4444
Sender IP:
Sender NIC: eth0
Recipient listening port: 6666
Recipient IP:
Recipient MAC: 00:1A:A0:D2:55:66

In case the remote logging client is on a separate subnet than the sender, specify the MAC address of the default gateway instead of the actual MAC address of the recipient system.

Recipient configuration:
  1. Open firewall port. Edit /etc/sysconfig/SuSEfirewall2 and set:
  2. Restart firewall:
    rcSuSEfirewall2 restart
  3. Configure syslog-ng. Edit/etc/syslog-ng/syslog-ng and add:
    source net { udp(ip("") port(6666)); };
    destination netconsole { file("/var/log/$HOST-netconsole.log"); };
    log { source(net); destination(netconsole); };
  4. Restart syslog-ng:
    rcsyslog restart
On the recipient system, logs are written to/var/log/$hostname-netconsole.log


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7000330
  • Creation Date: 07-May-2008
  • Modified Date:24-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.