On 6/14/05 11:40 AM, "James Knott"
Sunny wrote:
Hi, I have to support the home computers of some friends. All of them are newly converted :) to SuSE 9.2. All of them use DSL or cable Internet access. The problem is that from time to time their ISPs change the IPs of the modem, which prevents me to remotely administer the machines without asking some of the people there to check what is their current external IP by checking http://www.whatismyip.com/ or the config of the modem.
Is there a script/package which can check the external IP on regular basis and send the changes to an email?
Is the host name consistent? If so, you can just do a dns lookup. If the host name changes with the IP, then that won't work. Another possibility, is a dynamic dns server, which many firewall/routes can be configured to use.
Something like: http://www.dyndns.org/ Does wonders. Also they list routers that work with their system...you can get them around here for under $10. Or the software version: http://www.dyndns.org/support/clients/dyndns.html Personally, go with the hardware version. That way if you are working on your server, you aren't "down". -- Thanks, George "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." Benjamin Franklin