FreeBSD current RT3071 can't connect to 5G network

Miguel Clara miguelmclara at gmail.com
Tue Jul 29 22:35:23 UTC 2014


Hi,

I just brought a TP-Link N600 Wireless Dual Band USB Adpater (model
TL-WDN3200) and its correctly recognized in FreeBSD as a ranlink.

Dmesg shows:
wlan0: Ethernet address: e8:94:f6:12:98:9d
run0: firmware RT3071 ver. 0.33 loaded


So the module and firmware seem to be loaded fine and I'm able to connect
to my 2.4g wireless fine.

However I'm having no luck connecting to the 5G network, I've pasted the
scans and wpa_supplicant log, and I see:
"wlan0: Authentication with 60:a4:4c:28:13:c4 timed out.
Added BSSID 60:a4:4c:28:13:c4 into blacklist"
which I'm guessing means that for some reason the auth time-out, but I
don't really know why, all other 5G devices connect fine!

(Also if its important the router is a RT-N66U running the latest
Asus-Merlin firmware)


First Scan:

~% ifconfig wlan0 scan
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
******          a4:b1:e9:ef:1c:68    1   54M -36:-68  100 EP   RSN HTCAP
WPS WPA WME
******          9c:97:26:34:b7:cd   11   54M -41:-78  100 EP   RSN HTCAP
WPS WPA WME
******          24:ec:99:39:4a:12   11   54M -33:-62  100 EP   RSN HTCAP
WPS WPA WME
******          26:ec:99:39:4a:13   11   54M -31:-60  100 ES   HTCAP WME
******          10:fe:ed:c3:77:51    7   54M -40:-76  100 EPS  RSN HTCAP
WPA WME ATH WPS
Mynetwork5G     60:a4:4c:28:13:c4   44   54M -12:-20  100 EP   RSN HTCAP WME

Second Scan

% ifconfig wlan0 scan
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
******          a4:b1:e9:ef:1c:68    1   54M -36:-68  100 EP   RSN HTCAP
WPS WPA WME
******          9c:97:26:34:b7:cd   11   54M -41:-78  100 EP   RSN HTCAP
WPS WPA WME
******          24:ec:99:39:4a:12   11   54M -33:-62  100 EP   RSN HTCAP
WPS WPA WME
******          26:ec:99:39:4a:13   11   54M -31:-60  100 ES   HTCAP WME
******          10:fe:ed:c3:77:51    7   54M -40:-76  100 EPS  RSN HTCAP
WPA WME ATH WPS
Mynetwork5G     60:a4:4c:28:13:c4   44   54M -12:-20  100 EP   RSN HTCAP WME
Mynetwork       60:a4:4c:28:13:c0    3   54M -18:-32  100 EP   RSN HTCAP WME


log from --> wpa_supplicant -i wlano -c /etc/wpa_supplicant.conf -d
NOTE: while doing this in wpa_supplicant.conf I only have my 5g network!


wpa_supplicant v2.0
Successfully initialized wpa_supplicant
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'
Priority group 145
   id=0 ssid='PissnLove5G'
wpa_driver_bsd_capa: drivercaps=0x0d85c501,cryptocaps=0x0000001b
wlan0: Own MAC address: e8:94:f6:12:98:9d
bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=0
bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=1
bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=2
bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0 sec 100000 usec
WPS: Set UUID for interface wlan0
WPS: UUID based on MAC address - hexdump(len=16): 49 97 f8 d3 b1 d4 56 1d
94 a4 d0 76 2e 1d 81 b3
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
wlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=11):
     50 69 73 73 6e 4c 6f 76 65 35 47                  PissnLove5G
wlan0: Starting AP scan for wildcard SSID
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
wlan0: Event SCAN_RESULTS (3) received
Received 2464 bytes of scan results (9 BSSes)
wlan0: BSS: Start scan result update 1
wlan0: BSS: Add new id 0 BSSID 60:a4:4c:28:13:c4 SSID 'PissnLove5G'
wlan0: BSS: Add new id 1 BSSID 60:a4:4c:28:13:c0 SSID 'PissnLove'
wlan0: BSS: Add new id 2 BSSID 24:ec:99:39:4a:12 SSID 'NET'
wlan0: BSS: Add new id 3 BSSID a4:b1:e9:ef:1c:68 SSID 'casabessa'
wlan0: BSS: Add new id 4 BSSID 10:fe:ed:c3:77:51 SSID 'PQTP'
wlan0: BSS: Add new id 5 BSSID 9c:97:26:34:b7:cd SSID 'Vodafone-34B7CD'
wlan0: BSS: Add new id 6 BSSID 00:05:ca:64:7b:e8 SSID 'ZON-7BE0'
wlan0: BSS: Add new id 7 BSSID 26:ec:99:39:4a:13 SSID 'MEO-WiFi'
wlan0: BSS: Add new id 8 BSSID 00:05:ca:64:7b:e9 SSID
'FON_ZON_FREE_INTERNET'
BSS: last_scan_res_used=9/32 last_scan_full=0
wlan0: New scan results available
WPS: AP 24:ec:99:39:4a:12 type 0 added
WPS: AP a4:b1:e9:ef:1c:68 type 0 added
WPS: AP 10:fe:ed:c3:77:51 type 0 added
WPS: AP 9c:97:26:34:b7:cd type 0 added
WPS: AP 00:05:ca:64:7b:e8 type 0 added
WPS: AP[0] 24:ec:99:39:4a:12 type=0 tries=0 last_attempt=-1 sec ago
blacklist=0
WPS: AP[1] a4:b1:e9:ef:1c:68 type=0 tries=0 last_attempt=-1 sec ago
blacklist=0
WPS: AP[2] 10:fe:ed:c3:77:51 type=0 tries=0 last_attempt=-1 sec ago
blacklist=0
WPS: AP[3] 9c:97:26:34:b7:cd type=0 tries=0 last_attempt=-1 sec ago
blacklist=0
WPS: AP[4] 00:05:ca:64:7b:e8 type=0 tries=0 last_attempt=-1 sec ago
blacklist=0
wlan0: Selecting BSS from priority group 145
wlan0: 0: 60:a4:4c:28:13:c4 ssid='PissnLove5G' wpa_ie_len=0 rsn_ie_len=20
caps=0x11 level=-12
wlan0:    selected based on RSN IE
wlan0:    selected BSS 60:a4:4c:28:13:c4 ssid='PissnLove5G'
wlan0: Request association: reassociate: 0  selected: 60:a4:4c:28:13:c4
 bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING
wlan0: Trying to associate with 60:a4:4c:28:13:c4 (SSID='PissnLove5G'
freq=5220 MHz)
FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0):
wlan0: Cancelling scan request
wlan0: WPA: clearing own WPA/RSN IE
wlan0: Automatic auth_alg selection: 0x1
RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0
RSN: Search for BSSID 60:a4:4c:28:13:c4
RSN: No PMKSA cache entry found
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
wlan0: 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 0c 00
wlan0: WPA: using GTK CCMP
wlan0: WPA: using PTK CCMP
wlan0: 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
wlan0: No keys have been configured - skip key clearing
wlan0: State: SCANNING -> ASSOCIATING
Limit connection to BSSID 60:a4:4c:28:13:c4 freq=5220 MHz based on scan
results (bssid_set=0)
wpa_driver_bsd_associate: ssid 'PissnLove5G' wpa ie len 22 pairwise 3 group
3 key mgmt 1
wpa_driver_bsd_set_drop_unencrypted: enabled=1
bsd_set_opt_ie: set WPA+RSN ie (len 22)
wpa_driver_bsd_associate: set PRIVACY 1
wlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP fail=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portControl=Auto
EAPOL: Supplicant port status: Unauthorized
RSN: Ignored PMKID candidate without preauth flag
wlan0: Authentication with 60:a4:4c:28:13:c4 timed out.
Added BSSID 60:a4:4c:28:13:c4 into blacklist
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00
pending_bssid=60:a4:4c:28:13:c4 reason=3 state=ASSOCIATING
wlan0: Event DEAUTH (12) received
wlan0: Deauthentication notification
wlan0:  * reason 3 (locally generated)
Deauthentication frame IE(s) - hexdump(len=0): [NULL]
wlan0: CTRL-EVENT-DISCONNECTED bssid=60:a4:4c:28:13:c4 reason=3
locally_generated=1
wlan0: Auto connect enabled: try to reconnect (wps=0 wpa_state=5)
wlan0: Setting scan request: 0 sec 100000 usec
BSSID 60:a4:4c:28:13:c4 blacklist count incremented to 2
wlan0: Blacklist count 2 --> request scan in 500 ms
wlan0: Not rescheduling scan to ensure that specific SSID scans occur
wlan0: Disconnect event - remove keys
bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=0
bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=1
bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=2
bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=3
bsd_set_key: alg=0 addr=0x801c2f4c8 key_idx=0 set_tx=0 seq_len=0 key_len=0
bsd_del_key: addr=00:00:00:00:00:00
wlan0: State: ASSOCIATING -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
wlan0: No keys have been configured - skip key clearing
wlan0: State: DISCONNECTED -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wlan0: Not rescheduling scan to ensure that specific SSID scans occur
wlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=11):
     50 69 73 73 6e 4c 6f 76 65 35 47                  PissnLove5G
wlan0: Starting AP scan for wildcard SSID
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00
pending_bssid=00:00:00:00:00:00 reason=3 state=SCANNING
wlan0: No keys have been configured - skip key clearing
wlan0: State: SCANNING -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_bsd_set_countermeasures: enabled=0
wlan0: No keys have been configured - skip key clearing
Removed BSSID 60:a4:4c:28:13:c4 from blacklist (clear)
wlan0: BSS: Remove id 0 BSSID 60:a4:4c:28:13:c4 SSID 'PissnLove5G' due to
wpa_bss_flush
wlan0: BSS: Remove id 1 BSSID 60:a4:4c:28:13:c0 SSID 'PissnLove' due to
wpa_bss_flush
wlan0: BSS: Remove id 2 BSSID 24:ec:99:39:4a:12 SSID 'NET' due to
wpa_bss_flush
wlan0: BSS: Remove id 3 BSSID a4:b1:e9:ef:1c:68 SSID 'casabessa' due to
wpa_bss_flush
wlan0: BSS: Remove id 4 BSSID 10:fe:ed:c3:77:51 SSID 'PQTP' due to
wpa_bss_flush
wlan0: BSS: Remove id 5 BSSID 9c:97:26:34:b7:cd SSID 'Vodafone-34B7CD' due
to wpa_bss_flush
wlan0: BSS: Remove id 6 BSSID 00:05:ca:64:7b:e8 SSID 'ZON-7BE0' due to
wpa_bss_flush
wlan0: BSS: Remove id 7 BSSID 26:ec:99:39:4a:13 SSID 'MEO-WiFi' due to
wpa_bss_flush
wlan0: BSS: Remove id 8 BSSID 00:05:ca:64:7b:e9 SSID
'FON_ZON_FREE_INTERNET' due to wpa_bss_flush
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
wpa_driver_bsd_set_wpa: enabled=0
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
bsd_set_opt_ie: set WPA+RSN ie (len 0)
ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=0
wlan0: CTRL-EVENT-TERMINATING


More information about the freebsd-wireless mailing list