PDA

View Full Version : Best way to do fc3 dial on demand


g14
2004-12-31, 01:48 PM CST
I would like to setup dial on demand for my parents desktop computer so that when they click on firefox or evolution, the computer dials up and connects to the internet. I added the Earthlink connection information via system-config-network and set it to start the connection on boot.

I opened up /etc/sysconfig/network-scripts/ifcfg-Earthlink in trusty ol vi and changed DEMAND=no to DEMAND=yes

I used system-control-network to activate the Earthlink network connection and it instantly came up without dialing the phone. Next, I clicked on firefox and the computer started dialing the internet just like I wanted. After I was done using the internet, I had to disconnect and the only (mom-proof) way is via a launcher I made to system-control-network on the desktop and clicking deactivate ppp0.

Here is the problem... I need to disconnect from the internet to hangup the phonelines without deactivating ppp0. This way, dial on demand will work like it does using Internet Explorer on Windows. I just recently switched my parents over to fc3 so they would quit complaining about virii and spyware.

radu5er
2004-12-31, 03:02 PM CST
Open up /etc/sysconfig/network-scripts/ifcfg-Earthlink again and set the:

ONBOOT=yes

This will start the pppd daemon but won't begin dialing because DEMAND is set to yes.

You might also consider setting the IDLETIMEOUT to a value that is appropriate for your usage so the connection is dropped whenever there is no traffic for a period of time ( 60 = 1 minute). Also RETRYTIMEOUT will set the time before a dropped connection is retried.

aaronhunter
2005-08-01, 02:40 PM CDT
Ah I'm glad I found this topic .... I was wondering why DOD wasn't working for me ... I didn't realize that when DOD is on and you Activate the card thru system-config-network it doesn't cause it to immediately dial ;)