Google OnHub, can't install packages?

I am using a new snapshot that is less than a week old. After setting up the router and ensuring everything works, I wanted to install some software so I tried to update the package list via LuCI.

I noticed it's trying to look for packages in https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/packages/ and I didn't know what the issue is because that URL contains items.

I am not new to OpenWRT but I am very new to installing additional packages, so maybe I am missing something :sweat:

Downloading https://downloads.openwrt.org/releases/23.05.2/targets/ipq806x/chromium/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.2/targets/ipq806x/chromium/packages/Packages.gz

Downloading https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz

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

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

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

Downloading https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
Errors
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.2/targets/ipq806x/chromium/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.2/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.
The opkg update command failed with code 6.

The pragmatic approach would be to sysupgrade with the current image again, snapshots are rebuilt ~daily and the kernel changes (almost) every time.

1 Like

would indicate a network issue of some sort ...

Wget error 4 is generic error, but the "failed to send..." error sounds like a routing or interface problem. Trying to use an unroutable interface?
Trying to use IPv6 without connectivity?
Some special routing/VPN in use?

I did not know this. Thank you!

Hmm, my setup is a little unorthodox. I don't have IPv6 from my ISP, so I'll make sure that isn't the issue.

(My ISP requires PPPoE login with password, but the person who can provide this info isn't available until next month, so for now I have the ISP modem/router still operating DHCP server, with my OpenWRT OnHub connected by static IP, and my OnHub's IP is listed in the DMZ of the ISP's modem/router. As soon as the person who can provide the info returns, I will be removing the ISP modem/router entirely and properly connecting the OnHub directly with PPPoE login.)

This requires you to manually add DNS and GW IPs to your Openwrt config.

Have you done it ?

Why ?

This shouldn't be needed unless you access the OnHub from internet.

Thank you! I did not manually add the DNS but I added the GW. Once I added the DNS, everything worked! :smiley:

Thank you frollic. :+1:

Also, maybe I am wrong, but I thought putting the IP of the OpenWRT router into the DMZ prevented double NAT. Maybe I was incorrect? Now that opkg is working thanks to your advice, I will leave it alone until I can retrieve the PPPoE login, unless there is a better way to avoid double NAT in my situation. Then when I am able to properly connect it directly to fiber ONT, I will re-configure it.

Set it up as https://openwrt.org/docs/guide-user/network/wifi/dumbap, if you haven't already.
No double NAT, if you do.

1 Like