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

Help! mgetty & ppp won't play together



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!"


Reply to: