RE: [SLE] Serial Console (again...)
Hi, -----Original Message----- From: Herman Knief [SMTP:herman@knief.net] Sent: Friday, March 31, 2000 12:15 PM
Has anyone got a true serial console working?
Not a boot console just login for use with my palm pilot in case of emergency.
I have the stock kernel which works with agetty on ttyS0 for logins, but I don't get a true console (no boot messages sent to ttyS0 on startup). I also have my own kernel with serial console support, but the agetty keeps dying and won't present a login prompt (but I get all the boot messages on startup!)
What am I doing wrong?
lilo.conf includes -> serial=0,9600n8 append="console=ttyS0,9600n8"
inittab includes -> S0:123:respawn:/sbin/agetty -l 9600 ttyS0 vt100
Here may be a problem, you are using the -l option which allows you to use an alternate login program rather than the default /bin/login. I think you want -L for local (no carrier detect). That would explain why you don't get a login prompt, but then you wouldn't get one with a stock kernel either. Mine looks like S0:23:respawn:/sbin/agetty -L 9600 ttyS0 I'll recompile my kernel this weekend and see what I get. Tim
TIA - Herman
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Thanks for the reply... a couple of comments below. ->> ->>>Has anyone got a true serial console working? ->> ->>Not a boot console just login for use with my palm pilot in case of ->>emergency. ->> ->>> I have the stock ->>>kernel which works with agetty on ttyS0 for logins, but I don't get a ->>>true console (no boot messages sent to ttyS0 on startup). I also ->>>have my own kernel with serial console support, but the agetty keeps ->>>dying and won't present a login prompt (but I get all the boot ->>>messages on startup!) ->> ->>>What am I doing wrong? ->> ->>>lilo.conf includes -> serial=0,9600n8 ->>> append="console=ttyS0,9600n8" ->> ->>>inittab includes -> S0:123:respawn:/sbin/agetty -l 9600 ttyS0 vt100 ->> ->>Here may be a problem, you are using the -l option which allows you to ->>use an alternate login program rather than the default /bin/login. I ->>think you want -L for local (no carrier detect). That would explain why ->>you don't get a login prompt, but then you wouldn't get one with a stock ->>kernel either. Sorry, this was a typo... it is in fact a capital "L". ->> ->>Mine looks like ->>S0:23:respawn:/sbin/agetty -L 9600 ttyS0 ->> ->>I'll recompile my kernel this weekend and see what I get. ->> ->>Tim ->> Thanks... I'd love to see someone duplicate my problem or get a working instance that I could compare against. - Herman -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
herman@knief.net
-
tduggan@dekaresearch.com