Hi,

I'm trying to use a VT420 serial terminal on an i386 box running
4.1-stable.  Not as a system console, just as an extra screen to login.
The output of the boot loader and kernel output should go to the
monitor, as usual.

The terminal is hooked up to the first serial port with a null modem
cable.  I changed the tty00 line of /etc/ttys to:
tty00   "/usr/libexec/getty std.9600"   vt220   on  secure
and sent -HUP to init.  There's a getty process on tty00, but there's
no login: prompt on the terminal.  Everything I type on the terminal is
echoed on the screen, so the cable is OK (local echo is off).

The funny thing is, when I start 'tip tty00' on the machine (while
logged in at the keyboard+monitor), the login: prompt appears on the
terminal.
When I quit tip, I can login at the terminal.  When I logout from the
terminal, the login: prompt doesn't appear (but everything I type is
echoed to the terminal screen as before).  I can start tip again, and
then the login: prompt shows up again.

I suspected a problem with the permissions of the tty00 device.  After
logout, they are set to
crw-------  1 root  wheel    8,   0 May 29 21:44 tty00
When logged in it is set to
crw-------  1 maurice  tty    8,   0 May 29 22:00 tty00
Not sure if this is what it should be, but it doesn't look strange to
me.

BTW: not sure if it is related, but when I login as normal user, the
following warning is shown on the terminal:
ksh: No controlling tty (open /dev/tty: Device busy)
ksh: warning: won't have full job control
When I login as root, I don't get this warning.

Any ideas what's going wrong?

Thanks,
Maurice

Reply via email to