[SLUG] monitor IP address

2010-09-10 Thread james
Hi
I've changed ISP to iinet and I now have a dynamic IP.
I use a router/adsl modem.
Just brainstorming in case I've missed the obvious. I need to monitor my IP 
given to the router.
Any ideas anyone please

My first idea is to have the router log remotely, monitor the log, and surely 
there will be some IP and IP changed info.

Thanks
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] monitor IP address

2010-09-10 Thread Amos Shapira
On 11 September 2010 14:44, james  wrote:
> Hi
> I've changed ISP to iinet and I now have a dynamic IP.
> I use a router/adsl modem.
> Just brainstorming in case I've missed the obvious. I need to monitor my IP
> given to the router.

What do you need it for? Maybe the context will let us give more useful answers.

> Any ideas anyone please
>
> My first idea is to have the router log remotely, monitor the log, and surely
> there will be some IP and IP changed info.

How about whatismyip.org? (as opposed to .com, which gives a larger
and more complex page):

$ wget -q -O - http://whatismyip.org/
124.149.188.8

--Amos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] monitor IP address

2010-09-10 Thread james
On Saturday 11 September 2010 13:20:18 you wrote:
> wget -q -O - http://whatismyip.org/

Amos thanks, that is exactly what I was looking for.

I want to be able to access my server with it's new dynamic IP
Having opined recently that having a static IP made life much easier I need to 
admit that using noip was dead simple 
http://www.no-ip.com/

James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] monitor IP address

2010-09-10 Thread Daniel Pittman
Amos Shapira  writes:
> On 11 September 2010 14:44, james  wrote:

>> I've changed ISP to iinet and I now have a dynamic IP.  I use a router/adsl
>> modem.  Just brainstorming in case I've missed the obvious. I need to
>> monitor my IP given to the router.
>
> What do you need it for? Maybe the context will let us give more useful
> answers.

*nod* FWIW, there are two reasons this usually comes up in my experience: the
first is general interest, for which I would also recommend "whatismyip", or
just logging in to the modem and letting it tell you.

The second is running services, for which I highly recommend using any one of
the dynamic DNS update services that pretty much every ADSL modem has a
built-in client for these days.  That way the modem can take care of all the
hard work for you, and you just sit back and use the DNS name.

(Don't run an SMTP server on a dynamic IP, though.  It is a really bad and
 painful way to discover how much lost and misdirected email sucks, since
 I pretty much promise that the one time you are *depending* on that email
 getting through your IP changes and someone else with an SMTP server gets the
 address, then sends back a 5XX to your correspondent.)

>
>> My first idea is to have the router log remotely, monitor the log, and
>> surely there will be some IP and IP changed info.
>
> How about whatismyip.org? (as opposed to .com, which gives a larger and more
> complex page):

I would just script getting it out of the modem, if the dynamic DNS option
wasn't satisfactory.  Much lower overhead, and zero cost to both you and the
International transit links. :)

Daniel
-- 
✣ Daniel Pittman✉ dan...@rimspace.net☎ +61 401 155 707
   ♽ made with 100 percent post-consumer electrons
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] monitor IP address

2010-09-10 Thread Amos Shapira
On 11 September 2010 15:45, james  wrote:
> On Saturday 11 September 2010 13:20:18 you wrote:
>> wget -q -O - http://whatismyip.org/
>
> Amos thanks, that is exactly what I was looking for.
>
> I want to be able to access my server with it's new dynamic IP
> Having opined recently that having a static IP made life much easier I need to
> admit that using noip was dead simple
> http://www.no-ip.com/

Yes, no-ip, dyndns and friends are very simple. Many modems also
support them so they'll get registered automatically by the modem.

Cheers,

--Amos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html