Networking Forums

Networking Forums > Computer Networking > Linux Networking > pppd demand problems

Reply
Thread Tools Display Modes

pppd demand problems

 
 
Blah
Guest
Posts: n/a

 
      07-26-2003, 10:15 AM
Hi!

I've got problems using Redhat 9 as a router with DSL-connection on demand.
I have to start "ifup ppp0" or "adsl-connect" manually on my box so my
network machines can surf the web. After that, everything works fine.

I´ve successfully completed "adsl-setup" with my desired options.

On my former SuSE Linux-Box it was possible to trigger an
internet-connection via a network client. Is there another configuration
file except ifcfg-ppp0 where this DEMAND=xxx parameter can be set? If i put
this parameter in my ifcfg-ppp0 i can't establish a connection.

How can I make Redhat listening for connection requests? I neither want to
be connected all time nor starting pppoe manually. I think pppd should
started as service in "background".

I wrote "demand" and "/bin/true" in my ppp-options-file and I've put
"adsl-connect" in my rc.local to have pppd startet and listening for
requests at boottime, but then I can´t log in to my RH-box because it isn't
finally booting to the login-screen. There must be another way...

I´ve hardly searched google and my documentation without success. Any help
would be appreciated.

Kind regards, Steven


 
Reply With Quote
 
 
 
 
Ari Grey
Guest
Posts: n/a

 
      07-29-2003, 03:45 AM
Blah <(E-Mail Removed)> wrote:
> Hi!


> I've got problems using Redhat 9 as a router with DSL-connection on demand.
> I have to start "ifup ppp0" or "adsl-connect" manually on my box so my
> network machines can surf the web. After that, everything works fine.


> I´ve successfully completed "adsl-setup" with my desired options.


> On my former SuSE Linux-Box it was possible to trigger an
> internet-connection via a network client. Is there another configuration
> file except ifcfg-ppp0 where this DEMAND=xxx parameter can be set? If i put
> this parameter in my ifcfg-ppp0 i can't establish a connection.


> How can I make Redhat listening for connection requests? I neither want to
> be connected all time nor starting pppoe manually. I think pppd should
> started as service in "background".


> I wrote "demand" and "/bin/true" in my ppp-options-file and I've put
> "adsl-connect" in my rc.local to have pppd startet and listening for
> requests at boottime, but then I can´t log in to my RH-box because it isn't
> finally booting to the login-screen. There must be another way...


> I´ve hardly searched google and my documentation without success. Any help
> would be appreciated.


> Kind regards, Steven


Put these options in /etc/ppp/options file, aside from whatever other
options you have to connect.

demand
10.0.0.1:10.0.0.2
ipcp-accept-local
ipcp-accept-remote
idle 900

Start the pppd daemon from the command line, it will stay in memory.
Any packets sent to the Redhat box should now pull up the modem and
any idle period longer than 15 minutes will terminate the connection.

good luck.

 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2) Trevor Linux Networking 4 04-22-2009 06:31 PM
Problems after creating demand dial up connection in RRAS George Windows Networking 8 03-14-2007 01:03 AM
Problems with mgetty/pppd and more than one modem draoi Linux Networking 0 04-02-2004 03:33 PM
pppd demand dialing in old kernels Frank Stutzman Linux Networking 2 02-14-2004 03:39 AM
PPPD server routing problem? Mandrake/mgetty/pppd/D-link router martin02 Linux Networking 17 10-06-2003 03:06 PM



1 2 3 4 5 6 7 8 9 10 11