[FS#3781] wifi cannot be turned off (netgear, wndr3700-v4)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue May 4 12:20:06 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - bob (bobc) 

Attached to Project - OpenWrt/LEDE Project
Summary - wifi cannot be turned off  (netgear, wndr3700-v4)
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details -   - **Device problem occurs on**: netgear, wndr3700-v4
  - **Versions of OpenWrt where the bug occurs**: 21.02-rc1 and snapshot
  - **Versions of OpenWrt where the bug does not occur **: 19.07 and 18.06
  - **Duplicates**: #3236

=====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


 

   

 

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3781

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list