WPA-PSK, madwifi & WAP-4000

k0STEk kostek at ustka.org
Thu May 25 02:31:22 EDT 2006


Jouni Malinen napisał(a):

>On Tue, May 23, 2006 at 09:17:10AM +0200, k0STEk wrote:
>
>  
>
>>I have problem associating planet-8310 (atheros) card with WAP-4000 
>>using WPA-PSK.
>>WAP-4000 is AP with hidden SSID
>>    
>>
>
>  
>
>>madwifi: current
>>    
>>
>
>  
>
>>wpa_supplicant.conf:
>>ap_scan=2
>>network={
>>       ssid="vabank"
>>       psk=3e1136fa623cead818de40825be455b90cfcad6bb755ccc03c405exxxxxxxxxx
>>       key_mgmt=WPA-PSK
>>       proto=WPA
>>}
>>    
>>
>
>ap_scan=2 mode requires exact specification of encryption parameters,
>i.e., you would need to add pairwise and group parameters in the network
>block. However, with madwifi driver, using ap_scan=1 with scan_ssid=1 in
>the network block is more likely to work with hidden SSIDs.
>
>  
>
I've changed wpa_supplicant.conf to:
ap_scan=1
network={
scan_ssid=1
ssid="vabank"
#psk="brzozowawillowa"
psk=3e1136fa623cead818de40825be455b90cfcad6bb755ccc03c405exxxxxxxxxx
key_mgmt=WPA-PSK
proto=WPA
}
and still no luck... here is log:

ap_scan=1
Line: 2 - start of a new network block
scan_ssid=1 (0x1)
ssid - hexdump_ascii(len=6):
76 61 62 61 6e 6b vabank
PSK - hexdump(len=32): [REMOVED]
key_mgmt: 0x2
proto: 0x1
Priority group 0
id=0 ssid='vabank'
Initializing interface (2) 'ath0'
SIOCGIWRANGE: WE(compiled)=19 WE(source)=13 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:30:4f:4a:d3:a6
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
Ignore event for foreign ifindex 5
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=6):
76 61 62 61 6e 6b vabank
Wireless event: cmd=0x8b1a len=15
Scan timeout - try to get results

best regards
k0stek



More information about the HostAP mailing list