[pkg-wpa-devel] Bug#471858: Bug#471858: wpasupplicant: option "wpa_iface" half works - but does IP config on the wpa_iface not the actual interface (normally a bridge)

Kel Modderman kel at otaku42.de
Thu Mar 20 22:28:01 UTC 2008


severity 471858 minor
tags 471858 moreinfo
thanks

On Friday 21 March 2008 03:50:04 Paul Hedderly wrote:
> /etc/network/if-up.d/wpasupplicant says:
> 
>   # allow wpa_supplicant interface to be specified via wpa-iface
>   # useful for starting wpa_supplicant on one interface of a bridge
>   if [ -n "$IF_WPA_IFACE" ]; then
>         WPA_IFACE="$IF_WPA_IFACE"
>   else
>         WPA_IFACE="$IFACE"
>   fi
> 
> If I have an interfaces stanza:
> 
>   iface bridge inet manual
>     pre-up ip link set up dev wlan0 # (Needed with iwl3945)
>     bridge_ports wlan0
>     wpa_iface wlan0
>     wpa_roam /etc/network/wpa_supplicant.conf
> 
> and
> 
>     iface default inet dhcp
> 
> Then ifup br will bring up the bridge - and wpa_supplicant is started on
> wlan0 that is all fine.
> 
> 
> The problem is that wpa_supplicant configures IP on the wlan0 interface
> not the bridge. So as it stands the wpa_iface option
> is great idea but NBG :O)

wpa_supplicant does nothing about configuring IP address and the like, it just
handles authentication.

Having said that, I've had little success getting an wireless interface in a
bridge in sta mode to pass on traffic, this seems to be a limitation of some
drivers/firmwares.

Thanks, Kel.





More information about the Pkg-wpa-devel mailing list