Over the past couple of weeks I've been trying to get TP-Link TL-WN727N V3 USB wifi adapter working with my FreeBSD 9.2-STABLE amd64 system. First I tried to use Windows driver with NDIS wrapper, but while I was struggling with that, native support for my adapter was merged to 9-STABLE, so I'm now trying with the run driver.
I plug in the adapter and it seems to be recognized:
I create the wlan device:
Then I try to scan, but both of the below commands return immediately without any result:
There are several access points near me which my Android phone can see.
I tried running
I've watched this output for 10 minutes and it just seems to go on indefinitely. I'm not sure what to think of this, so any insight would be appreciated.
I plug in the adapter and it seems to be recognized:
Code:
Dec 18 18:13:15 kernel: ugen2.2: <TPlink> at usbus2
Dec 18 18:13:15 kernel: run0: <1.0> on usbus2
Dec 18 18:13:15 kernel: run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address f8:1a:67:19:40:24
I create the wlan device:
# ifconfig wlan0 create wlandev run0
Then I try to scan, but both of the below commands return immediately without any result:
Code:
# ifconfig wlan0 up scan
# ifconfig wlan0 list scan
There are several access points near me which my Android phone can see.
I tried running
wlandebug -i wlan0 +scan
, and an endless supply of following pours forth:
Code:
Dec 18 21:47:26 kernel: wlan0: ieee80211_check_scan: active scan, append
Dec 18 21:47:26 kernel: wlan0: ieee80211_scanreq: flags 0x1b duration 0x7fffffff mindwell 0 maxdwell 0 nssid 0
Dec 18 21:47:26 kernel: wlan0: scan_update_locked: current scanner is <none:none>, switch to <wlan0:STA>
Dec 18 21:47:26 kernel: wlan0: start_scan_locked: active scan, duration 2147483647 mindwell 0 maxdwell 0, desired mode auto, flush
Dec 18 21:47:26 kernel: wlan0: scan set 1g, 6g, 11g, 7g, 2g, 3g, 4g, 5g, 8g, 9g, 10g dwell min 20ms max 200ms
Dec 18 21:47:26 kernel: wlan0: start_scan_locked: active scan already in progress
Dec 18 21:47:26 kernel: wlan0: scan_task: chan 1b -> 1g [active, dwell min 20ms max 200ms]
Dec 18 21:47:26 kernel: wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms]
Dec 18 21:47:27 kernel: wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms]
Dec 18 21:47:27 kernel: wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms]
Dec 18 21:47:27 kernel: wlan0: scan_task: chan 7g -> 2g [active, dwell min 20ms max 200ms]
Dec 18 21:47:27 kernel: wlan0: scan_task: chan 2g -> 3g [active, dwell min 20ms max 200ms]
Dec 18 21:47:27 kernel: wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms]
Dec 18 21:47:28 kernel: wlan0: scan_task: chan 4g -> 5g [active, dwell min 20ms max 200ms]
Dec 18 21:47:28 kernel: wlan0: scan_task: chan 5g -> 8g [active, dwell min 20ms max 200ms]
Dec 18 21:47:28 kernel: wlan0: scan_task: chan 8g -> 9g [active, dwell min 20ms max 200ms]
Dec 18 21:47:28 kernel: wlan0: scan_task: chan 9g -> 10g [active, dwell min 20ms max 200ms]
Dec 18 21:47:29 kernel: wlan0: sta_pick_bss: no scan candidate
Dec 18 21:47:29 kernel: wlan0: scan_task: done, restart [ticks 1706420, dwell min 20 scanend 2149187524]
Dec 18 21:47:29 kernel: wlan0: scan_task: chan 10g -> 1g [active, dwell min 20ms max 200ms]
Dec 18 21:47:29 kernel: wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms]
Dec 18 21:47:29 kernel: wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms]
Dec 18 21:47:29 kernel: wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms]
I've watched this output for 10 minutes and it just seems to go on indefinitely. I'm not sure what to think of this, so any insight would be appreciated.