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#3829 - No WiFi after upgrading from 19.07 to 21.02 #8827

Open
openwrt-bot opened this issue May 26, 2021 · 4 comments
Open

FS#3829 - No WiFi after upgrading from 19.07 to 21.02 #8827

openwrt-bot opened this issue May 26, 2021 · 4 comments
Labels
flyspray release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release

Comments

@openwrt-bot
Copy link

wvdakker:

Device : Zyxel P2812 F1
Version : 21.02 snapshot r16824-91abeebd3b

Steps:

  • Router with 19.07.4
  • Upgrade to 21.02 (this is a custom build version because the version on the openwrt-download does not work (bug 2226))
  • after reboot the WiFi device is not available
  • run WiFi up resuls in message in logread:

Wed May 26 22:30:03 2021 daemon.notice netifd: radio0 (2491): Could not find PHY for device 'radio0'
Wed May 26 22:30:03 2021 daemon.notice netifd: radio0 (2499): WARNING: Variable 'data' does not exist or is not an array/object

Attached is dmesg-log and config

@openwrt-bot
Copy link
Author

None:

Hi!

The device identifier changes between ar71xx and ath79 platform. You shall regenerate your wifi config to get the new ID.

So backup your /etc/config/wireless config file and run following command:
wifi config

In the new /etc/config/wireless file, check how the following line has changed:
option path 'platform/ahb/180c0000.wmac'

Now, all you need to do is to change back the old config and edit the line for "option path". Copy over the new path from the freshly generated config.
Once it is done, restart wifi with command:
wifi

I had to do the same when I upgraded. Hope this helps.

@openwrt-bot
Copy link
Author

wvdakker:

Thanks for the suggestion.

However this is not a router with an ar7xx chipset but a realtek.

if I run
wifi config

I get a wireless file with a size of 0 bytes,

@openwrt-bot
Copy link
Author

Hauke:

You said you build a custom version because of [[https://bugs.openwrt.org/index.php?do=details&task_id=2226|#2226]]. What did you change?

This looks like the PCI card is not detected. There were some changes related to the pin configuration.
https://git.openwrt.org/8e7b573b7aa4c08c7e838b271677dc68a0db128e
Could you please post the output of these files from the working version and the broken version:
/sys/kernel/debug/pinctrl/pinctrl-maps
/sys/kernel/debug/pinctrl/*/pinmux-pins

@openwrt-bot
Copy link
Author

wvdakker:

Attached the file.

I am diffing the files, but lack the knowledge to make any chocolate from it

@aparcar aparcar added the release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release
Projects
None yet
Development

No branches or pull requests

2 participants