[BusyBox] Can't get tty...
dpost at toplayer.com
dpost at toplayer.com
Thu Mar 27 12:17:03 UTC 2003
Hi All,
I found (well stumbled upon) my answer. For completeness sake and to
hopefully help someone in the future who runs across this I thought I would
post it...
I started looking and what I had populated in my file system and noticed
purely by chance that I only had in my /dev directory ttyS0, tty and ttys0
for tty devices. Also the permissions were not consistent. So I added (via
mknod) 1-3 for ttySx and ttysx and also added ttyp1-4. I made sure all had
rw privs and rebooted. Whala all was well....
Hope this helps someone....
Thanks,
-Don
-----Original Message-----
From: dpost at toplayer.com [mailto:dpost at toplayer.com]
Sent: Wednesday, March 26, 2003 7:24 PM
To: busybox at busybox.net
Subject: [BusyBox] Can't get tty...
Hi,
I have done some searching and it looks like this question has been asked
before, but I have tried the proposed solutions with no luck.
I an running on busybox 0.60.5, Linux 2.4.10 kernel on an 450Mhz Intel PC.
The system boots just fine except for the fact the from the console I get
the following:
-----
Please press enter to activate this console.
BusyBox v0.60.5 (2003.03.26-15:39+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands
sh: can't access tty; job control turned off
#
------
I have job control turned on in Config.h and my inittab file looks just like
the one from the help file (which I have included at the end). Any help in
solving this would be greatly appreciated.
Thanks,
-Don
# This is run first except when booting in single-user mode.
#
::sysinit:/etc/init.d/rcS
# /bin/sh invocations on selected ttys
#
# Start an "askfirst" shell on the console (whatever that may be)
::askfirst:-/bin/sh
# Start an "askfirst" shell on /dev/tty2-4
tty2::askfirst:-/bin/sh
tty3::askfirst:-/bin/sh
tty4::askfirst:-/bin/sh
# /sbin/getty invocations for selected ttys
#
tty4::respawn:/sbin/getty 38400 tty5
tty5::respawn:/sbin/getty 38400 tty6
# Example of how to put a getty on a serial line (for a terminal)
#
#::respawn:/sbin/getty -L ttyS0 9600 vt100
#::respawn:/sbin/getty -L ttyS1 9600 vt100
#
# Example how to put a getty on a modem line.
#::respawn:/sbin/getty 57600 ttyS2
# Stuff to do when restarting the init process
::restart:/sbin/init
# Stuff to do before rebooting
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a
_______________________________________________
busybox mailing list
busybox at busybox.net
http://busybox.net/mailman/listinfo/busybox
More information about the busybox
mailing list