[CentOS] "internet connection tester script"

Sat Mar 27 15:11:28 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

Jozsef Vadkan wrote:
> Why doesn't my "internet-connection" script work?
> 
> When I plug the ethcable out, it just waits...and waits...and waits...
> 
> The script: http://pastebin.com/AE9U1qdL

DNS lookups take a long time to time out and fail.  You could try a ping to your 
default gateway's IP address first.

-- 
   Les Mikesell
    lesmikesell at gmail.com