kwan, Thanks! I've got several choices now ;-)
Randy Kramer [EMAIL PROTECTED] wrote: > Here's a script that I use to check connectivity: > > > #!/bin/bash > STATUS=`ping -c 2 -q 11.22.33.44 2>/dev/null` > CODE=$? > > if [ $CODE -gt 0 ]; then > echo Link is down. > else > echo Link is up. > fi > > > Replace the 11.22.33.44 with a host on the internet. I use the > nameserver of the ISP but you can use any reliable address. > This script segment is part of a larger one to reboot my DSL modem via > X10, but you can modify it for dialup. There are also other ways of > dialing on demand such as "diald" that may be more effective.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com