[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xisp and mutiple ISPs



>The multiple isp problem remains an unresolved issue.

Being new to Linux, I haven't learned bash or any of the scripting shells.
One of the things I want to do, is have a timeout in my ppp0 dial up, where
as if it fails on one isp, say 5 times in a row, it dials the second isp
and restarts the script.

The logic would be: (in a made up language)

loop=0
:start
dial ips1
loop++
if (valid isp1) goto end
if loop <=5 goto start
loop=0
:start2
dial ips2
loop++
if (valid isp2) goto end
if loop <=5 goto start2
goto start
:end
ipchains yada yada
ipfwadm yada yada

I do this in NT currently with no issues - but I have a program to do so.
At the rate I'm going, give me a month to have something that works for you
guys to lobotomize.  I bougt several books on shell commands.  Its my next
project after figuring out the "ipportfw" command



Frederic Breitwieser
Bridgeport, CT 06606

Homebrew Automotive Website:
http://www.xephic.dynip.com/

Wanted - RWD Buick Flywheel that fits the 3.8L / 4.1L!
-


Reply to: