Go Down

Topic: Get internet service provider or provider's IP adress? (Read 593 times) previous topic - next topic

vital_schrooten

Hello,

I want my arduino uno+ethernet shield to find my enternet service provider. (for a fast visual check to know if 3G or wired internet active)
Does anyone have an idea how to get the internet service provider name or IP adress of the service provider?

Thanx!

johnwasser

One way I can think of to get an idea of which ISP you are going through is to do a short traceroute.  Basically a "ping" with a low Time To Live (hops).  When the TTL runs out the machine your packet got to should return an error packet.  The first machine will be your home router.  The second or third machine will be your neighborhood router.

If you have a server under your control you can have it echo the IP address of clients that connect.  That would be the most reliable way to determine the NAT-translated IP address of your client.

If you don't mind parsing HTML there are web pages that will display your IP address.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Magician


SukkoPera

Not sure I understand the question, but maybe this can help: http://www.whatismyip.com/faq/automation.asp.

Go Up