Running a UDP Remote Console with Linux 2.6
Bruce Perens writes "Many system admins have learned how to use syslog to log events of remote systems. But when the kernel crashes, its final messages never get to syslog. If you don't have a remote console manager, you won't see them, unless you
run netconsole."
This is my second shot at a first post! Hey, someone's gotta do this...
Using the Freedom of Speech while I still have it.
I've got to say, it looks really tempting. Things don't usually go that far south, but when they do, it's definitely an advantage to have every piece of information you can get. Especially the kernel messages. Unfortunately, until the clietn daemon can be fixed to work with the latest version of netconsole, this is pretty much worthless, because I can imagine few people willing to leave netcat running on a production machine 24-7...
So technocrat.net is still running, huh? I thought it had been completely colonized by the ship-jumping Slashdot Journal crowd...
This only works/is helpful in certain situations:
1. network driver is initialized
2. kernel messages are what you want to capture
3. the kernel doesn't get itself foobarred so badly that it can't send packets
4. interrupts are enabled (right? can't talk to the network card otherwise)
Also, if you change mac addresses or network cards of the first hop between the sender and receiver, this all needs to be reconfigured.
This can certainly be useful, but recognize its limitations.
-molo
Using your sig line to advertise for friends is lame.
While on the topic, though, it would be nice if Linux did something similar to IRIX, where a crash would save the kernel coredump to the swap partition. Yes, I know the Linux Kernel Crash Dump project does this, but they're not exactly stable yet (hell, their website won't even load right now).
If you use FreeBSD and find this interesting, you should take a look at rwatson's ethercons patches. Basically, it is this but supports bidirectional communication. That means you can run a getty on it and login over ethernet console. Rather slick.
Beware, Nugget is watching... See?
I'm confused... the article says something about the kernel crashing. This is linux, the kernel doesn't crash! Now make one of these for Windows so I can debug some BSODs and NOW we're talking!
Unacceptable. Mod parent down.
remote console manager, you won't see them,
My console is a 300 baud teletype you insensitive clod!
Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
Why not just send an SNMP trap?
Never heard this before, probably never hear it again:
"The system is being slashdotted now, maybe that will help."