Possible bug in bridge networks on 0.4.3?
Ed W
Wed Aug 26 20:49:01 2009Hi, playing with bridging a couple of ethernet interfaces and a wlan interface
I observe that this config works as expected: bridge_br0="eth1 eth2 wlan0"The bridge starts fine and if for some reason I run "/etc/init.d/wlan0 restart" then there are no errors.
However, this causes an error when I restart wlan0: bridge_br0="eth1 eth2" bridge_add_wlan0="br0" It works fine the first time, but the second restart I get: $ /etc/init.d/net.wlan0 restart * Bringing down interface wlan0 * Bringing up interface wlan0 * Adding ports to br0 * wlan0...ip: either "dev" is duplicate, or "promisc" is garbage brctl: bridge br0: Device or resource busy ip: either "dev" is duplicate, or "promisc" is garbage [ !! ] * ERROR: net.wlan0 failed to startThis seems to correspond with the first time wlan0 is not yet part of the bridge, when I bring down wlan0 (or ethX) then these interfaces are not removed from the bridge, when I bring back up ethX then there is no error, but with wlanX it seems to cause this error if the port is already part of the bridge.
If I then remove wlan0 from the bridge (manually) then wlan0 restarts one more time
Will work through the code, but I guess that it currently checks if certain devices are already part of the bridge before adding them, but not necessarily for wlanX devices?
Ed W
Archive administrator: postmaster@marples.name