On 6/14/05, Ken Schneider
On Tue, 2005-06-14 at 14:10 -0400, Ken Schneider wrote:
On Tue, 2005-06-14 at 10:33 -0500, 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?
Cheers Sunny
Why not have them register with dnydns.org (it's free) and then you could always use the same name to access their computers.
I also use ddclient to check for an IP address change every 5 minutes so I never have to go more than 5 minutes without the ability to connect. Imagine losing the remote connection and having to wait a hour to connect again if the friend isn't around to tell you the new IP address.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
Thanks Ken. ddcleint is not an option for me, as no DNS is involved. Anyway, I think that Brad's solution will work. And I'll decide about the interval. Actually, if the friend is not there, then he/she does not need the puter, and I can wait lets say 30 min :). Whatever, I guess you are right, 30 min will be real PITA, so maybe 5 or 10 ... Cheers Sunny