Help. Can't install iptables-mod-dnetmap package

Probably kmod-ipt-dnetmap disappeared from the repository?

root@home-border:/$ opkg install  iptables-mod-dnetmap
Installing iptables-mod-dnetmap (2.14-9) to root...
Downloading http://downloads.openwrt.org/releases/19.07.1/packages/arm_cortex-a7_neon-vfpv4/packages/iptables-mod-dnetmap_2.14-9_arm_cortex-a7_neon-vfpv4.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for iptables-mod-dnetmap:
 * 	kmod-ipt-dnetmap
 * opkg_install_cmd: Cannot install package iptables-mod-dnetmap.

root@home-border:/$ opkg find kmod-ipt-*
kmod-ipt-conntrack - 4.14.167-1
kmod-ipt-conntrack-extra - 4.14.167-1
kmod-ipt-core - 4.14.167-1
kmod-ipt-extra - 4.14.167-1
kmod-ipt-ipopt - 4.14.167-1
kmod-ipt-ipset - 4.14.167-1
kmod-ipt-nat - 4.14.167-1
kmod-ipt-offload - 4.14.167-1
kmod-ipt-raw - 4.14.167-1

Thanks for your attention to me.

given the arch pair arm_cortex-a7_neon-vfpv4, Is it a sunxi board?

If that is the case, the package should be available at http://downloads.openwrt.org/releases/19.07.1/targets/sunxi/cortexa7/packages/kmod-ipt-dnetmap_4.14.167+2.14-8_arm_cortex-a7_neon-vfpv4.ipk

Please share content of /etc/opkg/distfeeds.conf. The URI prefix should be present there

The other thing worth noting is that the kmod is from 2.14-8 while the user space package is at 2.14-9. Might be an issue with the buildbot, but the package should still be functional.

1 Like

Thank you for answer.
Yes. It's a sunxi board.
The line
src/gz openwrt_core http://downloads.openwrt.org/releases/19.07.1/targets/sunxi/cortexa7/packages
in /etc/opkg/distfeeds.conf file was commented out for a reason I could not understand.
I uncommented it and make
opkg update
and then

 opkg  install kmod-ipt-dnetmap
Installing kmod-ipt-dnetmap (4.14.167+2.14-8) to root...
Downloading http://downloads.openwrt.org/releases/19.07.1/targets/sunxi/cortexa7/packages/kmod-ipt-dnetmap_4.14.167%2b2.14-8_arm_cortex-a7_neon-vfpv4.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-dnetmap:
 * 	kernel (= 4.14.167-1-9801ec2dfc48e8fb2cc10a339283e7b0)
 * opkg_install_cmd: Cannot install package kmod-ipt-dnetmap.

I see the problem in the kernel versions.
Please tell me how to solve this problem.

Thank You,

For compatibility reasons you can only install kmods if you use the official release (or more exactly, a version fully matching the kernel options of the release)

Based on that I suspect that you are not...

1 Like

Thank you, hnyman