Can you pl. explain me the below line from your while...do loop. if ifconfig ppp$iface > /dev/null 2>&1
Rgds, George > On Monday 04 May 2009, [email protected] wrote: >> Hi Raju, >> >> The equipment terminating the 2 Internet lines are DSL modem/router. > > Just put both routers in bridge mode and run PPPoE on a Linux server > then. The script would be something like this (may need tweaking): > > while : > do > for iface in 0 1 > do > if ifconfig ppp$iface > /dev/null 2>&1 > then > /sbin/route delete default > /sbin/route add default dev ppp$iface > fi > done > done > >> I am planning to set up UNTANGLE as the gateway to the Internet. Is >> it possible to set more the one Internet line on UNTANGLE. > > Sorry, no clue what untangle is. > >> Can you tell me the script that will check the link status every >> minute and sets the default route to the link which is up. > > Regards, > > -- Raju > -- > Raj Mathur [email protected] http://kandalaya.org/ > GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F > PsyTrance & Chill: http://schizoid.in/ || It is the mind that moves > -- > http://mm.glug-bom.org/mailman/listinfo/linuxers > -- http://mm.glug-bom.org/mailman/listinfo/linuxers

