Comment 34 for bug 207446

Revision history for this message
tl (tl3000) wrote :

More info and observations as posted on the <a href="http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_fireboard/Itemid,27/func,view/id,1337/catid,3/">NDISwrapper Forum</a>:

Worked in Ubuntu 7.10 - Not in 8.04 2008/04/30 03:26

I'm experiencing an issue of being unable to associate with a WPA-PSK AP after updating from Ubuntu Gutsy to Hardy. Wireless setup with WG511v1 and ndiswrapper (tried both versions 1.50 & 1.52). Also tried with Network Manager and Wicd but same symptoms and problem. Seems as though ndiswrapper is unable to obtain the correct key to connect with the AP. Wireless setup and configuration worked under Gutsy but unable to get it to work under Hardy. The native prism54 drivers for the Netgear WG511v1 have been blacklisted, and here's the pertinent info:

ndiswrapper version 1.50-1ubuntu1 (hardy)

wpasupplicant version 0.6.0+0.5.8-0ubuntu2 (hardy)

gnome-keyring version 2.22.1-1 (hardy)

libpam-gnome-keyring version 2.22.1-1 (hardy)

network-manager version 0.6.6-0ubuntu5 (hardy)

wicd version 1.4.2-1 (apt.wicd.net)

:~$ ndiswrapper -v
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename: /lib/modules/2.6.24-16-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko
version: 1.52
vermagic: 2.6.24-16-generic SMP mod_unload 586

:~$ ndiswrapper -l
netwg511 : driver installed
device (1260:3890) present (alternate driver: prism54)

[Edit#1] Noticed that the keyring management has changed quite a bit in Hardy. Don't know if this change has any effect on ndiswrapper's operation and/or interface with the revised keyring functions.

Post edited by: tl3000, at: 2008/04/30 14:53

[Edit#2] Verified that ndiswrapper & netwg511 driver works for open APs.

Post edited by: tl3000, at: 2008/05/01 05:08

[Edit#3] More info but still no resolution yet...

Tested with the following latest updates without success:

gnome-keyring version 2.22.2-0ubuntu1 (hardy-updates)

libpam-gnome-keyring version 2.22.2-0ubuntu1 (hardy-updates)

:~$ ndiswrapper -v
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename: /lib/modules/2.6.24-18-generic/misc/ndiswrapper.ko
version: 1.53
vermagic: 2.6.24-18-generic SMP mod_unload 586

---------------------------------------------------------------------
Testing of the WPA_Supplicant configuration reveals:

:~$ sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dndiswrapper -w -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A' bridge 'N/A'
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=3):
65 72 6e ern
proto: 0x1
key_mgmt: 0x2
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='ern'
Initializing interface (2) 'wlan0'
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
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: QQ:QQ:QQ:QQ:QQ:QQ
Driver does not support WPA.
^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is INCORRECT since the driver ndiswrapper+netwg511 worked with WPA under previous versions of Ubuntu from 6.06 through 7.10 (Gutsy).

---------------------------------------------------------------------
Scanning for the WiFi networks under Hardy (8.04) reveals:

:~$ sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wmaster0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: QQ:QQ:QQ:QQ:QQ:QQ
ESSID:"ern"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Signal level=124/127
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000005f9ec7ed15e

---------------------------------------------------------------------
Noticed that when working under Gutsy the following differences were observed:

Group Cipher : WEP-40
Pairwise Ciphers (1) : WEP-40

All other parameters were the same as reported above under Hardy.

Post edited by: tl3000, at: 2008/06/06 03:21