Testing to find out if a cable or DSL modem is online or not

Robert Brockway robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org
Fri Apr 30 17:35:12 UTC 2004


On Fri, 30 Apr 2004, Lennart Sorensen wrote:

> > I'd like to be able to determine which of these have taken place. Do you
> > know what tests can be carried out to determine if the cable or DSL
> > modem is in operation if i have the (hopefully) the current IP address
> > of the modem ?
>
> The modem does generally not have an IP, it just acts as a bridge
> device.  So no there is no way to test for that at least not remotely.

This is true, but the presence of the Internet link itself implies that
the cable/adsl modem is up[1].  So I would say the answer to the question
is "ping"[2].

[1] Assuming a static address.  If it is dynamic someone else might have
grabbed it if your site is down.

[2] Unless the original poster really wants to try to detect the presence
of the modem without an IP being allocated on the interface.

Rob

-- 
Robert Brockway B.Sc. email: robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org, rbrockway-cFo9iiqjkw8eIZ0/mPfg9Q at public.gmane.org
Linux counter project ID #16440 (http://counter.li.org)
"The earth is but one country and mankind its citizens" -Baha'u'llah
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list