spacefly2020 DD-WRT Novice
Joined: 29 Jan 2025 Posts: 2
|
Posted: Thu Feb 06, 2025 15:38 Post subject: Missing kernel modules nfnetlink_queue and xt_NFQUEUE. |
|
I noticed that the builds are missing the "nfnetlink_queue" and "xt_NFQUEUE" kernel modules.
I tried to compile them myself (using the 4.4.302 kernel source codes from the DD-WRT git repository), but when I try to use them I get a kernel panic and a reboot of the Netgear R7000 router (starting from build 3.0-r44715, ending with build 3.0-r59397).
Can they be posted as a separate package (they are not available in Entware)? If this is not possible, then please tell me how to compile them correctly for the Netgear R7000 (Broadcom SoC based Hardware) - which .config file to choose for the build.
I did this (see below).
On PC with OS Linux Ubuntu 24.04 LTS.
Code: | sudo apt-get install gcc-arm-linux-gnueabi binutils-arm-linux-gnueabi
export KERNEL_DIR=/home/user/dd-wrt/linux-4.4
export MOD_TMP_DIR=/home/user/tmp/arm-modules
mkdir -p $MOD_TMP_DIR
cd $KERNEL_DIR
make clean ARCH=arm
cp .config_northstar_smp .config
make menuconfig ARCH=arm
# In the required checkboxes (two) pressed "m"
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules
make modules_install ARCH=arm INSTALL_MOD_PATH=$MOD_TMP_DIR |
After compilation, I took the nfnetlink_queue.ko and xt_NFQUEUE.ko modules from the $MOD_TMP_DIR directory and copied them to the Netgear R7000 router.
Then I ran the commands:
Code: | insmod /opt/modules/nfnetlink_queue.ko && insmod /opt/modules/xt_NFQUEUE.ko |
And I made sure that the modules were loaded (("lsmod" command)).
I ask for your help. Thank you for your attention.
P.S. Sorry for my bad English. |
|