Networking Forums

Networking Forums > Computer Networking > Linux Networking > ppp help!

Reply
 
 
K D
Guest
Posts: n/a

 
      01-31-2006, 05:52 AM
Hi

I have for the first time in a very long time found myself setting up dialup
internet access on a debain sarge box using kppp. I have it working when
logged on as root. When trying to log on as a user pppd dies (with very
little in the way of helpful information) right after about the time the
remote end is sending dynamically assigned ip address information after
successful user / pass negotiation. Its very likely to be a permissions
problem, what am I missing?

Thanks

K
 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      01-31-2006, 07:43 AM
K D wrote:
> Hi
>
> I have for the first time in a very long time found myself setting up dialup
> internet access on a debain sarge box using kppp. I have it working when
> logged on as root. When trying to log on as a user pppd dies (with very
> little in the way of helpful information) right after about the time the
> remote end is sending dynamically assigned ip address information after
> successful user / pass negotiation. Its very likely to be a permissions
> problem, what am I missing?
>
> Thanks
>
> K

Well, on my (Ubuntu) system, you need to belong to the "dip" group. pppd
runs SGID with group "dip".

Robert
 
Reply With Quote
 
K D
Guest
Posts: n/a

 
      01-31-2006, 08:32 AM
Robert Harris wrote:

> Well, on my (Ubuntu) system, you need to belong to the "dip" group. pppd
> runs SGID with group "dip".
>
> Robert


Thanks Robert, but I have this one correct as well as the config file
permissions, I am thinking it is something that pppd does to negotiate or
set the dynamically assigned ip address that uses something external that I
haven't thought of...

K

 
Reply With Quote
 
Robert Harris
Guest
Posts: n/a

 
      01-31-2006, 01:01 PM
K D wrote:
> Robert Harris wrote:
>
>> Well, on my (Ubuntu) system, you need to belong to the "dip" group. pppd
>> runs SGID with group "dip".
>>
>> Robert

>
> Thanks Robert, but I have this one correct as well as the config file
> permissions, I am thinking it is something that pppd does to negotiate or
> set the dynamically assigned ip address that uses something external that I
> haven't thought of...
>
> K
>

That is done through files in the directory /etc/ppp/ip-up.d/

Try setting debug on for pppd (put a "debug" line in the config file)
and look at the log.

Robert
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      01-31-2006, 08:14 PM
K D <(E-Mail Removed)> wrote:
> Hi


> I have for the first time in a very long time found myself setting
> up dialup internet access on a debain sarge box using kppp. I have
> it working when logged on as root. When trying to log on as a user
> pppd dies (with very little in the way of helpful information) right
> after about the time the remote end is sending dynamically assigned
> ip address information after successful user / pass negotiation.
> Its very likely to be a permissions problem, what am I missing?


Since pppd reached the IPCP negotiation stage, the problem might be
that the system already has a local route that includes the IP address
the peer requests. If this is the case then adding the pppd option
"noauth" in /etc/ppp/options should allow a normal user to complete
IPCP negotiations.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
/* On Linux be root, on Windows reboot.
-Josef Müllers */
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11