[Comm] madwifi+wpa_supplicant

Boris Muradov =?iso-8859-1?q?boris=2Emuradov_=CE=C1_mail=2Eru?=
Вс Ноя 4 20:47:00 MSK 2007


Здравствуйте,

Сompact 3.0.
802.11 chipset Atheros.
пробую подключиться к wifi точке доступа через WPA-PKS (через WEP все ок).
для поддержки WPA на чипсете Atheros обновлены:
kernel-modules-madwifi-std-smp-0.9.14.9
wpa_supplicant-0.5.8-alt1


ядро чипсет вроде распознало:

ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
ath_rate_onoe: 1.0
ath_pci: 0.9.4.12 (EXPERIMENTAL)
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 5.9 phy 4.3 radio 3.6
ath0: 802.11 address: 00:0e:9b:c6:90:8f
ath0: Use hw queue 0 for WME_AC_BE traffic
ath0: Use hw queue 1 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Atheros 5212: mem=0xd0200000, irq=21

точка доступа видна (iwlist ath0 scan):

Cell 05 - Address: 00:60:B3:D8:17:6C
          ESSID:"ADSL_Wireless"
          Mode:Master
          Frequency:2.437 GHz (Channel 6)
          Quality=30/94  Signal level=-65 dBm  Noise level=-95 dBm
          Encryption key:on
          Bit Rate:1 Mb/s
          Bit Rate:2 Mb/s
          Bit Rate:5 Mb/s
          Bit Rate:6 Mb/s
          Bit Rate:9 Mb/s
          Bit Rate:11 Mb/s
          Bit Rate:12 Mb/s
          Bit Rate:18 Mb/s
          Bit Rate:22 Mb/s
          Bit Rate:24 Mb/s
          Bit Rate:36 Mb/s
          Bit Rate:48 Mb/s
          Bit Rate:54 Mb/s
          Extra:bcn_int=200
          Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202

/etc/wpa_supplicant.conf - проще некуда

network={
	ssid="ADSL_Wireless"
	key_mgmt=WPA-PSK
	proto=WPA
	pairwise=TKIP
	group=TKIP
	psk=7a31cd1c5479c395a83f2916711735e2fda0773dd09ced939e7c0a8f07ec2229
}

на дальше ничего не получилось, помогите, pls, разобраться, прошу извинить за длинный листинг.

wpa_supplicant -iath0 -Dmadwifi -c /etc/wpa_supplicant.conf
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[IEEE80211_IOCTL_DELKEY]: Operation not supported
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[IEEE80211_IOCTL_SETMLME]: Operation not supported
ioctl[IEEE80211_IOCTL_SETMLME]: Operation not supported
ioctl[IEEE80211_IOCTL_SETMLME]: Operation not supported
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=13):
     41 44 53 4c 5f 57 69 72 65 6c 65 73 73            ADSL_Wireless   
key_mgmt: 0x2
proto: 0x1
pairwise: 0x8
group: 0x8
PSK - hexdump(len=32): 7a 31 cd 1c 54 79 c3 95 a8 3f 29 16 71 17 35 e2 fd a0 77 3d d0 9c ed 93 9e 7c 0a 8f 07 ec 22 29
Priority group 0
   id=0 ssid='ADSL_Wireless'
Initializing interface (2) 'ath0'
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: too old (short) data - assuming WPA is not supported
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:0e:9b:c6:90:8f
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
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Added BSSID 00:00:00:00:00:00 into blacklist
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
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_del_key: keyidx=0
State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
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
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b1a len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b19 len=12
Received 1340 bytes of scan results (7 BSSes)
Scan results: 7
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:60:b3:d8:17:6c ssid='ADSL_Wireless' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
   selected WPA AP 00:60:b3:d8:17:6c ssid='ADSL_Wireless'
Try to find non-WPA AP
Trying to associate with 00:60:b3:d8:17:6c (SSID='ADSL_Wireless' freq=2437 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
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_madwifi_associate
wpa_driver_madwifi_associate: SETMLME[ASSOC] failed
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
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b1a len=26
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:60:b3:d8:17:6c into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED




Подробная информация о списке рассылки community