Put a getty on the serial port

Dmytro Bablinyuk dmytro.bablinyuk at rftechnology.com.au
Wed Oct 12 01:48:40 UTC 2005


>>
> Don't you have to specify which ttyCPM you want to use? From your kernel 
> command line I would assume '0'
Yep, I spotted this already. But now I have another problem with
--8<---
::wait:/sbin/getty -n -l /bin/sh 115200 /dev/console vt100
'/bin/sh: can't access tty; job control turned off'
--8<---
So, I should run my shell on a normal tty such as tty1 or ttyS0 - I tried:
::wait:/sbin/getty -n -l /bin/sh 115200 /dev/ttyS0 vt100
::wait:/sbin/getty -n -l /bin/sh 115200 /dev/ttyCPM0 vt100
::wait:/sbin/getty -n -l /bin/sh 115200 /dev/tty0 vt100
But none of them works.

Any ideas?
Probably I have again missed something.



More information about the busybox mailing list