wpa_supplicant times out, then fails to scan
mailing.lists at multiagentsystems.org
mailing.lists at multiagentsystems.org
Mon Aug 18 05:13:33 PDT 2014
I can't seem to get my wireless working on my laptop when using
DragonflyBSD.
# dmesg | grep Centrino
iwn0: <Intel Centrino Ultimate-N 6300> mem 1xf1400000-0xf1401fff irq 17
at device 0.0 on pci3
# ifconfig wlan0 create wlandev iwn0
# uname -r
3.8-RELEASE
I am using the GENERIC kernel options.
# cat /etc/wpa_supplicant
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1
network={
ssid="/dev/urandom"
psk="TemporaryPassword"
priority=5
}
# wpa_supplicant -v
wpa_supplicant v0.6.10
Copyright (c) 2003-2009, Jouni Malinen <j at w1.fi> and contributors
# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver
'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' ->
'/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=2
ap_scan=1
fast_reauth=1
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=12):
2f 64 65 76 2f 75 72 61 6e 64 6f 6d /dev/urandom
PSK (ASCII passphrase) - hexdump_ascii(len=18): [REMOVED]
priority=5 (0x5)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 5
id=0 ssid='/dev/urandom'
Initializing interface (2) 'wlan0'
Own MAC address: 24:77:03:1e:ac:38
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
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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
Added interface wlan0
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
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Cached scan results are empty - not posting
Selecting BSS from priority group 5
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
EAPOL: disable timer tick
Received 0 bytes of scan results (18 BSSes)
Scan results: 18
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: e8:de:27:3e:02:80 ssid='/dev/random' wpa_ie_len=0 rsn_ie_len=20
caps=0x31
skip - SSID mismatch
1: e8:de:27:3e:02:82 ssid='/dev/urandom' wpa_ie_len=0 rsn_ie_len=20
caps=0x11
selected based on RSN IE
selected WPA AP e8:de:27:3e:02:82 ssid='/dev/urandom'
Trying to associate with e8:de:27:3e:02:82 (SSID='/dev/urandom'
freq=5240 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 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_bsd_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_bsd_associate: ssid '/dev/urandom' wpa ie len 22 pairwise 3
group 3 key mgmt 1
wpa_driver_bsd_associate: set PRIVACY 1
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
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=e8:de:27:3e:02:82
No keys have been configured - skip key clearing
Associated with e8:de:27:3e:02:82
WPA: Association event - clear replay counter
WPA: Clear old PTK
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: enable timer tick
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
RX EAPOL from e8:de:27:3e:02:82
RX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00
00 00 01 3c 5d 9d 65 d4 2f 9f e2 f8 a9 20 7c 35 ae ed 3f 8a 7a fe 61 c1
86 64 10 aa a6 99 6c 0f f5 ab 42 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=2 type=3 length=95
EAPOL-Key type=2
key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
key_length=16 key_data_length=0
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
key_nonce - hexdump(len=32): 3c 5d 9d 65 d4 2f 9f e2 f8 a9 20 7c 35
ae ed 3f 8a 7a fe 61 c1 86 64 10 aa a6 99 6c 0f f5 ab 42
key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
WPA: RX EAPOL-Key - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00
00 00 00 00 00 01 3c 5d 9d 65 d4 2f 9f e2 f8 a9 20 7c 35 ae ed 3f 8a 7a
fe 61 c1 86 64 10 aa a6 99 6c 0f f5 ab 42 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from e8:de:27:3e:02:82 (ver=2)
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): 9a 86 f9 5b 87 29 68 a4 70 6f ea
fa cb 0a e4 d0 07 b2 84 86 ed 5d 4b 9b dc db 98 8e 25 4f 3d 3a
WPA: PTK derivation - A1=24:77:03:1e:ac:38 A2=e8:de:27:3e:02:82
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: WPA IE for msg 2/4 - 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: Sending EAPOL-Key 2/4
WPA: TX EAPOL-Key - hexdump(len=121): 02 03 00 75 02 01 0a 00 00 00 00
00 00 00 00 00 01 9a 86 f9 5b 87 29 68 a4 70 6f ea fa cb 0a e4 d0 07 b2
84 86 ed 5d 4b 9b dc db 98 8e 25 4f 3d 3a 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 38 35
73 a3 01 ce bc db 9c f7 9e b3 65 be a1 80 00 16 30 14 01 00 00 0f ac 04
01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
EAPOL: startWhen --> 0
EAPOL: disable timer tick
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: enable timer tick
EAPOL: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
Authentication with e8:de:27:3e:02:82 timed out.
Added BSSID e8:de:27:3e:02:82 into blacklist
wpa_driver_bsd_disassociate
No keys have been configured - skip key clearing
State: 4WAY_HANDSHAKE -> 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
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Added BSSID 00:00:00:00:00:00 into blacklist
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
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_del_key: addr=00:00:00:00:00:00 keyidx=0
State: SCANNING -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
ioctl[SIOCS80211, op 103, len 128]: Device not configured
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCS80211, op 103, len 128]: Device not configured
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
EAPOL: startWhen --> 0
EAPOL: disable timer tick
Starting AP scan (broadcast SSID)
ioctl[SIOCS80211, op 103, len 128]: Device not configured
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
After that it will loop on trying and failing to scan.
"ifconfig wlan0 scan" will also fail until "ifconfig wlan0 up" is used.
How can I fix this?
Best regards,
Nathanael Sensfelder
More information about the Users
mailing list