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

Re: Help! mgetty & ppp won't play together



Bob:

My /etc/ppp/options also contains the following options:

+pap
-chap

Which requires the peer to use PAP and prevents it from using CHAP
to authenticate.  I don't know how pppd handles defaults when these
options aren't present.  Adding the "debug" option in the options file
will cause authentication information to be logged to /var/log/ppp.log,
which can help in troubleshooting.

Marc

----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"


>>> Bob Billson <bob@goleader.com> 09/10/99 07:58PM >>>
Good evening all... I'm trying to set up a friend's slink box do allow a
dial-up ppp login.  pppd doesnt' want to cooperate.  I'm going nuts
to figure what I overlooked.

I'm trying to use mgetty's AutoPPP feature.  I have the AutoPPP line
uncommented in /etc/mgetty/login.config.  I can log in, but ppp won't start.
It complains:

/usr/sbin/pppd: The remote system is required to authenticate itself but I
/usr/sbin/pppd: couldn't find any secret (password) which would let it use an IP address.

If I comment out the /AutoPPP/ line in /etc/mgetty/login.config, I can log
as that user but ppp isn't running.

Here are the relevant config files:

/etc/ppp/options  (owned: root.root   permissions: 644)
----------------
asyncmap 0
netmask 255.255.255.0
proxyarp
idle 300
mru 1500
auth                     <---I've tried both with and without this line


/etc/ppp/options.ttyS1 (owned: root.root  permissions: 644)
----------------------
192.168.128.1:192.168.128.17


/etc/pap-secrets (owned: root.root  permissions: 600)  (editted slightly)
----------------
# INBOUND connections

# Every regular user can use PPP and has to use passwords from /etc/passwd
#*	molec3	""	*
rich	molec3	""	*            <--the only user allowed to run ppp

# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
# other accounts that should not be able to use pppd!
guest	molec3	"*"	-
master	molec3	"*"	-
root	molec3	"*"	-
support	molec3	"*"	-
stats	molec3	"*"	-

        ^^^^^^
Is this column supposed to be the local machine name?  I can't find it
documented anywhere.

I heard that sometimes AutoPPP doesn't work right and if you remove the
/etc/ppp/pap-secrets file altogether, it works.  I tried doing that.  ppp
continues complaining about not finding any secret (password).

Does someone see what I am overlooking?  Thanks for the help.

                 bob
-- 
        bob billson       email: bob@goleader.com       ham: kc2wz
   (\                                /)
  {|||8-   beekeeper ...3 years   -8|||}     Linux!  Because there is
   (/    60,000 head of livestock    \)              no place like $HOME.
"CIA terrorist NSA bomb spy KGB drugs nuclear agent war GCHQ... Hi Echelon!"


-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: