Date: Tue, 18 Jul 2000 13:42:19 -0500 From: "Jonel Rienton" <nelski@jonelrienton.org> To: "Drew Sanford" <drew@planetwe.com>, <questions@freebsd.org> Subject: Re: Mailing IP changes Message-ID: <00ee01bff0e7$f4348ee0$cc1f1d0a@ldiarlnt4> References: <3974A0A5.F4632A9A@planetwe.com>
next in thread | previous in thread | raw e-mail | index | archive | help
i've done this before when i was using dialups, what i did was parse the result of ifconfig <ppp interface>, 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" <drew@planetwe.com> To: <questions@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ee01bff0e7$f4348ee0$cc1f1d0a>