if-pre-up.d script needs to support "bridge" option

Bug #327907 reported by Brian J. Murrell
2
Affects Status Importance Assigned to Milestone
wpasupplicant (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: wpasupplicant

When using wpa_supplicant with a bonded (or bridge) interface one must invoke it with:

# wpa_supplicant -i <wlan_if> -b <bridge_bonded_if> ...

I believe this bridging (or bonding) mode is what the "wpa-iface" parameter in the /etc/network/interfaces file is all about.

So that being the case, when $WPA_IFACE != $IFACE then in the /etc/network/*/ifenslave scripts, "-b $IFACE" needs to be appened to $WPA_SUP_OPTIONS in init_wpa_supplicant().

Thots?

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :

Hrm. On further examination, I do see:

 if [ -n "$IF_WPA_BRIDGE" ]; then
  WPA_SUP_OPTIONS="$WPA_SUP_OPTIONS -b $IF_WPA_BRIDGE"
  wpa_msg verbose "wpa-bridge $IF_WPA_BRIDGE"
 fi

I wonder if specifying it explicitly vs. implicitly as I propose should be necessary.

When would you not want to use "-b $IFACE" when using "-i $WPA_IFACE" and $WPA_IFACE != $IFACE?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.