Ian Thomas wrote:

Don’t ask why …

What would be the best way to programmatically detect the modem in use at any particular time?

For the sites under consideration, each modem (different makes) has a logon ip of 10.1.1.1 (it’s one of the common addresses that the manufacturers use), so I’m thinking that a method might be to start a browser process (or open a web page with that address in a form), and look for some modem-specific text there).

Or is there a much simpler method not dependent on ad hoc testing of modems?


Hi Ian,

Not sure what you are after, BUT:

You could get the gateway address, and using that get the MAC address.

Each Modem should have a different MAC address, so you can determine the one in use from that.

--
Les Hughes
[email protected]


Reply via email to