Thread: dhcpcd anomaly
View Single Post

   
  #2 (permalink)  
Old 05-10-2008, 02:02 PM
Aragorn
 
Posts: n/a
Default Re: dhcpcd anomaly

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. A short log excerpt:
>
> [...]
> # ps -fC dhcpcd | cat
> UID PID PPID C STIME TTY TIME CMD
> root 8206 1 0 May05 ? 00:00:00 /sbin/dhcpcd -h fairy -t 5
> eth0
> root 20189 1 0 00:22 ? 00:00:00 /sbin/dhcpcd -h fairy -t
> 15 -m 2000 wlan0
>
> The only thing I can see is that dhcpcd sets the hostname where it
> shouldn't (gentoo doesn't allow for specifying a hostname per interface,
> or rather, it will tack on -h `hostname` regardless), but that shouldn't
> affect the renewal. The DHCP servers are set to ignore the hostname for
> gentoo hosts, due to this design flaw.
>
> 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... :-/

--
*Aragorn*
(registered GNU/Linux user #223157)
Reply With Quote