cannot connect to AccessPoint

Helko Glathe helko.glathe at freenet.de
Mon Oct 24 16:13:52 EDT 2005


Hello! 

I have some problems to connect my Thinkpad via wireless lan to the access
point using WPA encryption. 

My network adapter is a Cisco Systems 350 Wireless LAN Adapter. 

My wpa_supplicant.conf is... 

ctrl_interface=/var/run/wpa_supplicant 

ctrl_interface_group=0 

ap_scan=2 

network={ 

ssid="myyyyWLAN" 

psk="myyyyyyyPSK" 

key_mgmt=WPA-PSK 

proto=WPA 

pairwise=TKIP 

group=TKIP 

} 

When I run 

wpa_supplicant -ian0 -c /etc/wpa_supplicant.conf -ddd 

I get the following output 

Initializing interface 'an0' conf '/etc/wpa_supplicant.conf' driver
'default'

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

ap_scan=2

Line: 4 - start of a new network block

ssid - hexdump_ascii(len=9):

6b 61 74 65 72 6d 61 75 73 myyyyWLAN 

PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED]

key_mgmt: 0x2

proto: 0x1

pairwise: 0x8

group: 0x8

PSK (from passphrase) - hexdump(len=32): [REMOVED]

Priority group 5

id=0 ssid='myyyyWLAN'

Initializing interface (2) 'an0'

Own MAC address: 00:0b:be:ad:34:d3

wpa_driver_bsd_set_wpa: enabled=1

wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1

wpa_driver_bsd_del_key: keyidx=0

wpa_driver_bsd_del_key: keyidx=1

wpa_driver_bsd_del_key: keyidx=2

wpa_driver_bsd_del_key: keyidx=3

wpa_driver_bsd_set_countermeasures: enabled=0

wpa_driver_bsd_set_drop_unencrypted: enabled=1

Setting scan request: 0 sec 100000 usec

Trying to associate with SSID 'myyyyWLAN'

Cancelling scan request

Automatic auth_alg selection: 0x1

WPA: Set cipher suites based on configuration

WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2

WPA: using GTK TKIP

WPA: using PTK TKIP

WPA: using KEY_MGMT WPA-PSK

WPA: Own 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

No keys have been configured - skip key clearing

wpa_driver_bsd_set_drop_unencrypted: enabled=1

wpa_driver_bsd_associate: ssid 'myyyyWLAN' wpa ie len 24 pairwise 2 group 2
key mgmt 1

wpa_driver_bsd_associate: set PRIVACY 1

Setting authentication timeout: 5 sec 0 usec

Authentication with 00:00:00:00:00:00 timed out.

Added BSSID 00:00:00:00:00:00 into blacklist

No keys have been configured - skip key clearing

Setting scan request: 0 sec 0 usec

Trying to associate with SSID 'myyyyWLAN'

Cancelling scan request

Automatic auth_alg selection: 0x1

WPA: Set cipher suites based on configuration

WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2

WPA: using GTK TKIP

WPA: using PTK TKIP

WPA: using KEY_MGMT WPA-PSK

WPA: Own 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

No keys have been configured - skip key clearing

wpa_driver_bsd_set_drop_unencrypted: enabled=1

wpa_driver_bsd_associate: ssid 'myyyyWLAN' wpa ie len 24 pairwise 2 group 2
key mgmt 1

wpa_driver_bsd_associate: set PRIVACY 1

Setting authentication timeout: 5 sec 0 usec

Authentication with 00:00:00:00:00:00 timed out.

BSSID 00:00:00:00:00:00 blacklist count incremented to 2

No keys have been configured - skip key clearing

Setting scan request: 0 sec 0 usec

Trying to associate with SSID 'myyyyWLAN'

Cancelling scan request

Automatic auth_alg selection: 0x1

WPA: Set cipher suites based on configuration

WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2

WPA: using GTK TKIP

WPA: using PTK TKIP

WPA: using KEY_MGMT WPA-PSK

WPA: Own 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

No keys have been configured - skip key clearing

wpa_driver_bsd_set_drop_unencrypted: enabled=1

wpa_driver_bsd_associate: ssid 'myyyyWLAN' wpa ie len 24 pairwise 2 group 2
key mgmt 1

wpa_driver_bsd_associate: set PRIVACY 1

Setting authentication timeout: 5 sec 0 usec

Authentication with 00:00:00:00:00:00 timed out.

BSSID 00:00:00:00:00:00 blacklist count incremented to 3

No keys have been configured - skip key clearing

Setting scan request: 0 sec 0 usec

Trying to associate with SSID 'myyyyWLAN'

Cancelling scan request

Automatic auth_alg selection: 0x1

WPA: Set cipher suites based on configuration

WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2

WPA: using GTK TKIP

WPA: using PTK TKIP

WPA: using KEY_MGMT WPA-PSK

WPA: Own 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

No keys have been configured - skip key clearing

wpa_driver_bsd_set_drop_unencrypted: enabled=1

wpa_driver_bsd_associate: ssid 'myyyyWLAN' wpa ie len 24 pairw

........

I also run wpa_supplicant with ap_scan=1. But the Ap sends no bssid.
Therefore I switched to ap_scan=2...

I don't know why I get no connection to the ap. Perhaps anyone can help me!?

---------------------------------------------------------- 

With kind regards 

Helko Glathe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20051024/266c26ba/attachment.htm 


More information about the HostAP mailing list