OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version openwrt-21.02
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by bob - 04.05.2021
Last edited by Ted Hess - 11.05.2021

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

  1. Device problem occurs on: netgear, wndr3700-v4
  2. Versions of OpenWrt where the bug occurs: 21.02-rc1 and snapshot
  3. Versions of OpenWrt where the bug does not occur : 19.07 and 18.06
  4. Duplicates: #3236

Steps to reproduce

We should be able to turn wifi on/off via any of the following methods:

  1. The wifi button in luci
  2. The wifi button on the router
  3. 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

 


Closed by  Ted Hess
11.05.2021 10:43
Reason for closing:  Invalid report

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing