Can't connect to ap

frank jenkins fjenkins873 at hotmail.com
Tue Mar 21 21:29:49 EST 2006


I'm trying to connect a laptop with a DWL-650 (with primary firmware 1.0.7
and station firmware 1.8.4) to a wrt54g using rsn,wpa-psk, and ccmp. I'm
using the 2.6.15 kernel with hostap driver 0.4.4 and wireless tools v28.

wpa_supplicant can see the access point and tries to associate with it, but
for some reason that isn't obvious to me in the logs, it disassociates and
starts looking for another ap.

Here's the network block of my wpa_supplicant.conf
network={
  ssid="TestSsid"
  proto=RSN
  key_mgmt=WPA-PSK
  pairwise=CCMP
  group=CCMP
  psk="12345678"
  priority=1
}

I don't see any reason in the log for it to stop connecting, but then I've 
never used wpa_supplicant before. Can anyone tell me what I'm missing?

Here's (what I think is) the relevant part of the output from 
wpa_supplicant:

  0: 00:14:bf:ed:39:45 ssid='TestSsid' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
  selected based on RSN IE
  Trying to associate with 00:14:bf:ed:39:45 (SSID='TestSsid' freq=2452 MHz)
  Cancelling scan request
  WPA: clearing own WPA/RSN IE
  Automatic auth_alg selection: 0x1
  RSN: using IEEE 802.11i/D9.0
  WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2
  WPA: clearing AP WPA IE
  WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f 
ac 04 01 00 00 0f ac 02 00 00
  WPA: using GTK CCMP
  WPA: using PTK CCMP
  WPA: using KEY_MGMT WPA-PSK
  WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 
00 00 0f ac 04 01 00 00 0f ac 02 00 00
  No keys have been configured - skip key clearing
  wpa_driver_hostap_set_drop_unencrypted: enabled=1
  State: SCANNING -> ASSOCIATING
  wpa_driver_hostap_associate
  Setting authentication timeout: 10 sec 0 usec
  EAPOL: External notification - EAP success=0
  EAPOL: External notification - EAP fail=0
  EAPOL: External notification - portControl=Auto
  RSN: Ignored PMKID candidate without preauth flag
  Wireless event: cmd=0x8b06 len=8
  Wireless event: cmd=0x8b04 len=12
  Wireless event: cmd=0x8b1a len=17
  Wireless event: cmd=0x8b15 len=20
  Wireless event: new AP: 00:14:bf:ed:39:45
  State: ASSOCIATING -> ASSOCIATED
  Associated to a new BSS: BSSID=00:14:bf:ed:39:45
  No keys have been configured - skip key clearing
  Associated with 00:14:bf:ed:39:45
  WPA: Association event - clear replay counter
  EAPOL: External notification - portEnabled=0
  EAPOL: External notification - portValid=0
  EAPOL: External notification - EAP success=0
  EAPOL: External notification - portEnabled=1
  EAPOL: SUPP_PAE entering state CONNECTING
  EAPOL: SUPP_BE entering state IDLE
  Setting authentication timeout: 10 sec 0 usec
  RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi1' added
  EAPOL: startWhen --> 0
  EAPOL: SUPP_PAE entering state CONNECTING
  EAPOL: txStart
  WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
  Wireless event: cmd=0x8b15 len=20
  Wireless event: new AP: 00:00:00:00:00:00
  Setting scan request: 0 sec 100000 usec
  Added BSSID 00:14:bf:ed:39:45 into blacklist
  Added BSSID 00:14:bf:ed:39:45 into blacklist
  State: ASSOCIATED -> DISCONNECTED
  EAPOL: External notification - portEnabled=0
  EAPOL: SUPP_PAE entering state DISCONNECTED
  EAPOL: SUPP_BE entering state INITIALIZE
  EAPOL: External notification - portValid=0
  EAPOL: External notification - EAP success=0
  CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
  wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
  wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
  wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
  wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
  wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement




More information about the HostAP mailing list