Re: Diald doesn't do proper pap athentication
John C. Ellingboe wrote:
> Hello,
>
> I am trying to setup Diald on my Debian Linux system. The system dials
> my provider and connects up but refuses to do pap authentication. The
> pon/poff works properly and does do pap authentication.
>
> I used the same dial script used with pon as suggested in the diald
> example documentation. I also used the dynamic local address and ppp
> example from the same document for my /etc/diald.options file.
>
> /etc/diald.options
>
> mode ppp
> connect "/usr/sbin/chat -f /etc/chatscripts/provider"
> device /dev/ttyS0
> speed 115200
> modem
> lock
> crtscts
> local 192.168.0.100
> remote 192.168.0.101
> dynamic
> defaultroute
> include /etc/diald/standard.filter
>
> /etc/chatscripts/provider
>
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT VOICE
> ABORT "NO DIALTONE"
> ABORT "NO ANSWER"
> "" ATZ
> OK ATDT5719055
> CONNECT \d\c
>
> plog output
> --lines lost---
> May 10 06:02:33 dialgate pppd[253]: pppd 2.3.5 started by root, uid 0
> May 10 06:02:33 dialgate pppd[253]: Using interface ppp0
> May 10 06:02:33 dialgate pppd[253]: Connect: ppp0 <--> /dev/ttyS0
> May 10 06:02:34 dialgate pppd[253]: sent [LCP ConfReq id=0x1 <magic
> 0xf7df> <pcomp> <accomp>]
> May 10 06:02:34 dialgate pppd[253]: rcvd [LCP ConfReq id=0x1 <magic
> 0xf7df> <pcomp> <accomp>]
> May 10 06:02:35 dialgate pppd[253]: rcvd [LCP ConfReq id=0xb1 <asyncmap
> 0x0000> <auth pap> <magic 0xaea5b6b7> <pcomp> <accomp>
> May 10 06:02:35 dialgate pppd[253]: sent [PAP AuthReq id=0x1
> user="dialgate" password=""]
> ^^^^^^^^
> Where does diald get this as the user? Where are the pap secrets for
> diald located? This is not what is in /etc/ppp/pap-secrets and I
> haven't found what file contains the secrets for diald.
>
> May 10 06:02:36 dialgate pppd[253]: ---------------
> ------------pap authentication failed
> ---------------------------------
> ------------Connection terminated.
The user passed in the PAP AuthReq is taken from options passed to pppd. pap-secrets
just tells pppd what secret to use for what user. You can add the following to your
/etc/diald/diald.options file:
pppd-options user <your PAP username>
--
Jens B. Jorgensen
jjorgens@bdsinc.com
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: