Subject: RE: serial console.
To: Paul (NCC/CS). <pts@bom.gov.au>
From: Nicolas Saurbier <Nicolas.Saurbier@concept04.de>
List: netbsd-help
Date: 07/18/2006 10:37:03
Hi,
you should change line "tty00 ...." for com0, "tty01. ...." for com2, =
etc.
in "/etc/ttys". The std.115200 represents the line-speed (here =
112500Baud).
The last keyword "local" is just a comment, you can leave this out.
# name getty type status comments
#
console "/usr/libexec/getty Pc" vt100 off secure
ttyE0 "/usr/libexec/getty Pc" vt100 off secure
ttyE1 "/usr/libexec/getty Pc" vt100 off secure
ttyE2 "/usr/libexec/getty Pc" vt100 off secure
ttyE3 "/usr/libexec/getty Pc" vt100 off secure
tty00 "/usr/libexec/getty std.115200" vt100 on secure local
tty01 "/usr/libexec/getty std.9600" unknown off secure
tty02 "/usr/libexec/getty std.9600" unknown off secure
tty03 "/usr/libexec/getty std.9600" unknown off secure
tty04 "/usr/libexec/getty std.9600" unknown off secure
tty05 "/usr/libexec/getty std.9600" unknown off secure
tty06 "/usr/libexec/getty std.9600" unknown off secure
tty07 "/usr/libexec/getty std.9600" unknown off secure=20
I don't know how to activat changes without reboot, but after a reboot =
you'll
have serial console. For a Kernel that outputs to serial console, you'll =
need
to recompile the kernel an set following params:
# This option allows you to force a serial console at the specified
# I/O address. see console(4) for details.
#options CONSDEVNAME=3D"\"com\"",CONADDR=3D0x2f8,CONSPEED=3D57600
The bootloader comes with a bootblock-file working via serial.
Not quite shure how it's called and where it is (no bsd arround here).
I remember a directory called "mdec" where you should find this file.
Use "installboot" to install it.
Cheerz
Nic
-----Original Message-----
From: netbsd-help-owner@NetBSD.org [mailto:netbsd-help-owner@NetBSD.org] =
On Behalf Of Paul (NCC/CS).
Sent: Tuesday, July 18, 2006 2:26 AM
To: netbsd-help@NetBSD.org
Subject: serial console.
Hi,
where in the netbsd doco do i look for how to do a serial console =
please?
chs,
P.
--
____________________________________________
Paul
____________________________________________
"In a world without walls and fences,
who needs windows and gates ?"