OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Manus Freedom - 29.03.2017
Last edited by Ted Hess - 27.05.2017

FS#664 - Netgear R8000 Wifi broke with commit 8301e613655c2d95fa5430a1a57d92d966fdc70b

All Wifi (on all antenna) are visible as “Mode:Client” in Lucy and unable to get Wifi working at all.
The build from commit;a=commit;h=3a3564ead5e4cf2f6ff73302c1e680b5575079ec works.
A build from commit;a=commit;h=8301e613655c2d95fa5430a1a57d92d966fdc70b does not work.

(I compiled and deployed more than 20 times to find the culprit)

Closed by  Ted Hess
27.05.2017 13:34
Reason for closing:  Fixed
Manus Freedom commented on 29.03.2017 01:47

Don't hesitate to request information.
I can build and deploy if needed.

Manus Freedom commented on 30.03.2017 08:23

I did some test.
And the "|| return" avoid running the command:


And if not run, the wifi interface does not work.
For information

mac80211_iw_interface_add "$phy" "$ifname" __ap

return 233.

Vivek commented on 10.04.2017 15:48

I can confirm this issue on Linksys EA9500.

Vittorio Gambaletta (VittGam) commented on 06.05.2017 08:01


I'm the author of that commit.

Both of the reported hardware are based on Broadcom platform. I'd guess Broadcom cards still do not support virtual wireless interfaces...

Please try applying the following patch to your tree.

--- a/package/kernel/mac80211/files/lib/netifd/wireless/
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/
@@ -429,6 +429,12 @@
+	[ "$rc" = 233 ] && {
+		# Device might not support virtual interfaces, so the interface never got deleted in the first place.
+		# Check if the interface already exists, and avoid failing in this case.
+		ip link show dev "$ifname" >/dev/null 2>/dev/null && rc=0
+	}
 	[ "$rc" != 0 ] && wireless_setup_failed INTERFACE_CREATION_FAILED
 	return $rc


Waldemar Konik commented on 13.05.2017 14:09

Vittorio's patch resolves this issue on Rasperry Pi 3


Manus Freedom commented on 16.05.2017 23:01

Vittorio's patch resolves this issue on Netgear R8000.


Available keyboard shortcuts


Task Details

Task Editing