sulfericacid has asked for the wisdom of the Perl Monks concerning the following question:
I want to detect whether or not my internet connection is active by more reliable means than pinging a list of known web sites and looking for a response. That's a little too basic for what I need. I want it to check for error responses as well (Running Windows 98 through LAN environment through a D-Link router for DSL). I want it to give errors like Windows offers "cable disconnected" to see if anyone disconnected my computer from the LAN while I am away and errors of that type. Are these errors detectable in Perl? Sometimes my LAN just dies (no one knows just why) so that'd be nice to have a custom error for incase all wires are connected and it still doesn't work.
I know it's a long shot but is something of this sort possible? To not just verify whether or not you're connected to the internet or not but check for errors given from the operating system?
I was thinking it might be possible to run this script on my web site via a chron job but would it be possible to detect my specific system on the network if we all share the same IP?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: checking internet connection
by Mr. Muskrat (Canon) on Feb 03, 2005 at 03:16 UTC | |
|
Re: checking internet connection
by machinecraig (Monk) on Feb 02, 2005 at 20:12 UTC | |
by Grygonos (Chaplain) on Feb 02, 2005 at 21:18 UTC | |
|
Re: checking internet connection
by Grygonos (Chaplain) on Feb 02, 2005 at 20:03 UTC |