Subject: RE: serial console
To: Sean Han <jhan@servecom.picker.com>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 05/27/1999 10:40:57
On Thu, 27 May 1999, Sean Han wrote:
> Yes, I think so. Here is the ttys setting of /dev/ttyE0:
>
> console "/usr/libexec/getty Pc" pc3 off secure
> ttyE0 "/usr/libexec/getty Pc" vt220 on secure
> ttyE1 "/usr/libexec/getty Pc" vt220 off secure
> ttyE2 "/usr/libexec/getty Pc" vt220 off secure
> ttyE3 "/usr/libexec/getty Pc" vt220 off secure
To login on com1, you need to have tty00 on. The ttyE* are for wscons.
Those are the different screens you get with CTRL-ALT-F1,F2, etc. When
you were booting on the console, one screen was configured by default,
but with your serial console kernel that doesn't happen unless you run
wsconscfg or change wscons=NO to wscons=YES in /etc/rc.conf.
If this machine is on a network, you can login, su, change /etc/ttys,
run wsconscfg, and "kill -HUP 1" to start the new gettys. Otherwise,
you're never going to see a shell unless you boot from your old kernel.