1. After login, Busybox shows
- Code: Select all
can't access tty: job control turned off
2. /bin/more, /opt/bin/less, or any program that reads /dev/tty does not get any key press input
3. /opt/bin/ssh-keygen does not work, stops when reading /dev/tty
4. /opt/bin/ssh does not work, stops when reading /dev/tty
It turns out /dev/tty was symlinked to /dev/ttyS0.
So do the following
- Code: Select all
# cd /dev
# rm -f tty
# mknod tty c 5 0
# chmod go+w tty
And everything's back to normal.
-Brian Zhou
