linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux + serial console
@ 2001-10-09 18:33 Jure Menart
  2001-10-10  1:58 ` Guillaume Laurès
  0 siblings, 1 reply; 2+ messages in thread
From: Jure Menart @ 2001-10-09 18:33 UTC (permalink / raw)
  To: linuxppc dev


Hello,
I'm trying to have Linux box (custom made board, IBM 405gp), which would
'work' only through serial console (ttyS0).
I try many things but I just couldn't keep my 'console' on ttyS0.
I change everything in main.c to open only /dev/ttyS0, not the usual
/dev/console. I made /dev/std[io,out,err] links which pointed to /dev/ttyS0
(although it isn't important I think), but my console 'dissapears' anyway.
Did I forget something... or better - what did I forget?

Thanks in advance...Jure


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux + serial console
  2001-10-09 18:33 linux + serial console Jure Menart
@ 2001-10-10  1:58 ` Guillaume Laurès
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Laurès @ 2001-10-10  1:58 UTC (permalink / raw)
  To: Jure Menart; +Cc: linuxppc dev


le mar 09-10-2001 at 14:33 Jure Menart a écrit :
>
> Hello,
> I'm trying to have Linux box (custom made board, IBM 405gp), which would
> 'work' only through serial console (ttyS0).
> I try many things but I just couldn't keep my 'console' on ttyS0.
> I change everything in main.c to open only /dev/ttyS0, not the usual
> /dev/console. I made /dev/std[io,out,err] links which pointed to /dev/ttyS0
> (although it isn't important I think), but my console 'dissapears' anyway.
> Did I forget something... or better - what did I forget?


I run "root=/dev/hda14 console=ttyS0,38400 console=tty0" as a boot
comand line.
Both console declaration enable output of startup messages on the serial
port as well as on the console, you may only use "console=ttyS0,9600" or
so.

Interesting too, if you happen to have getty installed (getty_ps rpm)
you can set in your /etc/inittab:
s1:2345:respawn:/sbin/getty ttyS0 DT38400
so that you can login on the serial port with a utility like cu or
minicom.

Adding :
ttyS0
in /etc/securetty helps also, to log in as root directly

Enjoy,

--
GoM


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-10  1:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-09 18:33 linux + serial console Jure Menart
2001-10-10  1:58 ` Guillaume Laurès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).