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.

I tried with another linux calling and using pap authentication I got
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"

----

I also tried with this line in /etc/ppp/pap-secrets:

user          *                       "password"

but pppd continues to complain:

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)

----

I tried to add the login option in
/usr/local/etc/mgetty+sendfax/login.config with this
/etc/ppp/pap-secrets:

# Secrets for authentication using PAP
# client        server                  secret          IP addresses
*               *                       ""

but I get

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 I get

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.

PLEASE HELP

----------                                                  ----------
Antonio-Blasco Bonito                    E-Mail: [EMAIL PROTECTED]
Centro SerRA - Universita' di Pisa                     [EMAIL PROTECTED]
CNUCE - Istituto del CNR           Tel: +39 (50) 593246 / 24066 ext 47
Via S. Maria, 36                                 Telex: 500371 CNUCE I
I-56126 PISA  Italy                               Fax: +39 (50) 904052
----------                                                  ----------

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to