Fwd: truncated lease
Andrew Somerville
Tue Jun 07 13:54:39 2016
Would the truncated lease message affect behaviour in any way?
I am using the latest Archlinux package, which I had assumed already had
those patches since the build date is later:
https://www.archlinux.org/packages/core/i686/dhcpcd/
Sent from my iPhone
> On 7 Jun 2016, at 05:39, Roy Marples <roy@xxxxxxxxxxxx> wrote:
>
>> On 2016-06-06 23:57, Andrew Somerville wrote:
>> I am using wi-fi via netctl to automatically connect to my wireless
>> network.
>> In my journal -b I see the line:
>> dhcpcd[1637]: read_lease: truncated lease
>> Looking at dhcp.c [1], I see that it says:
>> /* Ensure the packet is at lease BOOTP sized
>> * with a vendor area of 4 octets
>> * (it should be more, and our read packet enforces this so this
>> * code should not be needed, but of course people could
>> * scribble whatever in the stored lease file. */
>> But I have not scribbled anything into a lease file; it is only what
>> was automatically generated.
>> Is this normal behaviour?
>
> No, it's not normal.
> If you're running 6.11.0 and not trunk you need these patches.
> http://roy.marples.name/projects/dhcpcd/info/3fd740f3ed17e902
> http://roy.marples.name/projects/dhcpcd/info/02a6de136d9afe1b
>
>
>> I am trying to resolve intermittent wi-fi disconnects (carrier loss).
>
> I don't have any patches to resolve that, carrier loss is a kernel side
thing handled by dhcpcd.
>
> Roy
Archive administrator: postmaster@marples.name