<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY><FONT size=2>
<P>Hello!</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>I have some problems to connect my Thinkpad via wireless lan to the access 
point using WPA encryption.</FONT><FONT face="Times New Roman"> </P></FONT><FONT 
size=2>
<P>My network adapter is a Cisco Systems 350 Wireless LAN Adapter.</FONT><FONT 
face="Times New Roman"> </P></FONT><FONT size=2>
<P>My wpa_supplicant.conf is...</FONT><FONT face="Times New Roman"> 
</P></FONT><FONT size=2>
<P>ctrl_interface=/var/run/wpa_supplicant</FONT><FONT face="Times New Roman"> 
</P></FONT><FONT size=2>
<P>ctrl_interface_group=0</FONT><FONT face="Times New Roman"> </P></FONT><FONT 
size=2>
<P>ap_scan=2</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>network={</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>ssid="myyyyWLAN"</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>psk="myyyyyyyPSK"</FONT><FONT face="Times New Roman"> </P></FONT><FONT 
size=2>
<P>key_mgmt=WPA-PSK</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>proto=WPA</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>pairwise=TKIP</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>group=TKIP</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>}</FONT><FONT face="Times New Roman"> </P></FONT><FONT size=2>
<P>When I run </P>
<P>wpa_supplicant -ian0 -c /etc/wpa_supplicant.conf -ddd</FONT><FONT 
face="Times New Roman"> </P></FONT><FONT size=2>
<P>I get the following output</FONT><FONT face="Times New Roman"> 
</P></FONT><FONT size=2>
<P>Initializing interface 'an0' conf '/etc/wpa_supplicant.conf' driver 
'default'</P>
<P>Configuration file '/etc/wpa_supplicant.conf' -&gt; 
'/etc/wpa_supplicant.conf'</P>
<P>Reading configuration file '/etc/wpa_supplicant.conf'</P>
<P>ctrl_interface='/var/run/wpa_supplicant'</P>
<P>ctrl_interface_group=0</P>
<P>ap_scan=2</P>
<P>Line: 4 - start of a new network block</P>
<P>ssid - hexdump_ascii(len=9):</P>
<P>6b 61 74 65 72 6d 61 75 73 myyyyWLAN </P>
<P>PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED]</P>
<P>key_mgmt: 0x2</P>
<P>proto: 0x1</P>
<P>pairwise: 0x8</P>
<P>group: 0x8</P>
<P>PSK (from passphrase) - hexdump(len=32): [REMOVED]</P>
<P>Priority group 5</P>
<P>id=0 ssid='myyyyWLAN'</P>
<P>Initializing interface (2) 'an0'</P>
<P>Own MAC address: 00:0b:be:ad:34:d3</P>
<P>wpa_driver_bsd_set_wpa: enabled=1</P>
<P>wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1</P>
<P>wpa_driver_bsd_del_key: keyidx=0</P>
<P>wpa_driver_bsd_del_key: keyidx=1</P>
<P>wpa_driver_bsd_del_key: keyidx=2</P>
<P>wpa_driver_bsd_del_key: keyidx=3</P>
<P>wpa_driver_bsd_set_countermeasures: enabled=0</P>
<P>wpa_driver_bsd_set_drop_unencrypted: enabled=1</P>
<P>Setting scan request: 0 sec 100000 usec</P>
<P>Trying to associate with SSID 'myyyyWLAN'</P>
<P>Cancelling scan request</P>
<P>Automatic auth_alg selection: 0x1</P>
<P>WPA: Set cipher suites based on configuration</P>
<P>WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2</P>
<P>WPA: using GTK TKIP</P>
<P>WPA: using PTK TKIP</P>
<P>WPA: using KEY_MGMT WPA-PSK</P>
<P>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</P>
<P>No keys have been configured - skip key clearing</P>
<P>wpa_driver_bsd_set_drop_unencrypted: enabled=1</P>
<P>wpa_driver_bsd_associate: ssid 'myyyyWLAN' wpa ie len 24 pairwise 2 group 2 
key mgmt 1</P>
<P>wpa_driver_bsd_associate: set PRIVACY 1</P>
<P>Setting authentication timeout: 5 sec 0 usec</P>
<P>Authentication with 00:00:00:00:00:00 timed out.</P>
<P>Added BSSID 00:00:00:00:00:00 into blacklist</P>
<P>No keys have been configured - skip key clearing</P>
<P>Setting scan request: 0 sec 0 usec</P>
<P>Trying to associate with SSID 'myyyyWLAN'</P>
<P>Cancelling scan request</P>
<P>Automatic auth_alg selection: 0x1</P>
<P>WPA: Set cipher suites based on configuration</P>
<P>WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2</P>
<P>WPA: using GTK TKIP</P>
<P>WPA: using PTK TKIP</P>
<P>WPA: using KEY_MGMT WPA-PSK</P>
<P>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</P>
<P>No keys have been configured - skip key clearing</P>
<P>wpa_driver_bsd_set_drop_unencrypted: enabled=1</P>
<P>wpa_driver_bsd_associate: ssid 'myyyyWLAN' wpa ie len 24 pairwise 2 group 2 
key mgmt 1</P>
<P>wpa_driver_bsd_associate: set PRIVACY 1</P>
<P>Setting authentication timeout: 5 sec 0 usec</P>
<P>Authentication with 00:00:00:00:00:00 timed out.</P>
<P>BSSID 00:00:00:00:00:00 blacklist count incremented to 2</P>
<P>No keys have been configured - skip key clearing</P>
<P>Setting scan request: 0 sec 0 usec</P>
<P>Trying to associate with SSID 'myyyyWLAN'</P>
<P>Cancelling scan request</P>
<P>Automatic auth_alg selection: 0x1</P>
<P>WPA: Set cipher suites based on configuration</P>
<P>WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2</P>
<P>WPA: using GTK TKIP</P>
<P>WPA: using PTK TKIP</P>
<P>WPA: using KEY_MGMT WPA-PSK</P>
<P>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</P>
<P>No keys have been configured - skip key clearing</P>
<P>wpa_driver_bsd_set_drop_unencrypted: enabled=1</P>
<P>wpa_driver_bsd_associate: ssid 'myyyyWLAN' wpa ie len 24 pairwise 2 group 2 
key mgmt 1</P>
<P>wpa_driver_bsd_associate: set PRIVACY 1</P>
<P>Setting authentication timeout: 5 sec 0 usec</P>
<P>Authentication with 00:00:00:00:00:00 timed out.</P>
<P>BSSID 00:00:00:00:00:00 blacklist count incremented to 3</P>
<P>No keys have been configured - skip key clearing</P>
<P>Setting scan request: 0 sec 0 usec</P>
<P>Trying to associate with SSID 'myyyyWLAN'</P>
<P>Cancelling scan request</P>
<P>Automatic auth_alg selection: 0x1</P>
<P>WPA: Set cipher suites based on configuration</P>
<P>WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2</P>
<P>WPA: using GTK TKIP</P>
<P>WPA: using PTK TKIP</P>
<P>WPA: using KEY_MGMT WPA-PSK</P>
<P>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</P>
<P>No keys have been configured - skip key clearing</P>
<P>wpa_driver_bsd_set_drop_unencrypted: enabled=1</P>
<P>wpa_driver_bsd_associate: ssid 'myyyyWLAN' wpa ie len 24 pairw</P>
<P>........</P>
<P>I also run wpa_supplicant with ap_scan=1. But the Ap sends no bssid. 
Therefore I switched to ap_scan=2...</P>
<P>I don't know why I get no connection to the ap. Perhaps anyone can help 
me!?</P>
<P>----------------------------------------------------------</FONT><FONT 
face="Times New Roman"> </P></FONT><FONT size=2>
<P>With kind regards</FONT><FONT face="Times New Roman"> </P></FONT><FONT 
size=2>
<P>Helko Glathe</P></FONT></BODY></HTML>