[svlug] PPP madness...

DzM svlug at dzm.com
Sat Mar 3 16:12:01 PST 2001


Hello all -

I'm confused. I'm consternated. I'm lost. Please help.

I have two machines (laptop and desktop machines). Both are periodically
used to connect to the office or an ISP via a script that looks
remarkably like this:

pppd connect 'chat -v "" ATZ OK ATDT####### ogin: UID word: PASS'
/dev/modem 115200 -detach crtscts modem defaultroute lock

Both are using pppd 2.3.11. Both of these machines have been unable to
connect with this script since Friday morning (and I >swear< that I
changed nothing, and that it was working Thursday night). They are both
unable to establish a ppp connection to my office, an independant ISP,
or a different office (owned by a different company, etc). But that's
not where the mystery ends - I >can< connect to the same ESP if I use
Red Hat's smarmy rp3 "PPP Dialer", but not if I use KDE's kppp.

So what have I found? The chat script is successfull. The modems talk,
the login prompts happen and are responded to, and then the connection
between ppp0 and /dev/modem fails:

Mar  3 14:52:22 faux chat[1308]: Password:
Mar  3 14:52:22 faux chat[1308]:  -- got it 
Mar  3 14:52:22 faux chat[1308]: send (PASS^M)
Mar  3 14:52:23 faux pppd[1307]: Serial connection established.
Mar  3 14:52:23 faux pppd[1307]: Using interface ppp0
Mar  3 14:52:23 faux pppd[1307]: Connect: ppp0 <--> /dev/modem
Mar  3 14:52:30 faux pppd[1307]: LCP terminated by peer
Mar  3 14:52:30 faux pppd[1307]: Modem hangup
Mar  3 14:52:30 faux pppd[1307]: Connection terminated.
Mar  3 14:52:31 faux pppd[1307]: Exit.

I believe, however, that the ppp server and pppd did actually
communicate because I see (in a pppd log):

Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/modem
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3947d3de> <pcomp>
<accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3947d3de> <pcomp>
<accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x97ad1ec> <pcomp>
<accomp> <auth pap>]
sent [LCP ConfRej id=0x1 <auth pap>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MD5> <magic
0x97ad1ec> <pcomp> <accomp>]
sent [LCP ConfRej id=0x2 <auth chap MD5>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x97ad1ec> <pcomp>
<accomp>]
sent [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0x97ad1ec> <pcomp>
<accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3947d3de> <pcomp>
<accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3947d3de> <pcomp>
<accomp>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [LCP TermReq id=0x4]
LCP terminated by peer
sent [LCP TermAck id=0x4]
Modem hangup
Connection terminated.

In my digging about the only difference I can see between Red Hat's rp3
(which works to the external ISP but due to sucky feature neglect does
not work for my office) and my script is that rp3 seems to use wvdial
instead of chat to respond to the prompts.

So I'm lost. I'm confused. I need help so I can check my office email on
the weekend.

Help?




More information about the svlug mailing list