wpasupplicant version 0.4.2 broken in breezy

Bug #2220 reported by fimbulvetr
6
Affects Status Importance Assigned to Milestone
wpasupplicant (Ubuntu)
Fix Released
Medium
Reinhard Tartler

Bug Description

I have a Dell Dimension D800 with a ipw2100 wireless card. I've been running hoary for months with no problems, along with wpa_supplicant shipped with hoary.
Upon an upgrade to breezy, wpa_supplicant stopped working, although everything else seems to work. Once manually installing the hoary deb, wpa would work again happily. Below is a paste of how wpa_supplicant would act when it was broken:

$ sudo /etc/init.d/wpasupplicant start
Starting wpasupplicant: Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=8):
     63 72 61 63 6b 5f 6d 65 wireless_network
proto: 0x1
scan_ssid=1 (0x1)
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=23): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='wireless_network'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_init is called
ioctl[SIOCSIWPMKSA]: Operation not supported
Own MAC address: 00:04:23:a1:bf:c2
wpa_driver_ipw_set_wpa: enabled=1
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_countermeasures: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=8):
     63 72 61 63 6b 5f 6d 65 wireless_network
Scan timeout - try to get results
Received 546 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0c:41:cc:0c:53 ssid='wireless_network' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected
Trying to associate with 00:0c:41:cc:0c:53 (SSID='wireless_network' freq=0 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Invalid argument
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=21
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 546 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0c:41:cc:0c:53 ssid='wireless_network' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected
Trying to associate with 00:0c:41:cc:0c:53 (SSID='wireless_network' freq=0 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Invalid argument
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=21
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
State: ASSOCIATING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=8):
     63 72 61 63 6b 5f 6d 65 wireless_network
Scan timeout - try to get results
Received 546 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0c:41:cc:0c:53 ssid='wireless_network' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected
Trying to associate with 00:0c:41:cc:0c:53 (SSID='wireless_network' freq=0 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Invalid argument
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=21
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 3
State: ASSOCIATING -> DISCONNECTED

It repeats that over and over. A sudo dhclient eth1 never gets an address.

Here is my hardware:
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.1.0
ipw2100: Copyright(c) 2003-2004 Intel Corporation
ipw2100: Detected Intel PRO/Wireless 2100 Network Connection

lspci:
0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 03)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 01)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 Go AGP 8x] (rev a1)
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 01)
0000:02:01.0 CardBus bridge: Texas Instruments: Unknown device ac47 (rev 01)
0000:02:01.1 CardBus bridge: Texas Instruments: Unknown device ac4a (rev 01)
0000:02:01.2 FireWire (IEEE 1394): Texas Instruments: Unknown device 802b
0000:02:01.3 System peripheral: Texas Instruments: Unknown device 8204
0000:02:03.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
0000:02:08.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 01)

Changed in wpasupplicant:
assignee: nobody → motu
Revision history for this message
Mark Kohler (mkohler) wrote :

I also encountered this bug when upgrading from Hoary to Breezy. I was able to
work around it by downgrading to the Hoary version of wpasupplicant, and using
a 2.6.10 kernel. (The 2.6.12 kernels don't have madwifi support yet.)

I haven't determined for sure whether this is a Breezy bug or an upstream bug,
but since it seems like *all* of the wireless ioctls are failing, I'm leaning
toward some kind of build problem, which means it's a Breezy problem

Revision history for this message
Reinhard Tartler (siretart) wrote :

Err, I cannot confirm this. I'm using wpa_supplicant on breezy with current breezy kernel and madwifi very successfully, both with wpa (EAP-TLS) and plain web (this didn't work with hoary's wpasupplicant).

Perhaps I get next week a notebook with ipw2100 to test with breezy to check this.

Revision history for this message
Mark Kohler (mkohler) wrote :

Reinhard - What kernel are you using? My experience was that with Breezy's 2.6.12 kernels, my wireless interface was not detected by the kernel. Do you have madwifi working on one of Breezy's 2.6.12 kernels?

I'm using a Thinkpad R51 which has a built-in Atheros chipset.

Revision history for this message
Mark Kohler (mkohler) wrote :

Hmmm...I'm not sure what was happening before, but I now have WPA-PSK working on Breezy, with the 2.6.12.8-686 kernel, and the 0.4.2 wpasupplicant.

Revision history for this message
Reinhard Tartler (siretart) wrote :

siretart@hermes:/tmp
>> dpkg -s linux-image-$(uname -r) | grep Version
Version: 2.6.12-8.13

I'm just writing this mail via that kernel and madwifi chipset on my R40. I'm closing this bug now, Dan, if you are still experiencing this bug, please reopen it!

Changed in wpasupplicant:
assignee: motu → siretart
status: New → Fixed
Revision history for this message
fimbulvetr (fimbulvetr) wrote :

I can confirm that this problem has gone away. I am running:

danv@ubuntu:~$ uname -a
Linux ubuntu 2.6.12-8-686 #1 Thu Sep 15 21:32:25 UTC 2005 i686 GNU/Linux
danv@ubuntu:~$ wpa_supplicant -v
wpa_supplicant v0.4.2
Copyright (c) 2003-2005, Jouni Malinen <email address hidden> and contributors

Thanks

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.