dhcpcd-discuss

Re: Why can I connect in Windoze but in Linux?

Roy Marples

Fri Mar 26 09:29:40 2010

On 26/03/2010 01:13, Russell A. Bell wrote:
	A friend left me her computer to fix.  It ran Windoze (Vista).
I know little about Windoze; others ask me to fix their computers
because they're lazy.
	When I repaired all its unhappinesses it found a wireless
network, a local hotel.  I got a pretty good connection.
	When I tried to connect my own computer dhcpcd found the
router, sometimes connected, but almost always dropped the connection
in a few seconds or minutes.
	I fished out an old Win98 CD I keep on hand, re-partitioned my
hard drive, and installed Win98 on the new partition.  It connected,
using the same network card.
	Since then I 'fixed' (har!) another acquaintance's computer
that has Windoze ME (!) and bought a new computer (my old laptop's
screen failed) that has Windoze 7 (64-bit Home Premium): both
connected but the new computer has the same behavior in Linux.
	I built the latest kernel and dhcpcd: no difference.  I even
use the B switch to keep it in foreground - as if that made any
difference.
	What does Windoze do that makes it connect better?  Is there
something about the routers that makes them discriminate agains Linux?

dhcpcd obeys the kernel link events - namely carrier up/down.
When the link is UP, dhcpcd will negotiate a lease and keep it until it expires and fails re-negotiation OR the link goes down in which case it will remove any active lease for that interface.

If you think your network driver is faulty in this regard (ie, too trigger happy) then you can disable link detection by adding the word nolink on a line by itself in /etc/dhcpcd.conf

This is described in dhcpcd.conf(5)

Thanks

Roy

References:
Why can I connect in Windoze but in Linux?Russell A. Bell
Archive administrator: postmaster@marples.name