Re: dhcpcd anomaly Aragorn <aragorn@chatfactory.invalid> wrote:
> Arthur Hagen wrote:
>
>> I have a computer with two interfaces, a wired and a wireless
>> interface. Both appear to function correctly, BUT:
>>
>> After about half an hour, the dhcpcd for the wireless interface will
>> start querying the DHCP servers over and over again, twice every 3
>> seconds, and will continue to do so until dhcpcd is killed or
>> restarted, after which it works correctly for half an hour again.
>> [...]
>> This problem only occurs for the wlan0 interface, and not for eth0.
>>
>> Anyone seen this, and know what could cause this misbehaviour?
>
> Just a wild guess, but couldn't it be so that the wireless
> connections time out after a given period?
>
> I'm running an IRC network with a couple of friends, and many - I
> would even say "most" - of those who have a wireless LAN set-up at
> home ping out from IRC multiple times per day, while those with a
> cabled LAN or a direct connection to the internet have a more stable
> connection with the IRC server.
>
> Maybe it's something typical of WiFi... Don't know, really... :-/
Nah, the wireless connection stays up. It's just the DHCP renewal requests
that suddenly happen again and again.
Perhaps it has something to do with the DHCP request being broadcast, and
thus received on BOTH interfaces, and dhcpcd not liking that the first reply
is on eth0 (simply because wired ethernet is faster than wifi)? But if so,
then why does the original request work, and only the renews fail?
For now, my workaround is to set the lease period for this address to a
ridiculously high amount. Unfortunately, that's not a good workaround, if I
ever take the laptop roaming into somewhere which uses the same private IP
range.
Regards,
--
*Art |