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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <glynn@xxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux