getting IP address of router

Dave Bour dcbour-Uj1Tbf34OBsy5HIR1wJiBuOEVfOsBSGQ at public.gmane.org
Tue Feb 8 17:55:19 UTC 2005


Lennart et al
I've a page at my web site that returns both a heading with IP and body with IP too, if that helps. I use it for a couple of apps to get an IP, very easy to parse

http://www.desktopsolutioncenter.ca/readip.shtml

Help yourself if you want to use. There are likely hundreds of these out there that will read you your external IP back without anything else
D
Dave Bour
Desktop Solution Center
905.381.0077
dcbour at desktopsolutioncenter.ca

(Sent via Blackberry)

-----Original Message-----
From: owner-tlug at ss.org <owner-tlug at ss.org>
To: tlug at ss.org <tlug at ss.org>
Sent: Tue Feb 08 09:56:13 2005
Subject: Re: [TLUG]: getting IP address of router

On Mon, Feb 07, 2005 at 03:43:19PM -0500, jim ruxton wrote:
> Thanks Adam. I'm looking for a Linux solution and yes it is the internet
> IP address I'm looking for. I'd prefer a command or script rather than
> going to a website but thanks this is useful as a test.

Only someone outside receiving your connection and your router itself,
have any way to detect the ip you are using.  After all the router never
uses the outside IP when talking to you.  Writing a script to parse a
simple webpage is really rather simple for detecting it, although
simplest would be if the router had a webpage (or even a simple port you
could connect to) that just gave you the ip as a string.

Lennart Sorensen
--
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20050208/7dbc9cee/attachment.html>


More information about the Legacy mailing list