Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
openwrt-bot opened this issue May 4, 2021 · 0 comments
Closed

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

openwrt-bot opened this issue May 4, 2021 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

bobc:

  • 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: ath79: add support for Meraki MR16 #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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant