shell via serial

Cameron Hutchison lists at xdna.net
Sun Apr 22 12:34:05 UTC 2007


Carl Karsten wrote:

>I boot feisty on Box1 with console=ttyS0,115200 and see all my boot messages in 
>minicom on a 2nd box.  So my serial ports and null modem are hooked up.  what do 
>  I need to do to get a shell login prompt?

>In the ol days, I did this in inittab

>#1:2345:respawn:/sbin/mgetty /dev/ttyS1 -x 5

>now I nave no inittab...  what do I do?

I'm not running feisty yet - I'm still on edgy, but that also has no
inittab. Upstart uses config from files in /etc/event.d, and in that
directory I see files named tty[1-6]. It looks like all you should need
to do is to create "ttyS1" based on one of those (since they just run
getty too) and adjust for /dev/ttyS1.

As to getting upstart to re-read the configs, from
/usr/share/doc/upstart/README.Debian.gz, it looks like "kill 1" is what
you want. Unfortunately there is no effective man page for init/upstart.






More information about the ubuntu-users mailing list