Results 1 to 4 of 4
my broadband connection often drops because it quite a poor provider. I would like to automate the process of reconnecting the line every time it drops without having to type ...
- 01-08-2007 #1Just Joined!
- Join Date
- May 2006
- Posts
- 24
permanent connection to the net with ppp
my broadband connection often drops because it quite a poor provider. I would like to automate the process of reconnecting the line every time it drops without having to type anything.
From the tdlp site http://www.tldp.org/HOWTO/NET3-4-HOWTO-7.html i have part of the solution. But this is based on me issuing a pppd command in order to connect.
But on my ubuntu system, to connect to the internet if the connection is dropped i issue the command
pppd call speedtch(speedtch being the file location for the router firmware)
How can i automate it so that all i have to do is type pppd at the command prompt using root privileges ??? and this would then allow me to automate reconnection to the broadband server.
the way i set up my broadband connection is detailed at
http://www.linux-usb.org/SpeedTouch/ubuntu/index.html
anyone??
- 01-09-2007 #2
Hey, Enabling persist option should solve your problem...
If the persist options is eneabled, whenever your link goes down, pppd will start redialling automatically..
Cheers
- 01-09-2007 #3
u could use a simple shell script, but i don't see where the benifit is. i wonder if ifplugd could manage pppd. i use ifplugd to manage hotplugging of my ethernet connection.
there is some information about using ifplugd or hotplug to handle hotplugging the network, according to http://www.debian.org/doc/manuals/re...ateway.en.html ppp is considered a network connection so these packages might help you. i never have to actually do anything on the command line when the network comes up. look at sections 10.8.2 and 10.8.3
- 01-10-2007 #4Just Joined!
- Join Date
- May 2006
- Posts
- 24
thanks for the advice, activating the persist option seems to have worked a treat. cheers


Reply With Quote
