dhcpcd-discuss

RE: TIMEOUT on Rebind?

David Hauck

Tue May 31 22:47:26 2016

Hi Roy,

On Tuesday, May 31, 2016 12:12 PM, Roy Marples wrote:
> 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 :)

;) K, I'll give it a try.
 
>> Also, what REASON string will the hook functions see when the
>> TIMEOUT expires and the last lease is used/obtained?
> 
> Yes.

By "Yes" do you mean "Yes, TIMEOUT should be seen"?

>> 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.

I'll look for this.

Are you saying TIMEOUT will only be seen in this case and not the other cases I'm wondering about (i.e., when 'lastlease' isn't used)?

Thanks,
-David

> Although I've not tested this for a while, will do so tomorrow.
> 
> Roy

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