Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 00:35:47 -0700
From:      Ryan Merrick <sandshrimp@attbi.com>
To:        freebsd-questions@freebsd.org
Subject:   serial terminal fails on 4.8
Message-ID:  <3ED31553.6010003@attbi.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ED31553.6010003>