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#664 - Netgear R8000 Wifi broke with commit 8301e613655c2d95fa5430a1a57d92d966fdc70b #5525

Closed
openwrt-bot opened this issue Mar 29, 2017 · 6 comments
Labels

Comments

@openwrt-bot
Copy link

manusfreedom:

All Wifi (on all antenna) are visible as "Mode:Client" in Lucy and unable to get Wifi working at all.
The build from commit https://git.lede-project.org/?p=source.git;a=commit;h=3a3564ead5e4cf2f6ff73302c1e680b5575079ec works.
A build from commit https://git.lede-project.org/?p=source.git;a=commit;h=8301e613655c2d95fa5430a1a57d92d966fdc70b does not work.

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

@openwrt-bot
Copy link
Author

manusfreedom:

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

@openwrt-bot
Copy link
Author

manusfreedom:

I did some test.
And the "|| return" avoid running the command:
hostapd_ctrl="${hostapd_ctrl:-/var/run/hostapd/$ifname}"
And if not run, the wifi interface does not work.
For information mac80211_iw_interface_add "$phy" "$ifname" __ap return 233.

@openwrt-bot
Copy link
Author

npcomplete:

I can confirm this issue on Linksys EA9500.

@openwrt-bot
Copy link
Author

VittGam:

Hello,

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/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -429,6 +429,12 @@ rc="$?" }
  • [ "$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
    }

Cheers,
Vittorio

@openwrt-bot
Copy link
Author

valdi74:

Vittorio's patch resolves this issue on Rasperry Pi 3

Waldek.

@openwrt-bot
Copy link
Author

manusfreedom:

Vittorio's patch resolves this issue on Netgear R8000.
Thanks.

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