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

Debian 2.0: pon works, diald gets PAP authentication failure



I have a working ppp connection, using PAP, available through pon or
wmppp as evidenced by the console messages:

Sep 16 08:38:26 pinky pppd[577]: pppd 2.3.5 started by krw, uid 1000
Sep 16 08:38:27 pinky chat[578]: abort on (BUSY)
Sep 16 08:38:27 pinky chat[578]: abort on (NO CARRIER)
Sep 16 08:38:27 pinky chat[578]: abort on (VOICE)
Sep 16 08:38:27 pinky chat[578]: abort on (NO DIALTONE)
Sep 16 08:38:27 pinky chat[578]: abort on (NO ANSWER)
Sep 16 08:38:27 pinky chat[578]: send (ATZ^M)
Sep 16 08:38:27 pinky chat[578]: expect (OK)
Sep 16 08:38:28 pinky chat[578]: ATZ^M^M
Sep 16 08:38:28 pinky chat[578]: OK
Sep 16 08:38:28 pinky chat[578]:  -- got it 
Sep 16 08:38:28 pinky chat[578]: send (ATDT359-0062^M)
Sep 16 08:38:28 pinky chat[578]: expect (CONNECT)
Sep 16 08:38:28 pinky chat[578]: ^M
Sep 16 08:38:54 pinky chat[578]: ATDT359-0062^M^M
Sep 16 08:38:54 pinky chat[578]: CONNECT
Sep 16 08:38:54 pinky chat[578]:  -- got it 
Sep 16 08:38:54 pinky chat[578]: send (\d)
Sep 16 08:38:55 pinky pppd[577]: Serial connection established.
Sep 16 08:38:56 pinky pppd[577]: Using interface ppp0
Sep 16 08:38:56 pinky pppd[577]: Connect: ppp0 <--> /dev/ttyS1
Sep 16 08:38:56 pinky pppd[577]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xffff0221> <pcomp> <accomp>]
Sep 16 08:38:59 pinky pppd[577]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xffff0221> <pcomp> <accomp>]
Sep 16 08:38:59 pinky pppd[577]: rcvd [LCP ConfReq id=0xc2 <mru 1500>
<asyncmap 0x0> <auth pap> <magic 0x80ff283a> <pcomp> <accomp>]
Sep 16 08:38:59 pinky pppd[577]: sent [LCP ConfAck id=0xc2 <mru 1500>
<asyncmap 0x0> <auth pap> <magic 0x80ff283a> <pcomp> <accomp>]
Sep 16 08:38:59 pinky pppd[577]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0xffff0221> <pcomp> <accomp>]
Sep 16 08:38:59 pinky pppd[577]: sent [LCP EchoReq id=0x0
magic=0xffff0221]
Sep 16 08:38:59 pinky pppd[577]: sent [PAP AuthReq id=0x1 user="***"
password="***"]
Sep 16 08:39:02 pinky pppd[577]: sent [PAP AuthReq id=0x2 user="***"
password="***"]
Sep 16 08:39:03 pinky pppd[577]: rcvd [PAP AuthAck id=0x2 "upap:
authenticated"]
Sep 16 08:39:03 pinky pppd[577]: Remote message: upap: authenticated
Sep 16 08:39:03 pinky pppd[577]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Sep 16 08:39:03 pinky pppd[577]: rcvd [IPCP ConfReq id=0x6b <addr
209.135.79.125> <compress VJ 0f 01>]
Sep 16 08:39:03 pinky pppd[577]: sent [IPCP ConfAck id=0x6b <addr
209.135.79.125> <compress VJ 0f 01>]
Sep 16 08:39:03 pinky pppd[577]: rcvd [IPCP ConfNak id=0x1 <addr
209.135.79.9>]
Sep 16 08:39:03 pinky pppd[577]: sent [IPCP ConfReq id=0x2 <addr
209.135.79.9> <compress VJ 0f 01>]
Sep 16 08:39:03 pinky pppd[577]: rcvd [IPCP ConfAck id=0x2 <addr
209.135.79.9> <compress VJ 0f 01>]
Sep 16 08:39:03 pinky pppd[577]: local  IP address 209.135.79.9
Sep 16 08:39:03 pinky pppd[577]: remote IP address 209.135.79.125

When I try to enable diald by filling out the diald.options files as
follows:

fifo /etc/diald/diald.ctl
mode ppp
connect "/usr/sbin/chat -f /etc/chatscripts/provider"
device /dev/ttyS1
speed 115200
modem
lock
crtscts
local 127.0.0.2
remote 127.0.0.3
dynamic
defaultroute
pppd-options asyncmap 0
include /etc/diald/standard.filter

and running diald from the command line I get a PAP authentication
error:

Sep 16 08:36:40 pinky diald[527]: Running connect (pid = 534).
Sep 16 08:37:07 pinky diald[527]: Running pppd (pid = 535).
Sep 16 08:37:07 pinky diald[535]: Running pppd: /usr/sbin/pppd -detach
modem crtscts mtu 1500 mru 1500 asyncmap 0 
Sep 16 08:37:07 pinky pppd[535]: pppd 2.3.5 started by root, uid 0
Sep 16 08:37:07 pinky pppd[535]: Using interface ppp0
Sep 16 08:37:07 pinky pppd[535]: Connect: ppp0 <--> /dev/ttyS1Sep 16
08:37:13 pinky pppd[535]: PAP authentication failure for 
Sep 16 08:37:14 pinky pppd[535]: Connection terminated.
Sep 16 08:37:14 pinky pppd[535]: Hangup (SIGHUP)
Sep 16 08:37:14 pinky pppd[535]: Exit.

Can anyone tell me what the problem might be? 

My /etc/chatscripts/provider looks like:

ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE" 
ABORT "NO ANSWER"
"" ATZ
OK ATDT359-0062
CONNECT \d\c


---- Ken


Reply to: