My ISP sometimes has short network outages (2-3 minutes). After such an
outage, I have to manually restart networking to get my router back online.

Is there a simple and reliable way to test the status of a connection? a
script that can runs constantly, supervised by daemontools, and restarts
networking after some waiting period is what i am looking for.

ping somehow does not work best. the host that i am trying to ping could go
offline, dns could fail and constantly pinging some other host seems not
particularly friendly to me.

i tried also ip addr show | grep eth0 | grep inet, but this also did not
really work out, because routing could fail.

one could always test all conditions, but  before i do this, i would like to
ask the list if there is a more elegant way.

regards,

kiril


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to