Subject: Re: dhclient question
To: dan dockery <danarchy@endeneu.com>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 12/01/1998 13:06:27
ifconfig -a 

is one way.   After the IP address is obtained, the 'ifconfig' line will
tell you.  Not really sure where to put it in dhclient.


On Tue, 1 Dec 1998, 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?
> 
> The reason I ask is that I have a Quadra 950 on which I've just installed
> NetBSD, and as promised,  booter runs, flashes the screen, and I'm left
> with a beautiful picture of my desktop.  Apparently at this point NetBSD is
> running happily in the background.
> I went back into the Installer to change my ttys file to allow root login
> on ttyp0 and realized that I'm also going to have to run dhclient at boot
> time.  No problem there, I'll just throw it into one of my startup
> scripts...  but that leaves me with the question of how do I find out what
> IP address is being used.  I'm guessing there's a way to mail it to myself,
> but I'm afraid I'm still a bit of a novice and don't know how to manage
> this yet.
> 
> TIA.
> -Dan
> 
>