pppd doesn't authenticate
Antonio-Blasco Bonito (bonito@unipi.it)
Fri, 30 Oct 1998 15:11:34 +0100
I'm trying to configure my SPARCclassic with RH 5.1 as a small access server.
I'm using mgetty and pppd.
But I have to use login/password authentication and pppd run as user's shell
which I don't like very much...
I cannot use AutoPPP because pppd auhentication doesn't work.
Example: trying with another linux calling and using pap authentication I get
the following:
Oct 30 14:30:23 cuori kernel: CSLIP: code copyright 1989 Regents of the Universi
ty of California
Oct 30 14:30:23 cuori kernel: PPP: version 2.2.0 (dynamic channel allocation)
Oct 30 14:30:23 cuori kernel: PPP Dynamic channel allocation code copyright 1995
Caldera, Inc.
Oct 30 14:30:23 cuori kernel: PPP line discipline registered.
Oct 30 14:30:23 cuori kernel: registered device ppp0
Oct 30 14:30:23 cuori pppd[343]: peer authentication required but no suitable se
cret(s) found
Oct 30 14:30:23 cuori pppd[343]: for authenticating any peer to us (cuori.cnuce.
cnr.it)
Oct 30 14:32:22 cuori kernel: PPP: ppp line discipline successfully unregistered
Here are the relevant parts of my configuration.
/usr/local/etc/mgetty+sendfax/login.config:
/AutoPPP/ - a_ppp /usr/sbin/pppd auth +pap -chap modem crtscts lock
/etc/ppp/options:
debug -detach
/etc/ppp/options.ttyS0:
38400 ipparam ppp0 proxyarp :131.114.192.46 netmask 255.255.255.255 ms-dns 131.1
14.192.100
/etc/ppp/pap-secrets:
# Secrets for authentication using PAP
# client server secret IP addresses
user cuori.cnuce.cnr.it "password"
Anybody could help me?
---------- ----------
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
---------- ----------