On Wed, May 31, 2006 at 11:04:29AM -0700, Joshua Penix wrote:
> Lan Barnes wrote:
> 
> >Cox (rhymes with "Cox") has been spontaneously switching my home IP
> >address recently. It locks me out to ssh.
> >
> >I want to use expect and lynx to write a script that logs into the
> >D-Link router as a browser does, navigates to the place where the WAN IP
> >address is shown, reads it, and sends me an email at work if it's
> >changed.
> 
> This isn't an answer to your lynx question (to that I'd say that cURL 
> may be the best way to script what you want), but I'll recommend another 
> solution to this problem - sign up for a DynDNS service.  I use and 
> recommend http://www.dyndns.com/services/dns/dyndns/
> 
> They will provide a free DNS name for your home connection.  You then 
> install a small software client 
> (http://www.dyndns.com/support/clients/unix.html) which sends any IP 
> changes to the DynDNS servers, which then in turn change the IP that 
> your DNS name points to.  You may even find that the D-Link router has a 
> built-in DynDNS client.  I know that some Linksys routers do, as do 
> firewall OSes like m0n0wall.
> 
> Then from work, you'll always be able to refer to a name like 
> 'lanbarnes.homeip.net', which will magically always point to the correct 
> IP no matter how hard Cox tries to screw you up.
> 

Thanks, Josh. I'll go that route ... maybe, if I can understand it. Need
to do research, but you've given me all I need to start.

-- 
Lan Barnes                    [EMAIL PROTECTED]
Linux Guy, SCM Specialist     858-354-0616
Tcl/Tk Enthusiast 


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to