serial terminal fails on 4.8
Ryan Merrick
sandshrimp at attbi.com
Tue May 27 00:37:02 PDT 2003
I am trying to setup a serial terminal. I have tested the null modem
cable and #/dev/cuaa0 sides of the serial ports with a masterpower's
serial interface and #tip cuaa0b.
On the client I am using minicom with 19200bps, 8bits, no parity, 1 stop
bit, no hardware flowcontrol, and no software flow control. I am unable
to connect to the server. I have fiddled with the flow control, parity,
bps, and terminal. I have read the handbook and faq on serial
connections. I have tried a different client and server to the same
results.
What am I missing ?
What else can I try ?
Server's configuration:
#uname -srm
FreeBSD 4.8-STABLE i386
#dmesg | grep sio
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
#grep ttyd0 /etc/ttys
ttyd0 "/usr/libexec/getty std.19200" vt100 on secure
#ps -a | grep ttyd0
383 d0 Is+ 0:00.00 /usr/libexec/getty std.19200 ttyd0
#stty -af /dev/cuaa0
stty: /dev/cuaa0: Device busy
#stty -af /dev/ttyd0
speed 19200 baud; 0 rows; 0 columns;
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 -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
#comcontrol /dev/ttyd0
dtrwait 300 drainwait 30
Client's configuration:
#uname -srm
FreeBSD 4.8-RC i386
#dmesg | grep sio
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
#grep ttyd0 /etc/ttys
ttyd0 "/usr/libexec/getty std.19200" vt100 off secure
#stty -af /dev/ttyd0
stty: /dev/ttyd0: Device busy
#stty -af /dev/cuaa0
speed 19200 baud; 0 rows; 0 columns;
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 -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
#comcontrol /dev/cuaa0
dtrwait 300 drainwait 30
Ryan Merrick
More information about the freebsd-questions
mailing list