Re: Dhcpcd not renewing lease in time
Roy Marples
Thu Oct 17 13:42:12 2019
On 17/10/2019 14:39, Roy Marples wrote:
The currect solution is for the kernel to notify interfaces that link is
down upon resuming and then notify the correct link state afterwards.
dhcpcd will spot this and start renewal of the lease right away.
Using the system time rather than the monotonic clock is not feasable as
system time can move which also breaks renewals.
In the event of the kernel not doing this and being dumb, if you can
hook into the resume event (ACPI call maybe?) then issuing `dhcpcd -n`
will force a rebind which will also solve the problem.
Roy
Archive administrator: postmaster@marples.name