Re: Script for IP address change
On Wed, 2003-08-20 at 11:48, William Crowshaw wrote:
> This [Q] is not debian specific, but you guys are more
> knowledgeable than normal linux user groups that I
> thought I would ask it here. My machine's external IP
> address is configured via DHCP from my cable modem
> service provider. Any suggestions on how to write a
> script that notifies me via e-mail when this this IP
> periodically changes? I use dhclient to retrieve the
> IP from the DHCP server.
>
> Many thanks,
>
> William.
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
I suggested this before. Sign up at dyndns.org and get the ddclient. You
can create a domain name and then use the init script to update the dns
entry. Then you can ping the domain to get the address.
-Kev
Reply to: