Subject: Re: serial console.
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: netbsd-help
Date: 07/18/2006 11:22:19
Nicolas Saurbier --> netbsd-help (2006-07-18 10:37:03 +0200):
> you should change line "tty00 ...." for com0, "tty01. ...." for com2, etc.
> in "/etc/ttys".

This won't give you a serial console; it will only start a getty on
the serial line during system bootup.

On some systems running NetBSD/i386 I used

$ installboot -v -o timeout=3,console=com0,speed=38400 /dev/rwd0a /usr/mdec/bootxx_ffsv1
$ echo 'console "/usr/libexec/getty std.38400" vt100 on secure' >/etc/ttys

to get a serial console and to enable logins on the serial line.


> I don't know how to activat changes without reboot,

Send a SIGHUP to init:

$ kill -HUP 1


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~