DDNS setup gone wrong OPKG Update Failed

I have a Luxul ABR-4500. I installed OpenWRT directly from the compatible device list. I got everything up and working. The internet is currently working fine and has been for months.

System
|Hostname|LuxulOpenWrt|
|Model|Luxul ABR-4500 V1|
|Architecture|ARMv7 Processor rev 0 (v7l)|
|Target Platform|bcm53xx/generic|
|Firmware Version|OpenWrt 22.03.3 r20028-43d71ad93e / LuCI openwrt-22.03 branch git-23.039.29681-007c243|
|Kernel Version|5.10.161|
|Local Time|2023-03-01 12:08:30|
|Uptime|8d 13h 22m 15s|
|Load Average|0.00, 0.00, 0.00|

Today, I was following a guide to try and get ddns going. (https://openwrt.org/docs/guide-user/services/ddns/client).

I got to the step:

  1. Install the provider specific packages ddns-scripts_* and LuCI language packages luci-i18n-ddns-*.

When I tried to install them I received an error. I didn't log it. So I went to software and tried to Update Lists... to which I received this:

Executing package manager

Downloading https ://downloads.openwrt.org/releases/22.03.3/targets/bcm53xx/generic/packages/Packages.gz *** Failed to download the package list from https ://downloads.openwrt. org/releases/22.03.3/targets/bcm53xx/generic/packages/Packages.gz

Downloading https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/base/Packages.gz *** Failed to download the package list from
https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/base/Packages.gz >

Downloading https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/luci/Packages.gz *** Failed to download the package list from https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/luci/Packages.gz

Downloading https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/packages/Packages.gz *** Failed to download the package list from https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/packages/Packages.gz

Downloading https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/routing/Packages.gz *** Failed to download the package list from https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/routing/Packages.gz

Downloading https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/telephony/Packages.gz *** Failed to download the package list from https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/telephony/Packages.gz

Errors

Collected errors:

  • opkg_download:
    Failed to download https ://downloads.openwrt.org/releases/22.03.3/targets/bcm53xx/generic/packages/Packages.gz, wget returned 5.
  • opkg_download:
    Failed to download https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/base/Packages.gz, wget returned 5.
  • opkg_download:
    Failed to download https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/luci/Packages.gz, wget returned 5.
  • opkg_download: Failed to download https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/packages/Packages.gz, wget returned 5.
  • opkg_download: Failed to download https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/routing/Packages.gz, wget returned 5.
  • opkg_download: Failed to download https ://downloads.openwrt.org/releases/22.03.3/packages/arm_cortex-a9/telephony/Packages.gz, wget returned 5.

The opkg update command failed with code 6.

I tried uninstalling everything that I installed but this didn't seem to fix the issue.
I then went to Network Utilities and did a ipv4 ping to openwrt. org:

PING openwrt. org (139.59.209.225): 56 data bytes
64 bytes from 139.59.209.225: seq=0 ttl=53 time=137.111 ms
64 bytes from 139.59.209.225: seq=1 ttl=53 time=135.649 ms
64 bytes from 139.59.209.225: seq=2 ttl=53 time=135.606 ms
64 bytes from 139.59.209.225: seq=3 ttl=53 time=135.383 ms
64 bytes from 139.59.209.225: seq=4 ttl=53 time=135.563 ms
--- openwrt. org ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 135.383/135.862/137.111 ms

ipv6 to openwrt. org:
PING openwrt. org (2a03:b0c0:3:d0::1af1:1): 56 data bytes
ping6: sendto: Network unreachable

The internet is still working but I'm stuck with pkgs not being able to be updated or installed.
Thanks in advance.

This has to do with out of date certs or incompatible ssl versions.
It typically occurs after one and/or the other of the following:

  • updates to, or installation of alternate ssl packages.
  • restoration of a backup that incldues all of /etc/ which may thus bring in out of sync certs.

Have you done either or both of these?

1 Like

Step 4 from openwrt's website

  1. Install the packages wget and ca-certificates, or curl and ca-bundle for SSL support.

Perhaps that? I did nothing else.

I think that could be responsible.

Make a backup, reset your router to defaults, restore the backup, and then try installing the ddns packages again.

1 Like

I will try that when my wife gets a break from work and I will get back with you.

The easy, no-downtime, cop out would be changing /etc/opkg/distfeeds.conf from https to plain http; the repository authenticity is validated by usign signatures anyways (and https only makes stuff difficult for this use case, without any real reason).

1 Like

This fixed the OPKG update issue but ipv6 ping is still not working? Is it possible that it is just my isp doesnt assign ipv6 so it wouldn't ping?

Yes, this is certainly possible.

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