From owner-freebsd-questions Tue Feb 6 22:46: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 22F3F37B4EC for ; Tue, 6 Feb 2001 22:45:47 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.9.3) with SMTP id f176hui38538; Wed, 7 Feb 2001 01:43:56 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <004901c090d2$cbff6c20$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "John Telford" , References: <002c01c090c3$7715e540$022ce540@johnny2k> Subject: Re: Have my offsite boxes e-mail me their IP address when it changes ? Date: Wed, 7 Feb 2001 01:54:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm sure someone must have a script that can test and mail if it changes. If you're using user-ppp, you can use the ppp.linkup script (see /usr/share/examples/ppp) to email you when the link comes up. Since the most common use of the linkup script is to update default routes (well, used to be, when ppp wouldn't do it automatically), I'm pretty sure you could use it to send you an email with updated IP information. MYADDR: ifconfig tun0 | mail -s "New IP" you@yourdomain.net -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message