pppd doesn't authenticate
Antonio-Blasco Bonito (bonito@unipi.it)
Wed, 04 Nov 1998 16:12:15 +0100
On 30-Oct-98 Devin Redlich wrote:
> I'd either:
>
> -add the "login" option to that there list of options, then configure the
> /etc/ppp/pap-secrets file to authenticate from the /etc/passwd file (man
> pppd will tell you how to do that). Some versions of pppd allow you to
> just delete the pap-secrets file, others make you put in a wildcard entry.
>
Adding the login options with this /etc/ppp/pap-secrets:
# Secrets for authentication using PAP
# client server secret IP addresses
* * ""
gives
Nov 4 16:01:17 cuori pppd[3540]: pppd 2.3.3 started by a_ppp, uid 0
Nov 4 16:01:17 cuori pppd[3540]: Using interface ppp0
Nov 4 16:01:17 cuori pppd[3540]: Connect: ppp0 <--> /dev/ttyS0
Nov 4 16:01:20 cuori pppd[3540]: PAP authentication failure for blasco
Nov 4 16:01:20 cuori pppd[3540]: Connection terminated.
and without /etc/ppp/pap-secrets gives
Nov 4 16:03:57 cuori pppd[3548]: pppd 2.3.3 started by a_ppp, uid 0
Nov 4 16:03:57 cuori pppd[3548]: Using interface ppp0
Nov 4 16:03:57 cuori pppd[3548]: Connect: ppp0 <--> /dev/ttyS0
Nov 4 16:04:00 cuori pppd[3548]: Can't open PAP password file /etc/ppp/pap-secr
ets: No such file or directory
Nov 4 16:04:00 cuori pppd[3548]: Connection terminated.
> or
>
> -add each user to the /etc/ppp/pap-secrets file.
without the login option I get
Nov 4 15:47:35 cuori pppd[3003]: peer authentication required but no suitable s
ecret(s) found
Nov 4 15:47:35 cuori pppd[3003]: for authenticating any peer to us (cuori.cnuce
.cnr.it)
>
> Once you've done this, you'll be closer to working, anyway.
>
>
>
>
>
> __
> Devin Redlich
> devin@pctc.com
---------- ----------
Antonio-Blasco Bonito E-Mail: bonito@unipi.it
Centro SerRA - Universita' di Pisa A.Bonito@cnuce.cnr.it
CNUCE - Istituto del CNR Tel: +39-50-24066<pause>47
Via S. Maria, 36 Tel: +39 (50) 593246
I-56126 PISA Italy Fax: +39 (50) 904052
---------- ----------