Re: TIMEOUT on Rebind?
Roy Marples
Mon Jun 06 09:55:39 2016
On 01/06/2016 22:43, David Hauck wrote:
> Notwithstanding what you say above, why does the last line say "soliciting a DHCP lease"?
>
> Also, when I try this again now, I see the following:
>
> 20160601 14:36:19.169 info daemon(dhcpcd):eth1: carrier lost
> 20160601 14:36:19.175 info daemon(dhcpcd):eth1: 60-netacquire: received reason=NOCARRIER, beeppid=0, ip=, sn=, gw=, dns=, options=, hn=
> 20160601 14:36:19.186 info daemon(dhcpcd):eth1: deleting route to 205.159.216.128/25
> 20160601 14:36:19.186 info daemon(dhcpcd):eth1: deleting default route via 205.159.216.130
> 20160601 14:36:19.192 info daemon(dhcpcd):eth1: 60-netacquire: received reason=EXPIRE, beeppid=0, ip=, sn=, gw=, dns=, options=, hn=
> 20160601 14:36:26.690 info daemon(dhcpcd):eth1: carrier acquired
> 20160601 14:36:26.696 info daemon(dhcpcd):eth1: 60-netacquire: received reason=CARRIER, beeppid=0, ip=, sn=, gw=, dns=, options=, hn=
> 20160601 14:36:26.696 info daemon(dhcpcd):eth1: IAID e0:53:f3:9f
> 20160601 14:36:27.466 info daemon(dhcpcd):eth1: soliciting a DHCP lease
>
> This doesn't have the intervening messages as the first trace regarding "rebinding" but it does end the same way: with "soliciting a DHCP lease". In both traces I never see a TIMEOUT reason code in the hook scripts (both traces are with 'lastlease' present in dhcpcd.conf).
>
> What's going on here?
When it says "soliciting a DHCP lease" dhcpcd tries to solicit a lease
for $reboot seconds.
If this fails, dhcpcd will use the last lease if it's not expired and
the lastlease option is enabled. At this point you should see the
TIMEOUT reason.
Roy
Archive administrator: postmaster@marples.name