[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ppp/chap client problems



I'm trying to configure pppd for dial-out to work, which requires CHAP
authentication.  Unfortunately, I can't seem to make the @#$%! machines
happy.  I've gone through the HOWTO and everything *seems* to be
configured properly, but obviously something's not right.  Anyone care
to point out what I've mangled here?

The peers file looks like this:

   connect "/usr/bin/expect -f /etc/chatscripts/work"
   defaultroute noipdefault /dev/modem 115200 -proxyarp noauth
   idle 1800 user snidely remotename REMOTEHOST debug

The chap-secrets file, in it's current incarnation, looks approximately
like:

   snidely REMOTEHOST "<password>"
   REMOTEHOST snidely "<password>"

The log entries from pppd are (with slight formatting):

   Dec 27 18:38:09 glitch pppd[15939]: pppd 2.4.0 started by adric, uid 1000
   Dec 27 18:38:10 glitch ppp_dialer[15942]: Initializing modem...
   Dec 27 18:38:10 glitch ppp_dialer[15942]: Dialing...
   Dec 27 18:38:36 glitch ppp_dialer[15942]: Connected... 36000/ARQ/V90/LAPM
   Dec 27 18:38:36 glitch pppd[15939]: Serial connection established.
   Dec 27 18:38:36 glitch pppd[15939]: using channel 8
   Dec 27 18:38:36 glitch pppd[15939]: Using interface ppp0
   Dec 27 18:38:36 glitch pppd[15939]: Connect: ppp0 <--> /dev/modem
   Dec 27 18:38:37 glitch pppd[15939]: sent [LCP ConfReq id=0x1
        <asyncmap 0x0> <magic 0x1789f45b> <pcomp> <accomp>]
   Dec 27 18:38:37 glitch pppd[15939]: rcvd [LCP ConfReq id=0x1
        < 00 04 00 00> <mru 1524> <asyncmap 0xa0000> <auth chap MD5>
        <pcomp> <accomp> <mrru 1524> <endpoint [MAC:00:c0:7b:6e:3c:f4]>]
   Dec 27 18:38:37 glitch pppd[15939]: sent [LCP ConfRej id=0x1
        < 00 04 00 00> <mrru 1524>]
   Dec 27 18:38:37 glitch pppd[15939]: rcvd [LCP ConfAck id=0x1
        <asyncmap 0x0> <magic 0x1789f45b> <pcomp> <accomp>]
   Dec 27 18:38:37 glitch pppd[15939]: rcvd [LCP ConfReq id=0x2
        <mru 1524> <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>
        <endpoint [MAC:00:c0:7b:6e:3c:f4]>]
   Dec 27 18:38:37 glitch pppd[15939]: sent [LCP ConfAck id=0x2
        <mru 1524> <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>
        <endpoint [MAC:00:c0:7b:6e:3c:f4]>]
   Dec 27 18:38:37 glitch pppd[15939]: sent [LCP EchoReq id=0x0
        magic=0x1789f45b]
   Dec 27 18:38:37 glitch pppd[15939]: rcvd [CHAP Challenge id=0x1
        <d50453fe3588a3e2e056c46384057317>, name = "REMOTEHOST"]
   Dec 27 18:38:37 glitch pppd[15939]: sent [CHAP Response id=0x1
        <51d2b8f3ce4babe476f6d026b97a7284>, name = "snidely"]
   Dec 27 18:38:37 glitch pppd[15939]: rcvd [LCP EchoRep id=0x0
        magic=0x0]
   Dec 27 18:38:38 glitch pppd[15939]: rcvd [CHAP Failure id=0x1
        "\026Authentication failure"]
   Dec 27 18:38:38 glitch pppd[15939]: Remote message: ^VAuthentication
        failure
   Dec 27 18:38:38 glitch pppd[15939]: CHAP authentication failed
   Dec 27 18:38:38 glitch pppd[15939]: sent [LCP TermReq id=0x2 "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:38:38 glitch pppd[15939]: rcvd [LCP TermReq id=0x1]
   Dec 27 18:38:38 glitch pppd[15939]: sent [LCP TermAck id=0x1]
   Dec 27 18:38:41 glitch pppd[15939]: sent [LCP TermReq id=0x3 "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:38:44 glitch pppd[15939]: sent [LCP TermReq id=0x4 "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:38:47 glitch pppd[15939]: sent [LCP TermReq id=0x5 "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:38:50 glitch pppd[15939]: sent [LCP TermReq id=0x6 "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:38:53 glitch pppd[15939]: sent [LCP TermReq id=0x7 "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:38:56 glitch pppd[15939]: sent [LCP TermReq id=0x8 "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:38:59 glitch pppd[15939]: sent [LCP TermReq id=0x9 "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:39:02 glitch pppd[15939]: sent [LCP TermReq id=0xa "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:39:05 glitch pppd[15939]: sent [LCP TermReq id=0xb "Failed
        to authenticate ourselves to peer"]
   Dec 27 18:39:08 glitch pppd[15939]: Connection terminated.
   Dec 27 18:39:08 glitch pppd[15939]: Hangup (SIGHUP)
   Dec 27 18:39:08 glitch pppd[15939]: Exit.

Suggestions would be greatly appreciated!



Reply to: