On Sat, 27 Mar 2010 13:07:49 +0100, 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 It runs fine here. Just wait a few (20?) seconds. sm01@stt008:~/Desktop$ time ./test.sh NO INTERNET CONNECTION real 0m20.021s user 0m0.004s sys 0m0.012s Greetings, -- Camaleón