Upgraded from 18.06.1 to 18.06.2 -> No WIFI (Ubiquiti UniFi-AC-PRO)

Hello!

Yesterday I upgraded my Ubiquiti UniFi-AC-PRO from 18.06.1 to 18.06.2 via LuCI and everything went smooth but then I first noticed that kernel was still 4.9.120 while according to the release notes it should be 4.9.152 and worst of all, wireless is not working. It's enabled but it looks like something's not right.

I also see this in the log files:

Mon Feb  4 10:21:50 2019 daemon.notice netifd: radio0 (979): Could not find PHY for device 'radio0'
Mon Feb  4 10:21:51 2019 daemon.notice netifd: radio1 (981): Could not find PHY for device 'radio1'
Mon Feb  4 10:21:52 2019 daemon.notice netifd: radio0 (1074): WARNING: Variable 'data' does not exist or is not an array/object
Mon Feb  4 10:21:52 2019 daemon.notice netifd: radio1 (1084): WARNING: Variable 'data' does not exist or is not an array/object

Any ideas?
Thank you in advance!

2 Likes

Move the "/etc/config/wireless" file somewhere else, then execute "wifi" to detect the hardware and create a new file.

Thanks for your reply Eduardo.

I did as you said and the "Wireless" option under "Network" has dissapeared from the LuCI menu.
And again this:

Mon Feb  4 11:20:19 2019 daemon.notice netifd: radio0 (5562): Could not find PHY for device 'radio0'
Mon Feb  4 11:20:20 2019 daemon.notice netifd: radio1 (5563): Could not find PHY for device 'radio1'
Mon Feb  4 11:20:20 2019 daemon.notice netifd: radio0 (5573): WARNING: Variable 'data' does not exist or is not an array/object
Mon Feb  4 11:20:20 2019 daemon.notice netifd: radio1 (5575): WARNING: Variable 'data' does not exist or is not an array/object

Something's telling me it has to do with the kernel version still being the previous one:

BusyBox v1.28.4 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 18.06.2, r7676-cddd7b4c77
 -----------------------------------------------------
root@openwrt:~# uname -a
Linux openwrt 4.9.120 #0 Thu Aug 16 07:51:15 2018 mips GNU/Linux

How's it possible the upgrade did not flash the new kernel?

The issue looks pretty much like this one:
https://bugs.openwrt.org/index.php?do=details&task_id=662

In fact I justr tried and it's actually read only:

root@openwrt:/tmp# mtd -r write openwrt-18.06.2-ar71xx-generic-ubnt-unifiac-pro-squashfs-sysupgrade.bin ubnt-airos
Could not open mtd device: ubnt-airos
Can't open device for writing!

What can I do??

Ok, just in case this helps someone I fixed it by issuing the following command (warning: this solution will only work for these devices):

dd if=/dev/zero bs=1 count=1 of=/dev/mtdX

Being /dev/mtdX the bs partition shown in /proc/mtd

This command forces booting from the new kernel, resulting in working wireless devices.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.