On Sun, 19 Mar 2006, Kyle Moffett wrote:

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.

From my Ubuntu laptop, here's the justification listed for bringing the
interface down:

# IP address changed. Bringing down the interface will delete all routes,
# and clear the ARP cache.

Maybe there's another way to make these things happen? If so, perhaps Ubuntu and/or Debian will take a patch.

-- Asheesh.

--
What!?  Me worry?
                -- Alfred E. Newman
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to