| Summary: | net-wireless/ndiswrapper-1.49 -> 1.50 WPA-PSK connection stalls at GROUP_HANDSHAKE | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Robin Bankhead <gentoo> |
| Component: | Current packages | Assignee: | Piotr Jaroszyński (RETIRED) <peper> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | aspriel, jm.beaune, sharpshopter, stu |
| Priority: | High | ||
| Version: | 2007.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Robin Bankhead
2007-12-05 15:01:21 UTC
*** Bug 201430 has been marked as a duplicate of this bug. *** giri : peper: ask him to use a (d/r)ecent version of windows driver giri : he is using ancient version giri : and for any help with ndiswrapper, he must provide full wpasupplicant debug trace Tried with the following more recent versions of bcmwl5 driver: 3.100.35.1, 3.120.27.0, 3.140.16.0 Same results with all of them, except the ioctl error output no longer appears when restarting the initscript. And with the second and third ones on that list, the device power/tx LEDs remain inactive. How do I go about getting a debug trace from wpa_supplicant? It has no debug use-flag. PS - am now using ndiswrapper-1.50. I had a similar problem--see my duplicate (comment #1). I can't use a newer driver than the one I have with ndiswrapper, because they just don't work (they install, but they don't find the hardware). I did manage to get it to connect using the driver that I have--after I enabled the CCMP and TKIP stuff in Networking --> Wireless, "make oldconfig" knocked it out--but, only as described in my bug report. At this point I have given up after 3 days of trying and switched to using the kernel's bcm43xx driver. It's "experimental", but it works for me... Not sure if this is what you were after but here is the output from starting wpa_supplicant on the commandline with verbose debugging:
pengi linux # /sbin/wpa_supplicant -Dwext -dd -c/etc/wpa_supplicant/wpa_supplicant.conf -W -W -B -iwlan0 -P/var/run/wpa_supplicant-wlan0.pid
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=2
fast_reauth=1
Line: 16 - start of a new network block
ssid - hexdump_ascii(len=7):
72 65 61 67 65 6e 74 reagent
scan_ssid=1 (0x1)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=25): [REMOVED]
priority=1 (0x1)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 27 - start of a new network block
ssid - hexdump_ascii(len=7):
64 6f 6e 67 6c 65 64 dongled
mode=1 (0x1)
key_mgmt: 0x4
wep_key0 - hexdump(len=13): [REMOVED]
wep_tx_keyidx=0 (0x0)
priority=6 (0x6)
Line: 43 - start of a new network block
ssid - hexdump_ascii(len=10):
6a 6f 6c 6c 79 6a 75 64 67 65 jollyjudge
key_mgmt: 0x4
priority=3 (0x3)
Line: 55 - start of a new network block
ssid - hexdump_ascii(len=13):
66 6f 6f 74 6c 69 67 68 74 73 62 61 72 footlightsbar
key_mgmt: 0x4
priority=4 (0x4)
Line: 61 - start of a new network block
ssid - hexdump_ascii(len=8):
42 61 72 20 41 6c 62 61 Bar Alba
scan_ssid=1 (0x1)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
priority=5 (0x5)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 6
id=1 ssid='dongled'
Priority group 5
id=4 ssid='Bar Alba'
Priority group 4
id=3 ssid='footlightsbar'
Priority group 3
id=2 ssid='jollyjudge'
Priority group 1
id=0 ssid='reagent'
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
ioctl[SIOCSIWPMKSA]: Invalid argument
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xd
capabilities: key_mgmt 0x5 enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:30:bd:fc:0b:06
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface wlan0
Daemonize..
wpa_cli doesn't give any additional information than before when wpa_supplicant is started like this.
Incidentally, I have no problem connecting to non-encrypted APs, and if possible I will try out a WEP AP later.
I am ready to build an out-of-portage wpa_supplicant with debug enabled if that's what you need, but would appreciate knowing if you have any specific guidelines for doing so.
Hi,
Same problem here, can associate to non encrypted networks but WPA network doesn't work anymore since upgrade of kernel + ndiswrapper.
Here's what wpa_supplicant tells me (stopped with CTRL+C):
genbox ~ # wpa_supplicant /sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=3):
6a 6d 62 jmb
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
key_mgmt: 0x2
proto: 0x1
scan_ssid=1 (0x1)
priority=10 (0xa)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 10
id=0 ssid='jmb'
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)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:14:a5:d8:3e:4b
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=3):
6a 6d 62 jmb
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 3990 bytes of scan results (17 BSSes)
Scan results: 17
Selecting BSS from priority group 10
0: b6:89:d9:59:3b:d6 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
1: b6:89:d9:59:3b:d4 ssid='jmb' wpa_ie_len=28 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with b6:89:d9:59:3b:d4 (SSID='jmb' freq=2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 04 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=11
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID b6:89:d9:59:3b:d4 into blacklist
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
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 4094 bytes of scan results (18 BSSes)
Scan results: 18
Selecting BSS from priority group 10
0: b6:89:d9:59:3b:d7 ssid='freephonie' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: b6:89:d9:59:3b:d5 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
2: 00:14:a4:28:ee:d8 ssid='Livebox-BDB0' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
3: 00:0e:9b:91:5a:6f ssid='Livebox-9BB8' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
4: 00:17:33:2f:64:a1 ssid='NEUF_64A0' wpa_ie_len=30 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
5: 0e:54:3a:7e:87:79 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
6: 0e:54:3a:7e:87:7b ssid='freephonie' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
7: 0e:54:3a:7e:87:7a ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
8: 0e:54:3a:7e:87:78 ssid='webspider' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
9: e6:d5:43:e4:27:d4 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
10: e6:d5:43:e4:27:d7 ssid='freephonie' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
11: 00:17:33:28:0b:39 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
12: 00:16:41:ce:c9:c4 ssid='Livebox-d38a' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
13: 00:90:d0:fc:5d:f2 ssid='SpeedTouch7A1208' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
14: 00:a0:f8:a7:37:20 ssid='swisscom' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
15: 00:17:33:2f:64:a8 ssid='Neuf WiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
16: 00:a0:f8:a7:19:97 ssid='swisscom' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
17: 00:19:15:44:34:e7 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
No APs found - clear blacklist and try again
Removed BSSID b6:89:d9:59:3b:d4 from blacklist (clear)
Selecting BSS from priority group 10
0: b6:89:d9:59:3b:d7 ssid='freephonie' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: b6:89:d9:59:3b:d5 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
2: 00:14:a4:28:ee:d8 ssid='Livebox-BDB0' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
3: 00:0e:9b:91:5a:6f ssid='Livebox-9BB8' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
4: 00:17:33:2f:64:a1 ssid='NEUF_64A0' wpa_ie_len=30 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
5: 0e:54:3a:7e:87:79 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
6: 0e:54:3a:7e:87:7b ssid='freephonie' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
7: 0e:54:3a:7e:87:7a ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
8: 0e:54:3a:7e:87:78 ssid='webspider' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
9: e6:d5:43:e4:27:d4 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
10: e6:d5:43:e4:27:d7 ssid='freephonie' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
11: 00:17:33:28:0b:39 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
12: 00:16:41:ce:c9:c4 ssid='Livebox-d38a' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
13: 00:90:d0:fc:5d:f2 ssid='SpeedTouch7A1208' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
14: 00:a0:f8:a7:37:20 ssid='swisscom' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
15: 00:17:33:2f:64:a8 ssid='Neuf WiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
16: 00:a0:f8:a7:19:97 ssid='swisscom' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
17: 00:19:15:44:34:e7 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=3):
6a 6d 62 jmb
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6
And my emerge --info:
genbox ~ # emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Timestamp of tree: Sun, 23 Dec 2007 09:16:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts berkdb bitmap-fonts cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog java jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="i810"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Ready to give you more info if needed.
Thank you
Versions of wpa_supplicant and ndiswrapper I use: genbox ~ # emerge -pv wpa_supplicant ndiswrapper These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-wireless/wpa_supplicant-0.5.7 USE="dbus qt3 qt4 readline ssl -gnutls -gsm -madwifi" 0 kB [ebuild R ] net-wireless/ndiswrapper-1.50 USE="usb -debug" 0 kB An additional test has been done successfully with WEP so: - no encryption -> OK - WEP -> OK - WPA - NO OK :-( _giri : I haven't heard (or experienced) issues with wpa authentication _giri : ask him to check his kernel messages for any errors This is really an upstream issue so it would be probably better to deal with upstream directly :) #ndiswrapper @ freenode. Tested gentoo-sources 2.6.22-r9 and 2.6.23-r3 with same result and nothing relevant in dmesg except that ndiswrapper module is loaded correctly. I have another wireless computer with same version of wpa_supplicant but with ipw3945 and it works fine so I'd go for a pure ndiswrapper issue. Observed a similar behaviour on my laptop system with a slight variation that after 10 to 15 minutes the key negotiation does complete successfully and I do get my wireless connection up and running for a while until the next rekeying sequence (i assume). Looking at the previous comment I tried to revert to ndiswrapper-1.49, but this did not change the behaviour so remerged it. Below some additional info.
[ebuild R ] net-wireless/ndiswrapper-1.51 USE="-debug -usb" 0 kB
[ebuild R ] net-wireless/wpa_supplicant-0.5.7 USE="dbus readline ssl -gnutls -gsm -madwifi -qt3 -qt4" 0 kB
aspriel@turion ~ $ /usr/sbin/ndiswrapper -l
neti2220x64 : driver installed
device (17FE:2220) present <== INPROCOMM IPN2220 Wireless LAN Card
aspriel@turion ~ $ emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 AMD Turion(tm) 64 Mobile Technology MT-30
Timestamp of tree: Fri, 01 Feb 2008 21:16:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ "
LANG="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bitmap-fonts cairo cddb cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds encode esd evo fam ffmpeg firefox fortran gdbm gif gnome gstreamer gtk hal iconv isdnlog jpeg kerberos ldap mad midi mmx mp3 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis x264 xinetd xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vga svga vesa fbdev glint"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This (In reply to comment #11) > Observed a similar behaviour on my laptop system with a slight variation that > after 10 to 15 minutes the key negotiation does complete successfully and I do > get my wireless connection up and running for a while until the next rekeying > sequence (i assume). This sounds like a behaviour I observed just before I gave up on this card. With gentoo-sources-2.6.24 and ndiswrapper-1.51, I left it running and fell asleep and at some point within 2 hours it began to work. Interesting that this is a different chipset driver and same behaviour... Might have something to add to this issue. When I had the failing handshake I did following actions: 1. stop net.wlan0 script. 2. rmmod ndiswrapper. 3. modprobed ndiswrapper. After these steps I tried to start net.wlan0 again, but got message it was already started and my wireless connection had received an IP address from my DHCP server. Still not sure what could possibly be going on, but this may give someone else an idea. (In reply to comment #13) > Might have something to add to this issue. When I had the failing handshake I > did following actions: > 1. stop net.wlan0 script. > 2. rmmod ndiswrapper. > 3. modprobed ndiswrapper. > After these steps I tried to start net.wlan0 again, but got message it was > already started and my wireless connection had received an IP address from my > DHCP server. Still not sure what could possibly be going on, but this may give > someone else an idea. Opened an issue for this on bugzilla of wpa_supplicant and did some more investigation on the issue. Results were added there. I will try to sniff the actual packets in the air later when I have my sniffer laptop up and running. Better add the link here as well: http://w1.fi/bugz/show_bug.cgi?id=262 (In reply to comment #14) > (In reply to comment #13) > > Might have something to add to this issue. When I had the failing handshake I > > did following actions: > > 1. stop net.wlan0 script. > > 2. rmmod ndiswrapper. > > 3. modprobed ndiswrapper. > > After these steps I tried to start net.wlan0 again, but got message it was > > already started and my wireless connection had received an IP address from my > > DHCP server. Still not sure what could possibly be going on, but this may give > > someone else an idea. > Opened an issue for this on bugzilla of wpa_supplicant and did some more > investigation on the issue. Results were added there. I will try to sniff the > actual packets in the air later when I have my sniffer laptop up and running. I stumbled upon a difference between wpa_supplicant as package in the gentoo distribution and when I build the original sources. In the distribution the package uses DBUS for the control interface. I did build the original sources without using DBUS and I always get a successful pairwise and group key handshake immediately. Currently, I switched over to Ubuntu so I can not verify whether the problem would be resolved when adding '-dbus' to the USE flags for wpa_supplicant (in /etc/portage/package.use), but maybe someone else can try this. (In reply to comment #15) > Better add the link here as well: > > http://w1.fi/bugz/show_bug.cgi?id=262 > > (In reply to comment #14) > > (In reply to comment #13) > > > Might have something to add to this issue. When I had the failing handshake I > > > did following actions: > > > 1. stop net.wlan0 script. > > > 2. rmmod ndiswrapper. > > > 3. modprobed ndiswrapper. > > > After these steps I tried to start net.wlan0 again, but got message it was > > > already started and my wireless connection had received an IP address from my > > > DHCP server. Still not sure what could possibly be going on, but this may give > > > someone else an idea. > > Opened an issue for this on bugzilla of wpa_supplicant and did some more > > investigation on the issue. Results were added there. I will try to sniff the > > actual packets in the air later when I have my sniffer laptop up and running. > http://w1.fi/bugz/show_bug.cgi?id=255#c12 If this is still a issue with latest versions, please reopen. |