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

Re: Haunted PPP daemon.....



On Sun, 1 Nov 1998, Klaus Lepschi wrote:

> As far as I know there is a little bug in the example scripts
> for <ppp 2.3.5> insofar it does not mention a necessaray
> parameter that is needed when <pppd> is called. To connect you
> to your service provider <pppd> needs to know your <login name>.
> This can be set via an entry in <etc/ppp/options> ("name
> <login>" or "user <login>"). Alternatively this setting can be
> made on the pppd commandline in <user/bin/ppp-on>.

	Thanks for the suggestion. I did have this in the ppp options on
my desktop RH4.2 machine, just didn't think it made much of a difference
(since the user name was wrong for the connection it was using). 
	Though adding this option did not help the situtation, I got the
same behavior. After a few more hours of hacking away and trying to read
lcp debug messages I think I figured it out. DO NOT specify the
authentication method to use. Simply set in ppp options the username that
is going to be used in the authentication (via the user option), and then
put the username/password pair in either pap-secrets or chap-secrets as
needed. Then just let ppp loose and let it dailup as normal, and let it
figure out with the prompting for the remote end which authentication
method is wanted. It gets everything sorted out automagically. 
	This maybe of course a function of my ISP (Worldnet ATT and my
local university). Anyway, I manged to find the solution through the use
of the pppconfig program and reverse engineering why thier setup worked
and my hand craft one didn't. They never specified what authentication
protocal to be used (chap or pap), while I was. 
	Well, it is all working now. Thanks for you suggestion Klaus, it
lead me in the right direction towards the solution. Now on to getting a
firewall going... does it ever end? :)

	PS. If any one wants any more specific details, just point where
and I will expand.

----------------------------------------------------------------------------
|   "For to me to live is Christ, and to die is gain."                     |
|                                            --- Philippians 1:21 (KJV)    |
----------------------------------------------------------------------------
|  Ryan Kirkpatrick  |  Boulder, Colorado  | rkirkpat@nag.cs.colorado.edu  |
----------------------------------------------------------------------------
|               http://www-ugrad.cs.colorado.edu/~rkirkpat/                |
----------------------------------------------------------------------------


Reply to: