[pkg-wpa-devel] Bug#471858: wpasupplicant: option "wpa_iface" half works - but does IP config on the wpa_iface not the actual interface (normally a bridge)
Paul Hedderly
paul at mjr.org
Thu Mar 20 17:50:04 UTC 2008
Package: wpasupplicant
Version: 0.6.3-1
Severity: important
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages wpasupplicant depends on:
ii adduser 3.106 add and remove users and groups
ii libc6 2.7-9 GNU C Library: Shared libraries
ii libdbus-1-3 1.1.20-1 simple interprocess
messaging syst
ii libpcsclite1 1.4.99-2 Middleware to access a
smart card
ii libreadline5 5.2-3 GNU readline and history
libraries
ii libssl0.9.8 0.9.8g-7 SSL shared libraries
ii lsb-base 3.2-4 Linux Standard Base 3.2
init scrip
wpasupplicant recommends no packages.
-- no debconf information
/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)
I've not had a dig yet to see if I can see a simple or a good solution.
--
Paul
More information about the Pkg-wpa-devel
mailing list