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.
|