Re: Help! mgetty ppp won't play together

1999-09-16 Thread Bob Billson
John Pearson [EMAIL PROTECTED] wrote:
 I have absolutely no idea why, but my slink boxes with ppp-pam
 installed require an extra field in pap-secrets for dial-in PPP
 to work, like so:
  richmolec3* *
 
 If you still have problems after changing molec3 to your hostname,
 try that.

hmm... That's odd.  I'll give it a try and see what happens.

 To any PPP experts out there who know what I'm talking about,
 please tell me what this extra field signifies so I can sleep 
 at night...

Indeed.  Inquirer minds want to know. :-)

 bob
-- 
bob billson   email: [EMAIL PROTECTED]   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!


Re: Help! mgetty ppp won't play together

1999-09-16 Thread Bob Billson
Keith G. Murphy [EMAIL PROTECTED] wrote:
  stats   molec3  * -
  ^^
  Is this column supposed to be the local machine name?  I can't find it
  documented anywhere.
 
 Yes, it is.  It does seem to be very poorly documented.  I think once
 you fix that, you'll be in business.

Okay, that makes sense.  I tried it.  Something still is right yet.  pppd on
the remote machine is still complaining about not finding any secret
(password).

Maybe I'm not starting ppp on my end correctly?  I'm using diald.  In
diald's connect script, I have it starting up ppp immediately after it
goes through it's login/password passing.  Or should I have ppp start up
as soon as the connect script gets the CONNECT from the modem and let
mgetty AutoPP deal with the login/password?  If I do it that way, is
mgetty smart enough to continue with the usual login/password prompts
if it doesn't detect ppp running on the caller?
-- 
bob billson   email: [EMAIL PROTECTED]   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!


Re: Help! mgetty ppp won't play together

1999-09-16 Thread Bob Billson
Marc Mongeon [EMAIL PROTECTED] wrote:
 My /etc/ppp/options also contains the following options:
 
 +pap
 -chap

Don't have that in mine, but it's worth a try. :-)

  bob
-- 
bob billson   email: [EMAIL PROTECTED]   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!


Re: Help! mgetty ppp won't play together

1999-09-16 Thread Keith G. Murphy
Bob Billson wrote:
 
 Keith G. Murphy [EMAIL PROTECTED] wrote:
   stats   molec3  * -
   ^^
   Is this column supposed to be the local machine name?  I can't find it
   documented anywhere.
 
  Yes, it is.  It does seem to be very poorly documented.  I think once
  you fix that, you'll be in business.
 
 Okay, that makes sense.  I tried it.  Something still is right yet.  pppd on
 the remote machine is still complaining about not finding any secret
 (password).
 
 Maybe I'm not starting ppp on my end correctly?  I'm using diald.  In
 diald's connect script, I have it starting up ppp immediately after it
 goes through it's login/password passing.  Or should I have ppp start up
 as soon as the connect script gets the CONNECT from the modem and let
 mgetty AutoPP deal with the login/password?  If I do it that way, is
 mgetty smart enough to continue with the usual login/password prompts
 if it doesn't detect ppp running on the caller?

Huh?  diald is for dial*out*s.  Don't need it for this.  My advice is to
kill it off or deinstall it entirely, until you get the dialins working
properly.  If you do want to use it after the dialins work, be sure to
use the proper lock options for both diald and mgetty, so they won't
try to use the serial port at the same time.


Re: Help! mgetty ppp won't play together

1999-09-14 Thread John Pearson
On Mon, Sep 13, 1999 at 10:02:56AM -0500, Keith G. Murphy wrote
 Bob Billson wrote:
  
 [cut]
  
  # Every regular user can use PPP and has to use passwords from /etc/passwd
  #*  molec3*
  richmolec3*--the only user allowed to run ppp
 Substitute a real username and your machine name here.
  

I have absolutely no idea why, but my slink boxes with ppp-pam
installed require an extra field in pap-secrets for dial-in PPP
to work, like so:
 richmolec3* *

If you still have problems after changing molec3 to your hostname,
try that.

To any PPP experts out there who know what I'm talking about,
please tell me what this extra field signifies so I can sleep 
at night...


Bye for now,

John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Oh - I - you know - my job is to fear everything. - Bill Gates in Denmark


Re: Help! mgetty ppp won't play together

1999-09-13 Thread Keith G. Murphy
Bob Billson wrote:
 
[cut]
 
 # Every regular user can use PPP and has to use passwords from /etc/passwd
 #*  molec3*
 richmolec3*--the only user allowed to run ppp
Substitute a real username and your machine name here.
 
 # 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  * -
 rootmolec3  * -
 support molec3  * -
 stats   molec3  * -
 
 ^^
 Is this column supposed to be the local machine name?  I can't find it
 documented anywhere.

Yes, it is.  It does seem to be very poorly documented.  I think once
you fix that, you'll be in business.
 
 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).
 
Yes, I think that used to work, but they tightened up on it.  :-)


Re: Help! mgetty ppp won't play together

1999-09-13 Thread Marc Mongeon
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 [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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*
richmolec3*--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  * -
rootmolec3  * -
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: [EMAIL PROTECTED]   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 [EMAIL PROTECTED]  /dev/null



Help! mgetty ppp won't play together

1999-09-11 Thread Bob Billson
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*
richmolec3*--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  * -
rootmolec3  * -
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: [EMAIL PROTECTED]   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!