OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version openwrt-21.02
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by WvdAkker - 26.05.2021

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

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

- 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

Anonymous Submitter commented on 29.05.2021 06:40


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

So backup your


config file and run following command:

wifi config

In the new


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:


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

WvdAkker commented on 29.05.2021 08:21

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,

Project Manager
Hauke Mehrtens commented on 29.05.2021 09:49

You said you build a custom version because of #2226. What did you change?

This looks like the PCI card is not detected. There were some changes related to the pin configuration. Could you please post the output of these files from the working version and the broken version:

WvdAkker commented on 29.05.2021 10:42

Attached the file.

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


Available keyboard shortcuts


Task Details

Task Editing