Unable to connect to AP via WPA-PKS/CCMP

Thomas Heinz thomasheinz
Mon Oct 3 06:44:23 PDT 2005


Hi

Meanwhile, I have tested with hostap-driver 0.4.5 and wpa_supplicant 0.4.5.
Running
# wpa_supplicant -ddd -Dhostap -c /etc/wpa_supplicant.conf -i wlan0
yields:

Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 
'hostap'
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=1
fast_reauth=1
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: 308 - start of a new network block
ssid - hexdump_ascii(len=10):
     4c 6f 74 68 6c 6f 72 69 65 6e                     Lothlorien
priority=0 (0x0)
scan_ssid=1 (0x1)
proto: 0x1
key_mgmt: 0x2
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Lothlorien'
Initializing interface (2) 'wlan0'
ENGINE: Loading dynamic engine
ENGINE: Loading OpenSC Engine from /usr/lib/opensc/engine_opensc.so
ENGINE: 'SO_PATH' '/usr/lib/opensc/engine_opensc.so'
ENGINE: 'ID' 'opensc'
ENGINE: 'LIST_ADD' '1'
ENGINE: 'LOAD' '(null)'
ENGINE: Loading pkcs11 Engine from /usr/lib/opensc/engine_pkcs11.so
ENGINE: 'SO_PATH' '/usr/lib/opensc/engine_pkcs11.so'
ENGINE: 'ID' 'pkcs11'
ENGINE: 'LIST_ADD' '1'
ENGINE: 'LOAD' '(null)'
ENGINE: 'MODULE_PATH' '/usr/lib/pkcs11/opensc-pkcs11.so'
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]: Operation not supported
SIOCGIWRANGE: too old (short) data - assuming WPA is not supported
Own MAC address: 00:01:36:07:68:3f
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
[...]


The main issue is still that "SIOCSIWPMKSA" is not supported. Moreover the 
"assuming that WPA is not supported" and "wpa_driver_hostap_set_key: 
alg=none ..." is striking.

I would appreciate it very much if you could shed some light on this 
matter. The questions in my previous posting are still open.

Thank you for your help.


Regards,

Thomas




More information about the Hostap mailing list