WPA: No encryption reported
joe_x at ich-habe-fertig.com
joe_x
Mon Sep 5 04:44:40 PDT 2005
I am sorry for the delay.
The problem again: wpa_supplicant sees the access point but fails to
detect WPA encryption.
The facts at a glance:
iwlist scanning: reports encryption present
Windows connects to the AP with WPA encryption (PSK, TKIP).
Linux with RaLink-based (rt2500) card connects to the AP with WPA.
wpa_supplicant fails to see encryption:
5: 00:03...:ca ssid='wolke' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
Any suggestions what could be done?
Regards,
Wolfi
Here is the complete setup:
It is a laptop with an ipw2200-based card. Non-encrypted links work
nice under linux. The other side is a linux-based T-Sinus DSL modem/
router
bash# wpa_supplicant -v
wpa_supplicant v0.3.8
Copyright (c) 2003-2005, Jouni Malinen <jkmaline at cc.hut.fi> and
contributors
bash# uname -a
Linux ... 2.6.10-5-386 #1 Tue Apr 5 12:12:40 UTC 2005 i686 GNU/Linux
bash# iwlist eth0 scanning
Cell 06 - Address: 00:03:...
ESSID:"wolke"
Protocol:IEEE 802.11bg
Mode:Master
Channel:4
Encryption key:on
Bit Rate:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Extra: RSSI: -39 dBm
Extra: Last beacon: 4ms ago
bash# modinfo ipw2200
filename: /lib/modules/.../ipw2200.ko
description: Intel(R) PRO/Wireless 2200/2915 Network Driver
version: 0.19
author: Copyright(c) 2003-2004 Intel Corporation
license: GPL
bash# cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="wolke"
scan_ssid=1
psk="secret :)"
priority=5
}
bash# wpa_supplicant -ieth0 -c/etc/wpa_supplicant.conf -Dipw -d
Initializing interface 'eth0' conf '/etc/wpa_supplicant.conf' driver 'ipw'
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
Priority group 5
id=0 ssid='wolke'
Initializing interface (2) 'eth0'
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
wpa_driver_ipw_init is called
Own MAC address: 00:12:...
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=6):
77 6f 6c 6b 65 37 wolke
ioctl[SIOCSIWSCAN{,EXT}]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Scan timeout - try to get results
Received 1302 bytes of scan results (6 BSSes)
Scan results: 6
Selecting BSS from priority group 5
0: 00:04:... ssid='FRITZ!Box Fon WLAN 7050' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
...
5: 00:03:... ssid='wolke' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 1304 bytes of scan results (6 BSSes)
Scan results: 6
Selecting BSS from priority group 5
0: 00:04:0e:6f:5e:5d ssid='FRITZ!Box Fon WLAN 7050' wpa_ie_len=0
rsn_ie_len=0
skip - no WPA/RSN IE
...
5: 00:03:... ssid='wolke' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
cSignal 2 received - terminating
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_set_wpa: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
...
--
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen f?r GMX Partner: http://www.gmx.net/de/go/partner
More information about the Hostap
mailing list