Your message dated Mon, 26 Sep 2011 18:25:42 +0200 with message-id <[email protected]> and subject line Re: [pkg-wpa-devel] Bug#474579: wpasupplicant: wpa interface extensions incompatible with wireless-tools interface extensions has caused the Debian Bug report #474579, regarding wpasupplicant: wpa interface extensions incompatible with wireless-tools interface extensions to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 474579: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474579 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Subject: wpasupplicant: wpa interface extensions incompatible with wireless-tools interface extensions Package: wpasupplicant Version: 0.6.3-1 Severity: normal Many upgrades ago, I discovered that calling wpa_supplicant either manually or using the wpa-* extensions in an /etc/network/interfaces stanza fails to connect my madwifi card to my madwifi wpa-eap hostapd+ freeradius access point. The problem relates to the presence of wireless_* interfaces extensions from the wireless-tool package. In particular, extensions that explicitedly identify my ap; namely, wireless_channel, wireless_essid wireless_ap. For example, this stanza will not connect me to my ap. iface ath0 inet dhcp wireless_mode Managed wireless_channel 1 wireless_essid home_wpa wireless_ap 0d:0f:cb:b1:bd:eb wpa-driver madwifi wpa_conf /etc/wpa_wpasupplicant/wpa_supplicant.conf If I disable all wireless-* lines, I can connect. Additionally, this stanza and process works... iface ath0 inet dhcp wireless_mode Managed wireless_ap any If I issue the following commands, in this order, I can get the connection. 1) ifup ath0 2) iwconfig ath0 ap 0d:0f:cb:b1:bd:eb ap home_wpa 3) /sbin/wpa_supplicant -D madwifi -i ath0 -c /etc/wpa_supplicant/wpa_supplicant So wpa_supplicant and wireless tools (iwconfig, etc) are compatible outside of interface stanza, but not in a stanza. Why would they be mutually exclusively inside a stanza, but not outside. Debian's wpa_supplicant's documentation does not mention this incompatiblity, although it seems to be implied. Maybe the documentation should make it more explicit? Or maybe wireless-* extensions and wpa-* extensions should get along because the intention of both is to identify and connect to an access point? -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.23.1custom (PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages wpasupplicant depends on: ii adduser 3.107 add and remove users and groups ii libc6 2.7-10 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-8 SSL shared libraries ii lsb-base 3.2-6 Linux Standard Base 3.2 init scrip wpasupplicant recommends no packages. -- no debconf information ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com
--- End Message ---
--- Begin Message ---Hi On Monday 26 September 2011, Kel Modderman wrote: > On Monday 07 April 2008 02:13:39 Chadinater wrote: > > Subject: wpasupplicant: wpa interface extensions incompatible with > > wireless-tools interface extensions > > Package: wpasupplicant > > Version: 0.6.3-1 > > Severity: normal > > > > Many upgrades ago, I discovered that calling wpa_supplicant either > > manually or using the wpa-* extensions in an /etc/network/interfaces > > stanza fails to connect my madwifi card to my madwifi wpa-eap hostapd+ > > freeradius access point. > > > > The problem relates to the presence of wireless_* interfaces extensions > > from the wireless-tool package. In particular, extensions that > > explicitedly identify my ap; namely, wireless_channel, wireless_essid > > wireless_ap. > > > > For example, this stanza will not connect me to my ap. > > iface ath0 inet dhcp > > wireless_mode Managed > > wireless_channel 1 > > wireless_essid home_wpa > > wireless_ap 0d:0f:cb:b1:bd:eb > > wpa-driver madwifi > > wpa_conf /etc/wpa_wpasupplicant/wpa_supplicant.conf > > > > If I disable all wireless-* lines, I can connect. > > > > Additionally, this stanza and process works... > > iface ath0 inet dhcp > > wireless_mode Managed > > wireless_ap any > > > > If I issue the following commands, in this order, I can > > get the connection. > > 1) ifup ath0 > > 2) iwconfig ath0 ap 0d:0f:cb:b1:bd:eb ap home_wpa > > 3) /sbin/wpa_supplicant -D madwifi -i ath0 -c > > /etc/wpa_supplicant/wpa_supplicant > > > > So wpa_supplicant and wireless tools (iwconfig, etc) are > > compatible outside of interface stanza, but not in a stanza. > > Why would they be mutually exclusively inside a stanza, but > > not outside. > > The ifupdown wireless-tools hook may be executed after wpasupplicant hook, > thus executing them in an order you don't like or expect. [...] Closing, as this is a configuration error with two different configuration means competing over one interface, leaving wpasupplicant (as quasi-dæmon) confused about which settings to use and wireless-tools (wireless-*) breaking the current wpasupplicant session. Regards Stefan Lippers-Hollmann
--- End Message ---

