You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Versions of OpenWrt where bug occurs: [[https://downloads.openwrt.org/releases/21.02.0-rc1/targets/ath79/nand/|21.02.0-rc1]], [[https://downloads.openwrt.org/snapshots/targets/ath79/nand/|snapshot]] (ath79)
Versions of OpenWrt where bug does not occur : [[http://downloads.openwrt.org/releases/19.07.7/targets/ar71xx/nand/|19.07.7]], 18.06 (ar71xx)
=====Steps to reproduce=====
We should be able to turn wifi on/off via any of the following methods:
The wifi button in luci
The wifi button on the router
uci set wireless.radio0.disabled=$x && uci commit && wifi up (where x=0 to turn on wifi, x=1 to turn off wifi)
All three methods work to turn on wifi, but none of them work to turn off wifi. (Wifi continues running, the wifi LED on the router remains illuminated, and a client can connect to wifi). The problem occurs every time, on every boot.
The only way I have found to turn off wifi is, /etc/init.d/wpad restart
====Syslog when wifi is turned on via uci:==== Mon May 3 20:21:46 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) –> new PHY
Mon May 3 20:21:46 2021 kern.info kernel: [ 233.225694] br-lan: port 2(wlan0) entered blocking state
Mon May 3 20:21:46 2021 kern.info kernel: [ 233.231259] br-lan: port 2(wlan0) entered disabled state
Mon May 3 20:21:46 2021 kern.info kernel: [ 233.237081] device wlan0 entered promiscuous mode
Mon May 3 20:21:46 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED→COUNTRY_UPDATE
Mon May 3 20:21:47 2021 kern.info kernel: [ 233.455640] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mon May 3 20:21:47 2021 kern.info kernel: [ 233.462390] br-lan: port 2(wlan0) entered blocking state
Mon May 3 20:21:47 2021 kern.info kernel: [ 233.467836] br-lan: port 2(wlan0) entered forwarding state
Mon May 3 20:21:47 2021 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE→ENABLED
Mon May 3 20:21:47 2021 daemon.notice hostapd: wlan0: AP-ENABLED
Mon May 3 20:21:48 2021 daemon.debug dnsmasq[2287]: listening on wlan0(#9): fe80::e6f4:c6ff:fee9:e1a%wlan0 port 53
Mon May 3 20:22:00 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0)
Mon May 3 20:22:00 2021 daemon.err hostapd: Interface name wlan0 already in use
Mon May 3 20:22:00 2021 daemon.notice netifd: radio0 (2487): Command failed: Invalid argument
Mon May 3 20:22:00 2021 daemon.notice netifd: radio0 (2487): Device setup failed: HOSTAPD_START_FAILED
Mon May 3 20:22:00 2021 daemon.notice netifd: radio0 (2564): WARNING: Variable ‘data’ does not exist or is not an array/object
====Syslog when wifi is turned off via uci==== no output
====Syslog when wifi is turned off via luci==== Mon May 3 20:24:12 2021 kern.info kernel: [10819.214832] device wlan0 left promiscuous mode
Mon May 3 20:24:12 2021 kern.info kernel: [10819.219546] br-lan: port 2(wlan0) entered disabled state
Mon May 3 20:24:13 2021 daemon.notice netifd: radio0 (23114): WARNING: Variable ‘data’ does not exist or is not an array/object
====Syslog when wifi is forced off via "/etc/init.d/wpad restart"==== Mon May 3 20:27:37 2021 daemon.notice hostapd: wlan0: interface state ENABLED→DISABLED
Mon May 3 20:27:37 2021 daemon.notice hostapd: wlan0: AP-DISABLED
Mon May 3 20:27:37 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Mon May 3 20:27:37 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Mon May 3 20:27:37 2021 kern.info kernel: [ 583.724899] device wlan0 left promiscuous mode
Mon May 3 20:27:37 2021 kern.info kernel: [ 583.729643] br-lan: port 2(wlan0) entered disabled state
Mon May 3 20:27:37 2021 daemon.debug dnsmasq[2287]: stopped listening on wlan0(#9): fe80::e6f4:c6ff:fee9:e1a%wlan0 port 53
Mon May 3 20:27:37 2021 daemon.notice wpa_supplicant[2624]: Successfully initialized wpa_supplicant
The text was updated successfully, but these errors were encountered:
bobc:
=====Steps to reproduce=====
We should be able to turn wifi on/off via any of the following methods:
uci set wireless.radio0.disabled=$x && uci commit && wifi up
(where x=0 to turn on wifi, x=1 to turn off wifi)All three methods work to turn on wifi, but none of them work to turn off wifi. (Wifi continues running, the wifi LED on the router remains illuminated, and a client can connect to wifi). The problem occurs every time, on every boot.
The only way I have found to turn off wifi is,
/etc/init.d/wpad restart
====Syslog when wifi is turned on via uci:====
Mon May 3 20:21:46 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) –> new PHY
Mon May 3 20:21:46 2021 kern.info kernel: [ 233.225694] br-lan: port 2(wlan0) entered blocking state
Mon May 3 20:21:46 2021 kern.info kernel: [ 233.231259] br-lan: port 2(wlan0) entered disabled state
Mon May 3 20:21:46 2021 kern.info kernel: [ 233.237081] device wlan0 entered promiscuous mode
Mon May 3 20:21:46 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED→COUNTRY_UPDATE
Mon May 3 20:21:47 2021 kern.info kernel: [ 233.455640] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mon May 3 20:21:47 2021 kern.info kernel: [ 233.462390] br-lan: port 2(wlan0) entered blocking state
Mon May 3 20:21:47 2021 kern.info kernel: [ 233.467836] br-lan: port 2(wlan0) entered forwarding state
Mon May 3 20:21:47 2021 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE→ENABLED
Mon May 3 20:21:47 2021 daemon.notice hostapd: wlan0: AP-ENABLED
Mon May 3 20:21:48 2021 daemon.debug dnsmasq[2287]: listening on wlan0(#9): fe80::e6f4:c6ff:fee9:e1a%wlan0 port 53
Mon May 3 20:22:00 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0)
Mon May 3 20:22:00 2021 daemon.err hostapd: Interface name wlan0 already in use
Mon May 3 20:22:00 2021 daemon.notice netifd: radio0 (2487): Command failed: Invalid argument
Mon May 3 20:22:00 2021 daemon.notice netifd: radio0 (2487): Device setup failed: HOSTAPD_START_FAILED
Mon May 3 20:22:00 2021 daemon.notice netifd: radio0 (2564): WARNING: Variable ‘data’ does not exist or is not an array/object
====Syslog when wifi is turned off via uci====
no output
====Syslog when wifi is turned off via luci====
Mon May 3 20:24:12 2021 kern.info kernel: [10819.214832] device wlan0 left promiscuous mode
Mon May 3 20:24:12 2021 kern.info kernel: [10819.219546] br-lan: port 2(wlan0) entered disabled state
Mon May 3 20:24:13 2021 daemon.notice netifd: radio0 (23114): WARNING: Variable ‘data’ does not exist or is not an array/object
====Syslog when wifi is forced off via "/etc/init.d/wpad restart"====
Mon May 3 20:27:37 2021 daemon.notice hostapd: wlan0: interface state ENABLED→DISABLED
Mon May 3 20:27:37 2021 daemon.notice hostapd: wlan0: AP-DISABLED
Mon May 3 20:27:37 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Mon May 3 20:27:37 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Mon May 3 20:27:37 2021 kern.info kernel: [ 583.724899] device wlan0 left promiscuous mode
Mon May 3 20:27:37 2021 kern.info kernel: [ 583.729643] br-lan: port 2(wlan0) entered disabled state
Mon May 3 20:27:37 2021 daemon.debug dnsmasq[2287]: stopped listening on wlan0(#9): fe80::e6f4:c6ff:fee9:e1a%wlan0 port 53
Mon May 3 20:27:37 2021 daemon.notice wpa_supplicant[2624]: Successfully initialized wpa_supplicant
The text was updated successfully, but these errors were encountered: