On Thu, 2004-09-16 at 09:41, Dave Howorth wrote:
Carlos E. R. 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`
Cheers, Dave
This should work but you will also need to setup syslog on the receiving end to accept messages from other machines. Also rcsyslog reload will tell syslog to reread it's config file. Another way to send the messages if the two machines are networked (from the man page) Remote Machine This syslogd(8) provides full remote logging, i.e. is able to send messages to a remote host running syslogd(8) and to receive messages from remote hosts. The remote host won't forward the message again, it will just log them locally. To forward messages to another host, prepend the hostname with the at sign (‘‘@''). Using this feature you're able to control all syslog mes sages on one host, if all other machines will log remotely to that. This tears down administration needs. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2) * PLEASE only reply to the list *