Pages: [1]   Go Down
Author Topic: Get internet service provider or provider's IP adress?  (Read 499 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8684
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Montreal
Offline Offline
Faraday Member
**
Karma: 27
Posts: 2566
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think you can use "whois" utility, there are free on-line resources:
http://www.ip-adress.com/ip_tracer/95.215.62.26
http://www.wipmania.com/
Logged

Piemonte, Italia
Offline Offline
Jr. Member
**
Karma: 1
Posts: 65
Just a brick in the wall
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: