command can take an argument to shutdown sometime in the future, but that's the opposite of what you want - you would know if you had issued a deferred shut down.shutdown
I'd encourage you to check that - I think it's an attribute controlled by the dhcp server. (If otherwise, everyone would ask for an infinite lease, and the network operator would have no control.)tobiz wrote: I thought normally lease time was set by the client
Shouldn't the DHCP client request a lease extension before the lease expires?tobiz wrote:My Pi has now been running for over 72hrs and not been detached from the router. I conclude that the DHCP lease time was the issue and on the Draytek 2820 by binding a MAC to an IP it effectively changes the default (gobal) lease time to unlimited (I didn't know this nor can I find it documented anywhere, at the moment). The problem I had was therefore nothing to do with the Pi but the network config on the router. Thanks DeeJay for the pointer, most useful
It happens when the lease expires, not before. That's why isc-dhcp-client (or dhcpcd) has to keep running, it wakes up periodically to check the lease expiry time.Aydan wrote: Shouldn't the DHCP client request a lease extension before the lease expires?
Users browsing this forum: kareemarab and 40 guests