For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > RedHat Serial Console

RedHat Serial Console

Created by dave. Last edited by dave, 11 years and 159 days ago. Viewed 2,508 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
RedHat 9 has the serial console and relevant devices already compiled in.

To use the serial console, append to the kernel line in /etc/grub.conf:

console=ttyS1,115200

The documentation claims that you can define multiple consoles, but it lies. Default is to use the VGA adapter + a keyboard.

You will need an agetty running on ttyS1 if you want to log in on this console, but if you just want to capture the output the agetty isn't necessary. Add this line to /etc/inittab:

S1:2345:respawn:/sbin/agetty -L 115200 ttyS1 vt100

Notice the speed parameters need to match if you are going to use both. The 115200 speed was plenty fast for a 10Gb test with lots of noise and worked fine in the Windows Hyperterm.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt