Subject: Re: This system lacks kernel support for PPP (?)
To: None <port-vax@netbsd.org>
From: None <mjdowden@panix.com>
List: port-vax
Date: 10/11/2002 11:36:18
At 1:56 PM +0000 10/10/2002, Christos Zoulas wrote:
>There is one thing you can do to see the status of the tty. While pppd
>is running:
>
> stty -a -f /dev/ttyS2
>
>and see if in cflags: `cs8' is set. If it is set, then you probably
>have a problem in the driver or on the remote end. If it is not set,
>then there is a problem in the driver. pppd(8) always sets cs8 on the
>tty line.
Thanks for the suggestion, here is the output:
notung# stty -a -f /dev/ttyS2
ppp disc; speed 38400 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 -mdmbuf
-cdtrcts
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
stop = ^S; susp = ^Z; time = 0; werase = ^W;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oct 11 11:04:51 notung chat[248]: CONNECT
Oct 11 11:04:51 notung chat[248]: -- got it
Oct 11 11:04:51 notung chat[248]: send (^M)
Oct 11 11:04:51 notung pppd[245]: Serial connection established.
Oct 11 11:04:51 notung pppd[245]: Using interface ppp0
Oct 11 11:04:51 notung pppd[245]: Connect: ppp0 <--> /dev/ttyS2
Oct 11 11:05:22 notung pppd[245]: LCP: timeout sending Config-Requests
Oct 11 11:05:22 notung pppd[245]: Connection terminated.
Oct 11 11:05:22 notung pppd[245]: Serial link is not 8-bit clean:
Oct 11 11:05:22 notung pppd[245]: All received characters had bit 7 set to 0
Oct 11 11:05:23 notung pppd[245]: Exit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for comparison, this is from 1.51 (which works perfectly):
/root# stty -a -f /dev/ttyS2
ppp disc; speed 38400 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 -mdmbuf
-cdtrcts
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
stop = ^S; susp = ^Z; time = 0; werase = ^W;