Re: Serial Terminal - Can't get getty to run via inittab

Glynn Clements <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Chris DiTrani wrote:

> I'm trying to get a headless Fedora 6 box working with a serial terminal
> on com1. I've got grub set up so that kernel output goes to the
> terminal, and I've added this line to my inittab:
> 
> s0:345:respawn:/sbin/agetty -L 9600 ttyS0 vt100
> 
> but agetty is not being run.
> 
> If I run agetty with this same command line explicitly (from a prompt),
> then the terminal gets a login prompt and I can login fine, so it seems
> to just be a matter of getting init to run agetty.
> 
> I've read several how-tos on this but no joy. I've also tried mgetty
> with the same results.
> 
> Any ideas?

Are you entering runlevel 3, 4 or 5? If you're booting into
single-user mode, the above won't be run. If you want to use the
terminal in single-user mode, you need to change 345 to 12345.

Is there anything in the log files? If agetty is being run but is
terminating immediately, init will normally log an error.

-- 
Glynn Clements <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.