NETCONSOLE-SETUP(8)
π NETCONSOLE-SETUP π
okay bestie, welcome to netconsole-setup(8) β it's a page from netconsole-setup's Manual and it is genuinely so useful, i'm obsessed. sit down, grab a strawberry π, let's get into it.
β¨ NAME β¨
netconsole-setup β dynamically configure Linux netconsole, no cap π
πΈ SYNOPSIS πΈ
netconsole-setup [[+][target-port]@]target-host ...
π¦ DESCRIPTION π¦
so like, netconsole is a Linux kernel module, right? and what it does is it sends all kernel log messages over the network to another computer. literally all of them. π‘
the way it was designedβ¦ it wanted to be as instantaneous as possible, because its whole thing is enabling the logging of even the most critical kernel bugs. like when stuff is going so wrong that you need the receipts anyway. π
and get this β it works from IRQ contexts</> as well, and it does not enable interrupts while sending packets. icon behaviour honestly. π
but because of those unique needs, only these are supported, periodt:
- IP networks
- UDP packets
- Ethernet devices
now, netconsole-setup is the bestie that makes configuring netconsole easy β it just takes the target hostname or IP address, that's it. it figures out all the needed configuration values from the running network device (like network interface, target IP and MAC address) so you don't have to. π§
you can specify multiple target hosts too. and each host can be prefixed with a target port and a plus sign to enable extended console support. slay.
π OPTIONS π
+β if present, enable extended console support for this host β¨- target-port β port for logging agent (kernel default is port
6666) - target-host β hostname or IP address for logging agent
π EXAMPLES π
this one sends all kernel log messages to host loghost. classic.
netconsole-setup loghost
and this one sends all kernel log messages to hostloghoston port4444using the extended console support. fancy fr fr.
netconsole-setup +4444@loghost
two hosts at once?? main character energy. this sends all kernel log messages to hostloghost1on the default port and to hostloghost2on port4444.
netconsole-setup loghost1 4444@loghost2
π AUTHOR π
Benjamin Drung <benjamin.drung@cloud.ionos.com> β wrote the whole thing, we love him for it π«Ά
and that's the tea, bestie π this page is from netconsole-setup, dated 2018-10-30, living in section NETCONSOLE-SETUP(8) of your friendly neighbourhood manual. go log some kernels, you got this. ππ¦β¨
π¦ where this page comes from
- debian bookworm: netconsole 0.3.1-2.1 Β· ISC
- ubuntu noble: netconsole 0.3.1-2.1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms