On Tue, Feb 27, 2007 at 08:34:09PM +0100, Johann Geyer wrote:
> I am using a wireless D-Link to my router using a rt25usb driver.
> Placing the initiation upon linux startup will not initiate correctly.
> Are there any sugested procedures?
Three methods that may help with designing a procedure:
1. have the script that starts the tunnel retry if it fails, using
shell logic such as "until pon tunnel updetach; do sleep 2; done",
2. have the script check that the internet is accessible before it
starts, using whatever means works in the circumstances, such as
ifconfig, grep /etc/resolv.conf, or ping. For example: "until ping -c 1
10.0.0.138; do sleep 1; done; pon tunnel updetach",
3. have the script executed by post-up scripts owned by the network
interface that is needed, so that once the system has finished raising
this network interface the tunnel is started. On Debian or Ubuntu, this
means adding an "up" script in /etc/network/interfaces, but I don't know
exactly how to do it on Fedora. Look for if-up.local.
--
James Cameron
http://quozl.netrek.org/HP Open Source, Volunteer
http://opensource.hp.com/PPTP Client Project, Release Engineer
http://pptpclient.sourceforge.net/-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
pptpclient-devel mailing list
pptpclient-devel@...
https://lists.sourceforge.net/lists/listinfo/pptpclient-devel