Subject: Addition to options(4)
To: Current Users <current-users@NetBSD.ORG>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: current-users
Date: 10/20/1996 00:22:37
The options(4) man page (preliminary) doesn't mention the serial port
console options.  This appears to work on the i386 port:

options         COMCONSOLE
options         CONSPEED=9600

The first one enables the console on the com0 port (first com port on
the motherboard) and the second makes sure the speed is set to 9600 bps
(I'm not sure if this is really necessary).  If you want to get a getty
on the serial console, you have to say

console "/usr/libexec/getty Pc"         vt100   on secure

in /etc/ttys.

I don't know what ports have the serial port console option.  Sparc does,
but no COMCONSOLE is required in the kernel config file.  Instead, you
set the "input-device" and "output-device" to "ttya" or "ttyb" in the
EEPROM.

I would have e-mailed this to the person writing the options man page but
I couldn't find his e-mail address...

  -jm

-- 

                     ---> http://www.jmp.fi/~jmarin/ <---