Re: Serial Console

Jim Fridlund <[email protected]> Sat, 3 Apr 2004 20:13:55 -0800 (PST)
Newsgroups gmane.comp.hardware.openbrick.general
Message-ID <[email protected]>
--- Chris Knadle <[email protected]> wrote:
>    Out of curiosity: what is generating the
> requirement that the bootup text 
> go to the serial port?
> 
> 	- Chris

Hi. I was reading this thread and thought I'd
share some info to this list. I worked on an
embedded x86 board where we used Phoenix BIOS
which did have serial support. One could
configure it to output the BIOS on Com 1.
Most PCs don't support this feature though
and I don't think the OpenBrick does.

I do have my OpenBrick setup as a headless
router/gateway where it uses Com 1 as its console.
You can configure grub to use com 1 as your console.
I have the following defined in my grub.conf:

serial --unit=0 --speed=9600 --word=8 --parity=no
--stop=1
terminal --timeout=10 serial console

This configures my com 1 9600/N/8/1. I believe
the grub output goes to both VGA and com 1.

I also added a line in /etc/inittab:

s1:12345:respawn:/sbin/agetty -i -L 9600 ttyS0 vt100

This spawns a login on console on com 1. If you want
remote access, one could hook up com 1 to a modem.

I use to set up remote access this way back in the
old days when we didn't have broadband. I still see
applications for it though. Cheers.
--
Jim


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/