From owner-freebsd-questions Tue Jul 18 11:34:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.jonelrienton.org (dsl-64-34-25-237.telocity.com [64.34.25.237]) by hub.freebsd.org (Postfix) with SMTP id F1BCF37B772 for ; Tue, 18 Jul 2000 11:34:42 -0700 (PDT) (envelope-from nelski@jonelrienton.org) Received: (qmail 7812 invoked from network); 18 Jul 2000 18:41:54 -0000 Received: from unknown (HELO ldiarlnt4) (206.161.198.4) by jonelrienton.org with SMTP; 18 Jul 2000 18:41:54 -0000 Message-ID: <00ee01bff0e7$f4348ee0$cc1f1d0a@ldiarlnt4> From: "Jonel Rienton" To: "Drew Sanford" , References: <3974A0A5.F4632A9A@planetwe.com> Subject: Re: Mailing IP changes Date: Tue, 18 Jul 2000 13:42:19 -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.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i've done this before when i was using dialups, what i did was parse the result of ifconfig , tweak it a little to just get the new IP, setup a mail procedure at the end of the script and enjoy :) ----- Original Message ----- From: "Drew Sanford" To: Sent: Tuesday, July 18, 2000 1:23 PM Subject: Mailing IP changes > Hi, > I'd like to know if anyone has a good way of emailing a machines IP > address to themselves when the machine (connected via PPP) has to > reconnect and is assigned a new IP. What is the most sensible way to do > this? > > -- > Drew Sanford > Systems Administrator > Planetwe.com > Email: drew@planetwe.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message