dhcpcd-discuss

RE: TIMEOUT on Rebind?

Roy Marples

Tue May 31 19:12:15 2016

Hi David

On 2016-05-31 17:13, David Hauck wrote:
You need to enable the --lastlease option for this to work.

Is there an equivalent parameter in dhcpcd.conf (I didn't see one)?

lastlease also works :)

Also, what REASON string will the hook functions see when the TIMEOUT
expires and the last lease is used/obtained?

Yes.

In both cases I mentioned I never see a TIMEOUT reason code appear in
the hook functions. Is this expected? It would be nice to give the
hook functions the ability to react to this state (in my case to
perform other cleanup associated with a failed attempt to bring up the
interface)>

TIMEOUT should appear as the reason when the lastlease is used and when a DHCP server cannot be reached.
Although I've not tested this for a while, will do so tomorrow.

Roy

Follow-Ups:
RE: TIMEOUT on Rebind?David Hauck
References:
TIMEOUT on Rebind?David Hauck
Re: TIMEOUT on Rebind?Roy Marples
RE: TIMEOUT on Rebind?David Hauck
Archive administrator: postmaster@marples.name