David <[EMAIL PROTECTED]> writes: > I'm using a cron script every minute to ping outside my network. The > address I'm using is one given to me for this purpose by my new provider > (Activ/Powertel).
I would use fping for this sort of test. If fping wasn't available, I'd use more than 1 ping to test the link. If you're worried about the link quality, look for increasing errors on the interface, and even some sort of tcp analyser to count the number of retransmissions. If you were dropping lots of packets, you'd notice a drop in throughput. fping sends one ping, waits 500ms for a reply, if it receives a reply, the host is alive and it exits true, if it doesn't get a reply it sends another ping and waits 750ms for a reply, etc. By default if it gets no reply from 3 pings, the host is down and exits false. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
