[CentOS] "internet connection tester script"

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


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



More information about the CentOS mailing list