<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I'm having trouble getting my 3com 3crusb20075 USB dongle to associate
with protected networks. This is all done on Ubuntu 9.10 using
ndiswrapper and a Windows2k/XP driver I found at <br>
<a class="moz-txt-link-freetext" href="http://forum.ubuntuusers.de/topic/ubuntu-7.04-und-atheros-5523-3com-usb-wlan-st/">http://forum.ubuntuusers.de/topic/ubuntu-7.04-und-atheros-5523-3com-usb-wlan-st/</a>
alleged to work with WPA.<br>
The device can successfully associate with open networks, but as soon
as WEP or WPA is required, the association fails. The AP is a Thomson
TG787 router, sadly devoid of all forms of debugging and logging tools.<br>
wpa_supplicant is version 0.6.9 from Ubuntu repos and ndiswrapper 1.55
compiled from source.<br>
<br>
I run wpa_supplicant with:<br>
sudo wpa_supplicant -Dwext -iwlan2 -dd -c/etc/wpa_supplicant.conf<br>
<br>
And the config file looks like this:<br>
network={<br>
 ssid="Eter"<br>
 psk="**********"<br>
}<br>
<br>
The output of wpa_supplicant is here: <a class="moz-txt-link-freetext" href="http://pastebin.com/d35551793">http://pastebin.com/d35551793</a><br>
(282 lines, so though I'd spare this list all the gruesome details)<br>
The interesting(?) bits are these (from line 237):<br>
<br>
WPA: Key negotiation completed with 00:1f:9f:4c:a1:7f [PTK=CCMP
GTK=TKIP]<br>
Cancelling authentication timeout<br>
State: GROUP_HANDSHAKE -&gt; COMPLETED<br>
EAPOL: External notification - portValid=1<br>
EAPOL: External notification - EAP success=1<br>
EAP: EAP entering state DISABLED<br>
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<br>
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan2' added<br>
Wireless event: cmd=0x8c09 len=32<br>
PMKID candidate wireless event: flags=0x0 index=0
bssid=00:1f:9f:4c:a1:7f<br>
RSN: PMKID candidate event - bssid=00:1f:9f:4c:a1:7f index=0 preauth=0<br>
RSN: Ignored PMKID candidate without preauth flag<br>
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<br>
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan2' added<br>
Wireless event: cmd=0x8c09 len=32<br>
PMKID candidate wireless event: flags=0x0 index=0
bssid=00:1f:9f:4c:a1:7f<br>
RSN: PMKID candidate event - bssid=00:1f:9f:4c:a1:7f index=0 preauth=0<br>
RSN: Ignored PMKID candidate without preauth flag<br>
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<br>
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan2' added<br>
Wireless event: cmd=0x8c09 len=32<br>
PMKID candidate wireless event: flags=0x0 index=0
bssid=00:1f:9f:4c:a1:7f<br>
RSN: PMKID candidate event - bssid=00:1f:9f:4c:a1:7f index=0 preauth=0<br>
RSN: Ignored PMKID candidate without preauth flag</font><font
 face="Helvetica, Arial, sans-serif"><br>
<br>
And so it continues perpetually. I don't claim to know a lot about the
inner workings of WPA and 802.11, but the device appears to have just
about associated with the AP.<br>
Using dhclient to request an IP address on the interface is fruitless:
just a bunch of DHCPDISCOVER messages followed by "No DHCPOFFERS
received.".<br>
The router claims no knowledge of the presence of the device either.<br>
<br>
iwconfig outputs:<br>
wlan2     IEEE 802.11g  ESSID:"Eter"<br>
          Mode:Managed  Frequency:2.462 GHz  Access Point:
00:1F:9F:4C:A1:7F<br>
          Bit Rate=54 Mb/s<br>
          Power Management:off<br>
          Link Quality:92/100  Signal level:-37 dBm  Noise level:-96 dBm<br>
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0<br>
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0<br>
<br>
I have confirmed the router works using a Netgear WG511T cardbus device
as well,which uses madwifi instead, but wpa_supplicant succeeds to
associate with the AP using wext and the config file displayed above.<br>
The output from wpa_supplicant for that device is here, for comparison:
<a class="moz-txt-link-freetext" href="http://pastebin.com/f2175fbe7">http://pastebin.com/f2175fbe7</a><br>
<br>
I suspect the driver is at fault, although upon insertion, dmesg claims:<br>
"wlan2: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK;
AES/CCMP with WPA, WPA2, WPA2PSK"<br>
and there are no errors in dmesg or in the wpa_supplicant output to
suggest something is being tried that the driver/device cannot handle.<br>
The device works in Windows XP using the drivers from 3com.<br>
<br>
I am very eager to get this working, and any help I could get would be
very appreciated!<br>
<br>
Elias<br>
</font>
</body>
</html>