#495: wpa_supplicant on DWL-G650: "SIOCGIWRANGE: too old (short) data - assuming
WPA is not supported"
--------------------------------------------+-------------------------------
 Reporter:  [EMAIL PROTECTED]  |            Owner:                              
        
     Type:  defect                          |           Status:  new            
                     
 Priority:  major                           |        Milestone:  version 0.9.0 
- move to new codebase
Component:  madwifi: driver                 |          Version:  trunk          
                     
 Keywords:  wpa                             |   Patch_attached:  0              
                     
--------------------------------------------+-------------------------------
 I'm trying to connect to a WPA access point (which works well - I'm
 connecting with a HP iPAQ to it using WPA-PSK) from my laptop with a DWL-
 G650 cardbus card.

 I'm using Mandriva 2005 with the today's Subversion madwifi-ng modules.

 The modules load fine, I can find the access point using "iwlist ath0":


 {{{
 ath0      Scan completed :
           Cell 01 - Address: 00:0F:3D:EA:28:68
                     ESSID:"ania"
                     Mode:Master
                     Frequency:2.422 GHz (Channel 3)
                     Quality=45/94  Signal level=-50 dBm  Noise level=-95
 dBm
                     Encryption key:on
                     Bit Rate:1 Mb/s
                     Bit Rate:2 Mb/s
                     Bit Rate:5.5 Mb/s
                     Bit Rate:11 Mb/s
                     Extra:bcn_int=100
 Extra:rsn_ie=30140100000fac040100000fac040100000fac020000
 Extra:wpa_ie=dd160050f20101000050f20401000050f20401000050f202
 }}}



 However, when I launch "wpa_supplicant   -Dmadwifi -iath0
 -c/etc/wpa_supplicant.conf -ddd" I get:


 {{{
 Configuration file '/etc/wpa_supplicant.conf' ->
 '/etc/wpa_supplicant.conf'
 Reading configuration file '/etc/wpa_supplicant.conf'
 ctrl_interface='/var/run/wpa_supplicant'
 ctrl_interface_group=0
 eapol_version=1
 ap_scan=0
 fast_reauth=0
 opensc_engine_path='/usr/lib/opensc/engine_opensc.so'
 pkcs11_engine_path='/usr/lib/opensc/engine_pkcs11.so'
 pkcs11_module_path='/usr/lib/pkcs11/opensc-pkcs11.so'
 Line: 373 - start of a new network block
 ssid - hexdump_ascii(len=4):
      61 6e 69 61                                       ania
 BSSID - hexdump(len=6): 00 0f 3d ea 28 68
 proto: 0x2
 key_mgmt: 0x2
 pairwise: 0x10
 PSK (ASCII passphrase) - hexdump_ascii(len=12): [REMOVED]
 priority=5 (0x5)
 PSK (from passphrase) - hexdump(len=32): [REMOVED]
 Priority group 5
    id=0 ssid='ania'
 Initializing interface (2) 'ath0'
 SIOCGIWRANGE: too old (short) data - assuming WPA is not supported
 Own MAC address: 00:80:c8:17:64:6a
 wpa_driver_madwifi_del_key: keyidx=0
 wpa_driver_madwifi_del_key: keyidx=1
 wpa_driver_madwifi_del_key: keyidx=2
 wpa_driver_madwifi_del_key: keyidx=3
 wpa_driver_madwifi_set_countermeasures: enabled=0
 wpa_driver_madwifi_set_drop_unencrypted: enabled=1
 Setting scan request: 0 sec 100000 usec
 Added interface ath0
 Wireless event: cmd=0x8b06 len=8
 }}}


 .... here it does nothing for a long time, so I eventually CTRL-C:



 {{{
 CTRL-EVENT-TERMINATING - signal 2 received
 Removing interface ath0
 State: DISCONNECTED -> DISCONNECTED
 No keys have been configured - skip key clearing
 wpa_driver_madwifi_set_drop_unencrypted: enabled=0
 wpa_driver_madwifi_set_countermeasures: enabled=0
 No keys have been configured - skip key clearing
 }}}



 If I turn crypto and wpa debugging on using "80211debug +crypto +wpa", I
 can see the message in the kernel logs when I launch wpa_supplicant:

 {{{

 Mar 25 00:41:23 laptop kernel: ath0: _ieee80211_crypto_delkey: NONE keyix
 65535 flags 0x3 tsc 0 len 0
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/495>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to