Ken Schneider wrote:
(2) The next thing I need to do is configure kernel messages to be sent to the serial line. Does anybody know whether it is as simple as adding a line in /etc/syslog.conf:
kern.*;*.err /dev/ttyS0 and then kill -HUP `cat /var/run/syslogd.pid`
This should work but you will also need to setup syslog on the receiving end to accept messages from other machines.
Well I was just planning to cat < /dev/ttyS0 :) KISS
Also rcsyslog reload will tell syslog to reread it's config file.
Thanks, that's useful.
Another way to send the messages if the two machines are networked
I wouldn't have be so confident that the last message will make it through the network stack as the kernel is crashing as I am that it will make it down a serial cable :) Cheers, Dave