Kmod-wireguard on OpenWRT One 24.10 rc2

I'm a newb (at least to OpenWRT) trying to install wireguard on an OpenWRT One (wireguard is the reason I bought it). However, I'm running into an issue. Every way that I try to install 'unetd' or 'wireguard-tools' or 'kmod-wireguard' directly, I get an error

For example:

opkg install unetd
Unknown package 'unetd'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kmod-wireguard for unetd
 * pkg_hash_fetch_best_installation_candidate: Packages for unetd found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package unetd.

or

opkg install kmod-wireguard
Unknown package 'kmod-wireguard'.
Collected errors:
 * opkg_install_cmd: Cannot install package kmod-wireguard.

or via the friendly 192.168.1.1 HTTPS interface.

What am I doing wrong?

1 Like

The RC2 on those early Ones were broken, the package feeds file is truncated and missing links to the full package repos.

First thing you need to do is upgrade to 24.10.x (where 'x' is the latest maintenance release). Since you're already on the command line, let's stay there for this. First, copy and paste this as one command to fix the feeds file (ignore that it's 24.10.2, that doesn't matter as the package feeds for 24.10* all point to the same place).

echo "
src/gz openwrt_luci https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/24.10.2/packages/aarch64_cortex-a53/telephony
" >> /etc/opkg/distfeeds.conf

Next, install owut.

opkg update && opkg install owut

Then run an upgrade, this should take you to 24.10.x within a couple minutes.

owut upgrade -v

After that's all done and the router has rebooted, your experiments with wireguard et al should proceed without errors.

Thank you for the fast response. This was exactly the insight I needed.

1 Like

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