R: [BusyBox] problem using Inittab

Filippo Ferrara filippo.ferrara at brime.it
Thu May 22 13:24:57 UTC 2003


How can I set the serial port parameters (115200n8) if I type:
ttyS0::respawn:-/bin/sh

Filippo

-----Messaggio originale-----
Da: Steven Scholz [mailto:steven.scholz at imc-berlin.de]
Inviato: giovedi 22 maggio 2003 15.09
A: Filippo Ferrara
Cc: busybox at busybox.net
Oggetto: Re: [BusyBox] problem using Inittab


Filippo Ferrara schrieb:
> Hello All,
> I'm trying to use Busybox  (v0.60.3 for PXA250) with Inittab on a system
> with serial console, but once Linux starts it keeps me asking for the
login
> name ((none) login: ) no matter what I type on the console.
>
> My inittab  file contains the following options:
>
> ::sysinit:/etc/init.d/rcS
> ::respawn:/sbin/getty console
> ::respawn:/sbin/getty -L ttyS0 115200 vt100
> ::ctrlaltdel:/sbin/reboot
> ::shutdown:/bin/umount -a -r
> ::shutdown:/sbin/swapoff -a
> ::restart:/sbin/init
>
> Did I miss something? I don't have tinylogin but I understood I don't need
> it.
> if I don't use Inittab and add tinylogin works fine.

If you don't want a login at all you could probably replace your getty
line with something like

ttyS0::respawn:-/bin/sh

And BTW: Do you have a user root in your /etc/passwd?

Steven




More information about the busybox mailing list