NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Serial console setup



Hi,
I'm wanting to connect an actual serial terminal (Wyse 60; VT100 mode) to
a small i386 PC running NetBSD 7.99.25 (snapshot w/ GENERIC kernel).  The
cable is a straight serial, DB9 (PC COM port) to DB9-DB25 (Wyse MODEM
port).  I added a 'consdev auto' entry to /boot.cfg (see below) which
seems to get the serial port address right and I'm able to get the dmesg
stuff to display during bootup but no interaction via the keyboard.  I
tried various combinations of [Full|Half]Duplex and RCV Handshake
[none|XON/XOFF|DTR|both] ; none enabled 2-way communication.

Current settings are attached. Is there something more I need to do?

Jeff

--
Some info from the current setup:

#/var/log/messages
..
Dec 20 .. /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
Dec 20 .. /netbsd: com0: console

#/boot.cfg
..
menu=Boot Wyse 60:consdev auto;rndseed /var/db/entropy-file;boot netbsd

#/etc/ttys
..
console	"/usr/libexec/getty std.9600"	vt100	on rtscts secure
constty	"/usr/libexec/getty Pc"		vt100	off secure

# % sudo stty -e -f /dev/console
speed 9600 baud; 25 rows; 80 columns; queue = 1024; line = termios;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
        -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
        -nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
        -brkint -inpck -ignpar -parmrk
oflags: -opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb crtscts -mdmbuf
        -cdtrcts
discard dsusp   eof     eol     eol2    erase   intr    kill    lnext
^O      ^Y      ^D      <undef> <undef> ^?      ^C      ^U      ^V
min     quit    reprint start   status  stop    susp    time    werase
1       ^\      ^R      ^Q      ^T      ^S      ^Z      0       ^W


Home | Main Index | Thread Index | Old Index