Subject: Re: dhclient question
To: dan dockery <danarchy@endeneu.com>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: port-mac68k
Date: 12/01/1998 15:45:35
On Tue, Dec 01, 1998 at 11:51:48AM -0600, dan dockery wrote:

> Out of curiosity, does anyone know of a way I can have dhclient mail me or
> in some other way notify me of the IP address it receives?

I haven't yet used the dhclient, but you can automate this process with a
fair amount of ease.

For instance, include the following right before the final "exit" in the
dhclient script if you're using ne0 as an interface:

ifconfig ne0 | mail -s "The Address" you@your.email.address

This ought to do what you want.

-- 
 Mason Loring Bliss..mason@acheron.middleboro.ma.us..acheron.ddns.org/mason
"In the drowsy dark cave of the mind dreams build their nest with fragments
  dropped from day's caravan."--Rabindranath Tagore..awake ? sleep : dream;