Subject: debugging PPP connection
To: None <netbsd-help@netbsd.org>
From: Dave <djibsd@punchcutter.ml1.net>
List: netbsd-help
Date: 02/17/2003 22:34:42
Hi,
   I'm trying to set up PPP (PAP auth) following the
directions in the on-line manual (verbatim), and have
reached an impasse.  I hope someone can help me figure
out what's going wrong. I'm using a Toshiba Tecra 8000
laptop with an IBM 56k PC card modem.

Below is a copy of what /var/log/messages says when
I try to connect.  In addition, among the output that
comes out in the tty where I'm running pppd, I see the
line below which says "ppp output" and is followed by
a long string of what looks like hex.  This is repeated 8
times, and then "last message repeated 8 times" (somewhat
disturbing in the output below is that the "last message
repeated 8 times" log message is dated 10 minutes earlier
than the rest.  I can't imagine what could cause this
other than a software bug.)

Please help :-}

Dave


Feb 15 13:41:56  pppd[264]: pppd 2.4.0 started by root, uid 0
Feb 15 13:41:57  chat[266]: abort on (NO CARRIER)
Feb 15 13:41:57  chat[266]: abort on (NO DIALTONE)
Feb 15 13:41:58  chat[266]: abort on (ERROR)
Feb 15 13:41:58  chat[266]: abort on (NO ANSWER)
Feb 15 13:41:58  chat[266]: abort on (BUSY)
Feb 15 13:41:58  chat[266]: abort on (Username/Password Incorrect)
Feb 15 13:41:58  chat[266]: report (CONNECT)
Feb 15 13:41:58  chat[266]: send (ATDT,4132200^M)
Feb 15 13:41:58  chat[266]: expect (CONNECT)
Feb 15 13:42:26  chat[266]: ATDT,4132200^M^M
Feb 15 13:42:26  chat[266]: CONNECT
Feb 15 13:42:26  chat[266]:  -- got it
Feb 15 13:42:26  chat[266]: send (^M)
Feb 15 13:42:26  pppd[264]: Serial connection established.
Feb 15 13:42:26  pppd[264]: Using interface ppp0
Feb 15 13:42:27  pppd[264]: Connect: ppp0 <--> /dev/tty03
Feb 15 13:32:29  last message repeated 8 times
Feb 15 13:42:28  /netbsd: ppp0 output:
ff03c021010100140206000000000506a27a982507020802
Feb 15 13:42:53  pppd[264]: Modem hangup
Feb 15 13:42:53  pppd[264]: Connection terminated.
Feb 15 13:42:54  pppd[264]: Serial link is not 8-bit clean:
Feb 15 13:42:54  pppd[264]: All received characters had bit 7 set to 0