Go Down

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



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?



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: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp



Not sure I understand the question, but maybe this can help: http://www.whatismyip.com/faq/automation.asp.
Make your Sega MegaDrive/Genesis region-free with Arduino! https://goo.gl/X7zBcq

Guida rapida a ESP8266: https://goo.gl/kzh62E

Go Up