Hi everyone !
I've got a WRT3200ACM bought in France on Amazon, running latest LEDE snapshot wich works well until now.
After reading a lot of topics (david's thread, LEDE forum, kaloz github issue), I still have somme questions regarding the wifi configuration.
From now, here is my configuration:
root@linksys:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11a'
option path 'soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0'
option country 'FR'
option channel '48'
option htmode 'VHT80'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'psk2+tkip+ccmp'
option key 'xxxx
option macfilter 'allow'
list maclist 'xxxx'
option ssid 'xxxx'
option hidden '1'
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path 'soc/soc:pcie-controller/pci0000:00/0000:00:02.0/0000:02:00.0'
option channel 'auto'
option country 'FR'
option htmode 'HT20'
config wifi-iface 'default_radio1'
option device 'radio1'
option mode 'ap'
option network 'lan'
option macfilter 'allow'
option encryption 'psk2+tkip+ccmp'
option key 'xxxx'
option ssid 'xxxx'
option hidden '1'
list maclist 'xxxx'
config wifi-device 'radio2'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'platform/soc/soc:internal-regs/f10d8000.sdhci/mmc_host/mmc0/mmc0:0001/mmc0:0001:1'
option htmode 'VHT80'
option country 'US'
config wifi-iface 'default_radio2'
option device 'radio2'
option network 'lan'
option ssid 'xxxx'
option mode 'monitor'
option disabled '1'
root@linksys:~# opkg list-installed | grep mwlwi
kmod-mwlwifi - 4.9.30+10.3.4.0.git-2017-05-26-1
root@linksys:~# iw reg get
global
country 98: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 23), (0 ms), DFS
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
phy#2
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
phy#1
country FR: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
phy#0
country FR: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
Everything works quite well but I notice that the 5GHz power is quite low, so I want to test DFS to see if it change something.
I've tried many configuration:
-
channel 36 / width 80: OK
-
channel 100 / width: 80: KO. The device try 3 times to get up (around 1mn I believe to perform DFS check) and then go down. Here are the logs:
Thu Jun 1 19:29:43 2017 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED Thu Jun 1 19:29:43 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:29:43 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING Thu Jun 1 19:29:43 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Thu Jun 1 19:29:43 2017 kern.info kernel: [ 959.788388] device wlan0 left promiscuous mode Thu Jun 1 19:29:43 2017 kern.info kernel: [ 959.792890] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:29:43 2017 kern.debug kernel: [ 959.808312] ieee80211 phy0: change: 0x40 Thu Jun 1 19:29:43 2017 kern.debug kernel: [ 959.913313] ieee80211 phy0: change: 0x100 Thu Jun 1 19:29:43 2017 daemon.notice netifd: Network device 'wlan0' link is down Thu Jun 1 19:29:43 2017 daemon.notice netifd: radio0 (3790): command failed: Not supported (-95) Thu Jun 1 19:29:43 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf Thu Jun 1 19:29:43 2017 kern.debug kernel: [ 960.341281] ieee80211 phy0: change: 0xffffffff Thu Jun 1 19:29:44 2017 kern.info kernel: [ 960.447460] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Thu Jun 1 19:29:44 2017 kern.info kernel: [ 960.454134] br-lan: port 2(wlan0) entered blocking state Thu Jun 1 19:29:44 2017 kern.info kernel: [ 960.459486] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:29:44 2017 kern.info kernel: [ 960.464939] device wlan0 entered promiscuous mode Thu Jun 1 19:29:44 2017 kern.info kernel: [ 960.469714] br-lan: port 2(wlan0) entered blocking state Thu Jun 1 19:29:44 2017 kern.info kernel: [ 960.475050] br-lan: port 2(wlan0) entered forwarding state Thu Jun 1 19:29:44 2017 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Thu Jun 1 19:29:44 2017 kern.info kernel: [ 960.938319] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:29:45 2017 daemon.notice hostapd: handle_probe_req: send failed Thu Jun 1 19:29:49 2017 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN Thu Jun 1 19:29:49 2017 kern.debug kernel: [ 965.481372] ieee80211 phy0: change: 0x100 Thu Jun 1 19:29:49 2017 kern.debug kernel: [ 965.494472] ieee80211 phy0: change: 0x60 Thu Jun 1 19:29:49 2017 kern.debug kernel: [ 965.708161] ieee80211 phy0: change: 0x40 Thu Jun 1 19:29:49 2017 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS Thu Jun 1 19:29:49 2017 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=1, seg0=106, seg1=0, cac_time=60s Thu Jun 1 19:29:49 2017 daemon.err hostapd: DFS start_dfs_cac() failed, -1 Thu Jun 1 19:29:49 2017 daemon.err hostapd: Interface initialization failed Thu Jun 1 19:29:49 2017 daemon.notice hostapd: wlan0: interface state DFS->DISABLED Thu Jun 1 19:29:49 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:29:49 2017 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED Thu Jun 1 19:29:49 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:29:49 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING Thu Jun 1 19:29:49 2017 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started Thu Jun 1 19:29:49 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Thu Jun 1 19:29:49 2017 kern.debug kernel: [ 965.928157] ieee80211 phy0: change: 0x60 Thu Jun 1 19:29:49 2017 kern.info kernel: [ 965.978200] device wlan0 left promiscuous mode Thu Jun 1 19:29:49 2017 kern.info kernel: [ 965.982693] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:29:49 2017 kern.debug kernel: [ 966.032178] ieee80211 phy0: change: 0x100 Thu Jun 1 19:29:49 2017 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0xb6e94ab0 user_data=0 handler=0x3545c Thu Jun 1 19:29:49 2017 daemon.notice netifd: radio0 (3790): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3481 path () Thu Jun 1 19:29:49 2017 kern.debug kernel: [ 966.212177] ieee80211 phy0: change: 0xffffffff Thu Jun 1 19:29:49 2017 kern.info kernel: [ 966.322198] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Thu Jun 1 19:30:00 2017 daemon.notice netifd: radio0 (3894): command failed: Not supported (-95) Thu Jun 1 19:30:00 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf Thu Jun 1 19:30:00 2017 kern.debug kernel: [ 976.704976] ieee80211 phy0: change: 0xffffffff Thu Jun 1 19:30:00 2017 kern.info kernel: [ 976.814172] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Thu Jun 1 19:30:00 2017 kern.info kernel: [ 976.820911] br-lan: port 2(wlan0) entered blocking state Thu Jun 1 19:30:00 2017 kern.info kernel: [ 976.826245] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:30:00 2017 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Thu Jun 1 19:30:00 2017 kern.info kernel: [ 976.831714] device wlan0 entered promiscuous mode Thu Jun 1 19:30:03 2017 daemon.notice hostapd: handle_probe_req: send failed Thu Jun 1 19:30:04 2017 daemon.notice hostapd: handle_probe_req: send failed Thu Jun 1 19:30:05 2017 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN Thu Jun 1 19:30:05 2017 kern.debug kernel: [ 981.836956] ieee80211 phy0: change: 0x100 Thu Jun 1 19:30:05 2017 kern.debug kernel: [ 981.850053] ieee80211 phy0: change: 0x60 Thu Jun 1 19:30:05 2017 daemon.notice hostapd: handle_probe_req: send failed Thu Jun 1 19:30:05 2017 kern.debug kernel: [ 982.057901] ieee80211 phy0: change: 0x40 Thu Jun 1 19:30:05 2017 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS Thu Jun 1 19:30:05 2017 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=1, seg0=106, seg1=0, cac_time=60s Thu Jun 1 19:30:05 2017 daemon.err hostapd: DFS start_dfs_cac() failed, -1 Thu Jun 1 19:30:05 2017 daemon.err hostapd: Interface initialization failed Thu Jun 1 19:30:05 2017 daemon.notice hostapd: wlan0: interface state DFS->DISABLED Thu Jun 1 19:30:05 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:30:05 2017 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED Thu Jun 1 19:30:05 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:30:05 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING Thu Jun 1 19:30:05 2017 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started Thu Jun 1 19:30:05 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Thu Jun 1 19:30:05 2017 kern.debug kernel: [ 982.277880] ieee80211 phy0: change: 0x60 Thu Jun 1 19:30:05 2017 kern.info kernel: [ 982.317921] device wlan0 left promiscuous mode Thu Jun 1 19:30:05 2017 kern.info kernel: [ 982.322415] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:30:05 2017 kern.debug kernel: [ 982.376892] ieee80211 phy0: change: 0x100 Thu Jun 1 19:30:05 2017 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0xb6f3b510 user_data=0 handler=0x3545c Thu Jun 1 19:30:05 2017 daemon.notice netifd: radio0 (3894): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3481 path () Thu Jun 1 19:30:06 2017 kern.debug kernel: [ 982.554878] ieee80211 phy0: change: 0xffffffff Thu Jun 1 19:30:06 2017 kern.info kernel: [ 982.663922] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Thu Jun 1 19:30:16 2017 daemon.notice netifd: radio0 (4007): command failed: Not supported (-95) Thu Jun 1 19:30:16 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf Thu Jun 1 19:30:16 2017 kern.debug kernel: [ 993.054705] ieee80211 phy0: change: 0xffffffff Thu Jun 1 19:30:16 2017 kern.info kernel: [ 993.162891] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Thu Jun 1 19:30:16 2017 kern.info kernel: [ 993.169609] br-lan: port 2(wlan0) entered blocking state Thu Jun 1 19:30:16 2017 kern.info kernel: [ 993.174945] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:30:16 2017 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Thu Jun 1 19:30:16 2017 kern.info kernel: [ 993.180414] device wlan0 entered promiscuous mode Thu Jun 1 19:30:20 2017 daemon.notice hostapd: handle_probe_req: send failed Thu Jun 1 19:30:21 2017 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN Thu Jun 1 19:30:21 2017 kern.debug kernel: [ 998.185637] ieee80211 phy0: change: 0x100 Thu Jun 1 19:30:21 2017 kern.debug kernel: [ 998.197644] ieee80211 phy0: change: 0x60 Thu Jun 1 19:30:21 2017 kern.debug kernel: [ 998.407610] ieee80211 phy0: change: 0x40 Thu Jun 1 19:30:22 2017 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS Thu Jun 1 19:30:22 2017 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=1, seg0=106, seg1=0, cac_time=60s Thu Jun 1 19:30:22 2017 daemon.err hostapd: DFS start_dfs_cac() failed, -1 Thu Jun 1 19:30:22 2017 daemon.err hostapd: Interface initialization failed Thu Jun 1 19:30:22 2017 daemon.notice hostapd: wlan0: interface state DFS->DISABLED Thu Jun 1 19:30:22 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:30:22 2017 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED Thu Jun 1 19:30:22 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:30:22 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING Thu Jun 1 19:30:22 2017 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started Thu Jun 1 19:30:22 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Thu Jun 1 19:30:22 2017 kern.debug kernel: [ 998.627603] ieee80211 phy0: change: 0x60 Thu Jun 1 19:30:22 2017 kern.info kernel: [ 998.667642] device wlan0 left promiscuous mode Thu Jun 1 19:30:22 2017 kern.info kernel: [ 998.672137] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:30:22 2017 kern.debug kernel: [ 998.729650] ieee80211 phy0: change: 0x100 Thu Jun 1 19:30:22 2017 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0xb6f21620 user_data=0 handler=0x3545c Thu Jun 1 19:30:22 2017 daemon.notice netifd: radio0 (4007): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3481 path () Thu Jun 1 19:30:22 2017 kern.debug kernel: [ 998.909631] ieee80211 phy0: change: 0xffffffff Thu Jun 1 19:30:22 2017 kern.info kernel: [ 999.019667] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Thu Jun 1 19:30:32 2017 daemon.notice netifd: radio0 (4113): command failed: Not supported (-95) Thu Jun 1 19:30:32 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf Thu Jun 1 19:30:32 2017 kern.debug kernel: [ 1009.404407] ieee80211 phy0: change: 0xffffffff Thu Jun 1 19:30:33 2017 kern.info kernel: [ 1009.513596] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Thu Jun 1 19:30:33 2017 kern.info kernel: [ 1009.520483] br-lan: port 2(wlan0) entered blocking state Thu Jun 1 19:30:33 2017 kern.info kernel: [ 1009.525818] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:30:33 2017 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Thu Jun 1 19:30:33 2017 kern.info kernel: [ 1009.531287] device wlan0 entered promiscuous mode Thu Jun 1 19:30:34 2017 daemon.notice hostapd: handle_probe_req: send failed Thu Jun 1 19:30:36 2017 daemon.notice hostapd: handle_probe_req: send failed Thu Jun 1 19:30:37 2017 daemon.notice hostapd: handle_probe_req: send failed Thu Jun 1 19:30:38 2017 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN Thu Jun 1 19:30:38 2017 kern.debug kernel: [ 1014.536682] ieee80211 phy0: change: 0x100 Thu Jun 1 19:30:38 2017 kern.debug kernel: [ 1014.549759] ieee80211 phy0: change: 0x60 Thu Jun 1 19:30:38 2017 kern.debug kernel: [ 1014.767307] ieee80211 phy0: change: 0x40 Thu Jun 1 19:30:38 2017 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS Thu Jun 1 19:30:38 2017 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=1, seg0=106, seg1=0, cac_time=60s Thu Jun 1 19:30:38 2017 daemon.err hostapd: DFS start_dfs_cac() failed, -1 Thu Jun 1 19:30:38 2017 daemon.err hostapd: Interface initialization failed Thu Jun 1 19:30:38 2017 daemon.notice hostapd: wlan0: interface state DFS->DISABLED Thu Jun 1 19:30:38 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:30:38 2017 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED Thu Jun 1 19:30:38 2017 daemon.notice hostapd: wlan0: AP-DISABLED Thu Jun 1 19:30:38 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING Thu Jun 1 19:30:38 2017 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started Thu Jun 1 19:30:38 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Thu Jun 1 19:30:38 2017 kern.debug kernel: [ 1014.987298] ieee80211 phy0: change: 0x60 Thu Jun 1 19:30:38 2017 kern.info kernel: [ 1015.027355] device wlan0 left promiscuous mode Thu Jun 1 19:30:38 2017 kern.info kernel: [ 1015.031845] br-lan: port 2(wlan0) entered disabled state Thu Jun 1 19:30:38 2017 kern.debug kernel: [ 1015.087303] ieee80211 phy0: change: 0x100 Thu Jun 1 19:30:38 2017 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0xb6e6d5d0 user_data=0 handler=0x3545c Thu Jun 1 19:30:38 2017 daemon.notice netifd: radio0 (4113): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3481 path () Thu Jun 1 19:30:38 2017 kern.debug kernel: [ 1015.265310] ieee80211 phy0: change: 0xffffffff Thu Jun 1 19:30:38 2017 kern.info kernel: [ 1015.373341] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
-
Tried with the third radio enable: nothing changed. The 5GHz radio is still down
-
I've also encounter a case when the radio is down (no Wifi visible) but the GUI says the opposite
-
Also tried "rs-se" tips, and nothing changed either:
rm -f /etc/config/wireless wifi detect > /etc/config/wireless reboot
So here are my questions:
- does anyone has a fonctionnal 5ghz wifi with DFS ?
- does the third radio (the DFS one ?) has to be enable to work ? If yes, which is the configuration ?
- is 160MHz width works ? (I've tried channel 36 as yuhhaurlin said it works, but not for me...)
Thanks a lot !