I’m trying to update the OpenWRT installtion on my Cluster Box control board, but unfortunately, it won’t let me get a new version of LuCI because of three failed dependencies, which lie deep in the dep tree of LuCI:
Details for package luci
Version: git-25.080.48774-47f75f5
Size: ~95 B installed
Dependencies:
luci-light Installed
luci-proto-ipv6 Installed
luci-app-firewall Installed
[…]
kmod-ipt-core Not available
kmod-ipt-conntrack Not available
kmod-ipt-nat Not available
I suppose that OpenWRT get all these packages from one of Mixtile’s download server, where these three packs are missing.
So: Where can I get these packages, so that I can perform the update?
To address the missing kmod-ipt-core, kmod-ipt-conntrack, and kmod-ipt-nat dependencies required for updating LuCI, follow these steps to compile the kernel modules from the Mixtile OpenWRT source code:
Step-by-Step Guide
Clone the Official Mixtile OpenWRT Repository
git clone https://github.com/mixtile-rockchip/mixtile-clusterbox-mt7620a-openwrt.git
cd mixtile-clusterbox-mt7620a-openwrt
Update Feeds and Install Dependencies
./scripts/feeds update -a
./scripts/feeds install -a
Configure the Kernel Modules
Run the configuration menu:
After making that configuration change and rebuilding the firmware image, I don’t get any kmod-* files in bin/packages/mipsel_24kc/base, but there are some in bin/targets/ramips/mt7620/packages. However, these fail to install with:
$ sudo opkg install kmod-ipt-*
Unknown package 'kmod-ipt-conntrack'.
Installing kmod-ipt-core (5.15.150-1) to root...
Unknown package 'kmod-ipt-nat6'.
Installing kmod-ipt-nat (5.15.150-1) to root...
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.150-1-e2f55f0e720002ac54e459f28fdd6773) for kmod-ipt-core
* pkg_hash_check_unresolved: cannot find dependency kmod-nf-ipt for kmod-ipt-core
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-core found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.150-1-e2f55f0e720002ac54e459f28fdd6773) for kmod-ipt-conntrack
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-conntrack found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-ipt-conntrack.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-core:
* kernel (= 5.15.150-1-e2f55f0e720002ac54e459f28fdd6773)
* kmod-nf-ipt
* opkg_install_cmd: Cannot install package kmod-ipt-core.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.150-1-e2f55f0e720002ac54e459f28fdd6773) for kmod-ipt-nat
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.150-1-e2f55f0e720002ac54e459f28fdd6773) for kmod-ipt-nat6
* pkg_hash_check_unresolved: cannot find dependency kmod-nf-nat6 for kmod-ipt-nat6
* pkg_hash_check_unresolved: cannot find dependency kmod-ip6tables for kmod-ipt-nat6
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat6 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-ipt-nat6.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-nat:
* kernel (= 5.15.150-1-e2f55f0e720002ac54e459f28fdd6773)
* opkg_install_cmd: Cannot install package kmod-ipt-nat.