On Wed, Aug 20, 2003 at 08:48:05AM -0700, 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.
Better yet, sign up with dyndns.org to get a domain name, and use the already-written 'ipcheck' script (in the 'ipcheck' package) to update the DNS record. -D -- There are six things the Lord hates, seven that are detestable to him : haughty eyes, a lying tongue, hands that shed innocent blood, a heart that devises wicked schemes, feet that are quick to rush into evil, a false witness who pours out lies and a man who stirs up dissension among brothers. Proverbs 6:16-19 http://dman13.dyndns.org/~dman/
pgp00000.pgp
Description: PGP signature