[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting an address from DHCP without an interface



martin f krafft <madduck@debian.org> writes:

> is there a tool i can use as a DHCP client, which does everything
> a regular DHCP client does, except for actual interface configuration?
> In fact, I would love it to simply call a shell script whenever it
> obtains a lease, or even better, whenever the IP of the lease changes.

The normal dhcp-client package includes a script /etc/dhclient-script
which is invoked to do all the work.  It provides hooks.  And also,
you can of course replace the file with your own.

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)




Reply to: