I'm looking for a reliable method for detecting that a network connection is active. I'm using wvdial for modem connections and that seems to work reliably (wvdial goes away when the modem carrier is lost), but I can't seem to handle someone pulling the LAN cable on an ethernet connection. Anyone get around this before? It must be possible from a hardware perspective since Windows 2000/XP will display a message if the LAN cable is disconnected. Is a similar capability available in Linux? A ping test to the gateway has proven to be somewhat unreliable as packet loss occurs even when no other problems are evident. I'm considering trying a DHCP lookup on a regular basis but I'm not sure if that will be much more reliable. Any suggestions welcome (perl examples are especially welcome). David Christensen - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html