Monday, February 23, 2009

Redirect Console Messages To RS-232 On RHEL 5.2

1) Add the following lines to /etc/inittab
s0:2345:respawn:/sbin/agetty -L -f /etc/issueserial 9600 ttyS0 vt100
s1:2345:respawn:/sbin/agetty -L -f /etc/issueserial 9600 ttyS1 vt100

2) Add the following lines to /etc/securetty
ttyS0
ttyS1

3) Add the following directive to the GRUB boot line for the kernel:
console=ttyS1,9600