On Mar 18, 2006, at 08:30:49, Johannes Berg wrote:
On Tue, 2006-03-14 at 01:14 +0100, Marco Guidetti wrote:
Then dhclient kicks in: it starts, but it says that the interface is down. I've tried, in another terminal to force the rate at 11M both while dhclient was running and just before. But no way to get an IP.

set the essid again while dhclient is running -- this makes softmac associate again and then it ought to work. Might be required yet another time after getting an IP since the stupid dhclient likes to turn off the interface all the time.

I've actually figured out where this bug is hiding. dhclient doesn't modify the interface at all, even to set an IP. It just passes all the info to /etc/dhcp3/dhclient-script (for Debian, may vary with distro), which is expected to set everything up. There's some documentation under "man dhclient-script", but it's a fairly self- explanatory shell script. It looks like most distros use a slightly patched version based off the example one shipped with ISC dhclient. You could probably take a look in there to see where it excessively ifconfig ${IFACE} up and ifconfig ${IFACE} down and patch it to do so less often.

Cheers,
Kyle Moffett
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to