I cannot update or upgrade OpenWRT packages. I get the following error. I can ping and resolve hostnames just fine from the Dianostics section.
Any ideas?
Thanks
Model Ubiquiti UniFi AC LR
Architecture Qualcomm Atheros QCA956X ver 1 rev 0
Target Platform ath79/generic
Firmware Version OpenWrt 22.03.2 r19803-9a599fee93 / LuCI openwrt-22.03 branch git-22.288.45147-96ec0cd
Kernel Version 5.10.146
Executing package manager
Downloading https://downloads.openwrt.org/releases/22.03.2/targets/ath79/generic/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/targets/ath79/generic/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/base/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/luci/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/routing/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/telephony/Packages.gz
Errors
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.2/targets/ath79/generic/packages/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/base/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/luci/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/packages/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/routing/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/telephony/Packages.gz, wget returned 5.
The opkg update command failed with code 6.
Or if possible, could someone link me to the latest available firmware for this chipset. I am still not 100% with choosing the right firmware and would absolutely hate to brick these devices now as the configuration is not going to be fun to redo.
Have you tried using attended sysupgrade? It provides a nice interface for upgrades and you can create custom images with the packages you need in them.
Obviously you may not be able to install the package because of the opkg errors.
Last question, I have a Unifi AP Pro aswell. Can I use the same firmware for that?
Also, do you know why package upgrades are failing?
Model Ubiquiti UniFi AC Pro
Architecture Qualcomm Atheros QCA956X ver 1 rev 0
Target Platform ath79/generic
Firmware Version OpenWrt 22.03.2 r19803-9a599fee93 / LuCI openwrt-22.03 branch git-22.288.45147-96ec0cd
Kernel Version 5.10.146
Image check failed:
Sun Nov 6 09:40:30 NZDT 2022 upgrade: Device ubnt,unifiac-lr not supported by this image Sun Nov 6 09:40:30 NZDT 2022 upgrade: Supported devices: ubnt,unifi unifi Image check failed.
Upgrading packages (via the CLI opkg upgrade command or the LuCI Upgrade... button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.
If you’re actually just trying to update the package lists so you can install packages (not upgrade them), that should be fine, of course. In that case, the problem is likely network connectivity.
Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
It seems that the OP may be using an UAP-AC series device...
Also, on that note, it is really important to make sure that the correct firmware image is installed... it's easy to accidentally install the UAP version when the UAP-AC version is required (or vice versa).
TFTP PUT the image to 192.168.1.20. This should be done promptly, since although the LEDs continue to blink indefinitely, after a few minutes the UAP will stop responding to TFTP. If the TFTP put attempt times out, repeat the power up reset process and try again.
Flashing via TFTP (TFTP recovery)
OpenWrt cannot be flashed this way since the firmware must be signed. Any version of the official firmware should work though.
Keep the reset button pressed while powering on the AP
Wait until the LED ring is blinking white/blue/off (ca. 15 sec.) then release the button. The UAP is now a TFTP server at 192.168.1.20. It will not respond to pings or serve DHCP, so you must static IP your PC.
TFTP PUT the image to 192.168.1.20. This should be done promptly, since although the LEDs continue to blink indefinitely, after a few minutes the UAP will stop responding to TFTP. If the TFTP put attempt times out, repeat the power up reset process and try again.
Further TFTP client instructions in here.
If successful, the TFTP transfer will complete in a few seconds, then the LEDs will flash in various patterns. Leave the UAP alone (powered up) until the LED lights steady white, which may take several minutes.