Bug#439896: [pkg-wpa-devel] Bug#439896: WPA does not work on Dell Wireless 1390

2007-09-09 Thread Reinhard Tartler
Frank Denissen [EMAIL PROTECTED] writes:

 I found this in the output of dmesg:

 wlan0: ethernet device 00:19:7d:3a:17:eb using NDIS driver: bcmwl5, version: 
 0x4640f05, NDIS
 version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
 wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; 
 AES/CCMP with WPA, WPA2,
 WPA2PSK

 Obviously ndiswrapper reports here that WPA is supported.

In dmesg, yes. But not to wpasupplicant using ioctls. And that's why the
problem is (most probably) in ndiswrapper. More likely, it is in the
windows drivers you are using.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#439896: WPA does not work on Dell Wireless 1390

2007-09-08 Thread Frank Denissen




Hello Kel,

I don't think your conclusion is correct.
I found this in the output of dmesg:

wlan0: ethernet device 00:19:7d:3a:17:eb using NDIS driver: bcmwl5,
version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network
Adapter', 14E4:4311.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK;
AES/CCMP with WPA, WPA2, WPA2PSK

Obviously ndiswrapper reports here that WPA is supported.

Best regards,

Frank


Kel Modderman schreef:

  reassign 439896 ndiswrapper-source
thanks

Hi Frank,

On Tue, 28 Aug 2007 07:47:08 pm Frank Denissen wrote:
  
  
I have a Dell Inspiron with Dell Wireless 1390. Access to my wireless
router works fine without encryption or with WEP. Only WPA does not work
under Linux (ndiswrapper + windows driver). WPA works fine under
Windows, using the same version of the driver.

  
  
This is not a bug of wpasupplicant. See below for why.

  
  
$ /sbin/wpa_supplicant -w -Dndiswrapper -iwlan0
-c/etc/wpa_supplicant/wpa_supplicant.conf -dd

Initializing interface 'wlan0' conf
'/etc/wpa_supplicant/wpa_supplicant.conf' driver 'ndiswrapper'

  
  snip
  
  
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:19:7d:3a:17:eb
Driver does not support WPA.

  
  
This is the punchline. ndiswrapper doesn't think your windows driver supports 
WPA, and reports that to wpa_supplicant. Maybe yry a different windows 
driver?

Personally, I find the native bcm43xx module to be quite okay, ymmv of course.

Thanks, Kel.


  






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#439896: WPA does not work on Dell Wireless 1390

2007-08-28 Thread Frank Denissen

Package: wpasupplicant
Version: 0.5.5-2
Severity: normal

I have a Dell Inspiron with Dell Wireless 1390. Access to my wireless 
router works fine without encryption or with WEP. Only WPA does not work 
under Linux (ndiswrapper + windows driver). WPA works fine under 
Windows, using the same version of the driver.


Software:

   * OS: I tried both Debian backports kernel: 
linux-image-2.6.21-1-amd64 and linux-image-2.6.21-2-686
   * ndiswrapper: I tried both version 1.32 and 1.47 (recompiled on 
laptop and installed)
   * wpasupplicant: I tried both version 0.5.5-2 version and 0.6.0-3 
(package rebuild on laptop)
   * driver from Dell http://ftp.us.dell.com/network/R151517.EXE (unzip 
and use DRIVER/bcmwl5.inf)


Installation procedure:

   * I followed the instructions on 
http://ubuntuforums.org/showthread.php?t=31926 for installation of 
ndiswrapper and driver
   * I followed the instructions on 
http://ubuntuforums.org/showthread.php?t=31418highlight=wpa for wpa


Output of some commands:

$ ndiswrapper -l

bcmwl5 : driver installed
   device (14E4:4311) present (alternate driver: bcm43xx)
$ ndiswrapper -v

utils version: '1.9', utils version needed by module: '1.9'
module details:
filename:   /lib/modules/2.6.21-1-amd64-k8-bs/misc/ndiswrapper.ko
version:1.47
vermagic:   2.6.21-1-amd64-k8-bs SMP mod_unload
$ cat /etc/wpa_supplicant/wpa_supplicant.conf

network={
   ssid=Dierentuin
   #psk=0123456789
   psk=22797e8d44e30e04e9f7c41eec341fc23afd92b528b27c7999b177fe8d1bbdb8
   key_mgmt=WPA-PSK
   proto=WPA
}

$ /sbin/wpa_supplicant -w -Dndiswrapper -iwlan0 
-c/etc/wpa_supplicant/wpa_supplicant.conf -dd


Initializing interface 'wlan0' conf 
'/etc/wpa_supplicant/wpa_supplicant.conf' driver 'ndiswrapper' 
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'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=10):
44 69 65 72 65 6e 74 75 69 6e Dierentuin 
PSK - hexdump(len=32): [REMOVED]

key_mgmt: 0x2
proto: 0x1
Priority group 0
  id=0 ssid='Dierentuin'
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:19:7d:3a:17:eb
Driver does not support 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
Setting scan request: 0 sec 10 usec
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=12
State: DISCONNECTED - SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan 
to speed up initial association

Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 862 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:1b:11:9b:78:70 ssid='Dierentuin' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
  selected based on WPA IE
Trying to associate with 00:1b:11:9b:78:70 (SSID='Dierentuin' freq=2412 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 8 key_mgmt 2 proto 1
WPA: set AP 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

WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
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 02 01 00 00 50 f2 02

No keys have been configured - skip key clearing
State: SCANNING - ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0-0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:1b:11:9b:78:70 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 - 

Bug#439896: WPA does not work on Dell Wireless 1390

2007-08-28 Thread Kel Modderman
reassign 439896 ndiswrapper-source
thanks

Hi Frank,

On Tue, 28 Aug 2007 07:47:08 pm Frank Denissen wrote:
 I have a Dell Inspiron with Dell Wireless 1390. Access to my wireless
 router works fine without encryption or with WEP. Only WPA does not work
 under Linux (ndiswrapper + windows driver). WPA works fine under
 Windows, using the same version of the driver.

This is not a bug of wpasupplicant. See below for why.

 $ /sbin/wpa_supplicant -w -Dndiswrapper -iwlan0
 -c/etc/wpa_supplicant/wpa_supplicant.conf -dd

 Initializing interface 'wlan0' conf
 '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'ndiswrapper'
snip
 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:19:7d:3a:17:eb
 Driver does not support WPA.

This is the punchline. ndiswrapper doesn't think your windows driver supports 
WPA, and reports that to wpa_supplicant. Maybe yry a different windows 
driver?

Personally, I find the native bcm43xx module to be quite okay, ymmv of course.

Thanks, Kel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]