[pkg-wpa-devel] Bug#531420: wpasupplicant: random behaviour connecting with WPA and ndiswrapper

Felipe Ortega glimmer_phoenix at yahoo.es
Mon Jun 1 10:57:39 UTC 2009


Package: wpasupplicant
Version: 0.6.9-3
Severity: important

Config details
==========================

Running ndiswrapper with Broadcom wireless chipset:
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755M 
Gigabit Ethernet PCI 
Express (rev 02)
0c:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n 
(rev 03)

ndiswrapper is loaded ok, wlan associates fine with open or WEP APs:
bcmwl5 : driver installed
	device (14E4:4328) present (alternate driver: ssb)

wpa_supplicant.conf:

network={
        ssid="haunting"
	id_str="wlan0_haunting"
	scan_ssid=1
	proto=WPA
	key_mgmt=WPA-PSK
	pairwise=TKIP
	psk="somepassword"
	priority=4
}

Problem
===========================================
Connecting to WPA APs produces random success. For instance:

a) First execution run smoothly. Connected to AP and obtained IP
with DHCP.

b) Second execution and subsequent ones fails.
Repeated error:

CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

============================================

jfelipe at Bluestorm:~$ sudo wpa_supplicant -D wext -i wlan0 -c 
/etc/wpa_supplicant/wpa_supplicant.conf
Trying to associate with SSID 'haunting'
Association request to the driver failed
Associated with 00:13:49:f0:8c:5a
WPA: Key negotiation completed with 00:13:49:f0:8c:5a [PTK=TKIP 
GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:13:49:f0:8c:5a completed (auth) 
[id=0 id_str=wlan0_casa]
WPA: Group rekeying completed with 00:13:49:f0:8c:5a [GTK=TKIP]
^CCTRL-EVENT-TERMINATING - signal 2 received
jfelipe at Bluestorm:~$ 
jfelipe at Bluestorm:~$ 
jfelipe at Bluestorm:~$ sudo wpa_supplicant -D wext -i wlan0 -c 
/etc/wpa_supplicant/wpa_supplicant.conf
Trying to associate with SSID 'haunting'
Association request to the driver failed
Associated with 00:13:49:f0:8c:5a
Authentication with 00:13:49:f0:8c:5a timed out.
Trying to associate with SSID 'haunting'
Association request to the driver failed
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Associated with 00:13:49:f0:8c:5a
WPA: Could not verify EAPOL-Key MIC - dropping packet
Authentication with 00:13:49:f0:8c:5a timed out.
Trying to associate with SSID 'haunting'
Association request to the driver failed
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Associated with 00:13:49:f0:8c:5a
WPA: Could not verify EAPOL-Key MIC - dropping packet
WPA: Could not verify EAPOL-Key MIC - dropping packet
Associated with 00:13:49:f0:8c:5a
Authentication with 00:13:49:f0:8c:5a timed out.
Trying to associate with SSID 'haunting'
Association request to the driver failed
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Associated with 00:13:49:f0:8c:5a
WPA: Could not verify EAPOL-Key MIC - dropping packet
^CCTRL-EVENT-TERMINATING - signal 2 received
jfelipe at Bluestorm:~$ 
jfelipe at Bluestorm:~$ 
jfelipe at Bluestorm:~$ 

=====================================

Some other times, I'm not able to connect at all. 

dmesg outputs some errors (it may help):

=====================================
[10649.567339] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[10651.451024] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[10657.048237] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[10679.586856] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[10680.917315] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[10682.872136] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[10688.632734] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[10694.550700] wlan0: no IPv6 routers present
[10708.068804] ndiswrapper (iw_set_auth:1602): invalid cmd 12

======================================

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wpasupplicant depends on:
ii  adduser                       3.110      add and remove users and groups
ii  libc6                         2.9-12     GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.12-1   simple interprocess messaging syst
ii  libnl1                        1.1-5      library for dealing with netlink s
ii  libpcsclite1                  1.5.3-1    Middleware to access a smart card 
ii  libreadline5                  5.2-4      GNU readline and history libraries
ii  libssl0.9.8                   0.9.8g-16  SSL shared libraries
ii  lsb-base                      3.2-22     Linux Standard Base 3.2 init scrip

wpasupplicant recommends no packages.

Versions of packages wpasupplicant suggests:
pn  libengine-pkcs11-openssl      <none>     (no description available)
pn  wpagui                        <none>     (no description available)

-- debconf-show failed





More information about the Pkg-wpa-devel mailing list