reading IP address given via DHCP

Lonnie Olson lists at kittypee.com
Mon Sep 23 12:26:05 MDT 2013


On Mon, Sep 23, 2013 at 8:27 AM, Andy Bradford <amb-plugg at bradfords.org> wrote:
> Thus said Dan Egli on Mon, 23 Sep 2013 15:06:14 +0530:
>
>> Hey,  does anyone  know of  a way  to learn  the IP  address that  was
>> received from the DHCP server?
>
> If you're on Linux have a look at man dhclient-script.

^^ This
/etc/dhcp/dhclient-{enter,exit}-hooks.d/


More information about the PLUG mailing list