Post Go back to editing

modprobe: module ip_tables not found in modules.dep

Hi EZ,

I am trying to run iptable script on uClinux platform on BF537 Stamp board, I 've enabled net filter using 'make menuconfig' command

when i run script it pops with the following error.

SETTING UP IPTABLES PROXY...
Loading required stateful/NAT kernel modules...
sh: can't execute '/sbin/depmod': No such file or directory
modprobe: module ip_tables not found in modules.dep
modprobe: module ip_conntrack not found in modules.dep
modprobe: module ip_conntrack_ftp not found in modules.dep
modprobe: module ip_conntrack_irc not found in modules.dep
modprobe: module iptable_nat not found in modules.dep
modprobe: module ip_nat_ftp not found in modules.dep
modprobe: module ip_nat_irc not found in modules.dep
    Enabling IP forwarding...
    External interface: eth2
       External interface IP address is: 192.168.4.9
    Loading proxy server rules...
modprobe: module ip_tables not found in modules.dep
iptables v1.4.5: can't initialize iptables table `nat': Table does not exist (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables: No chain/target/match by that name.
modprobe: module ip_tables not found in modules.dep
iptables v1.4.5: can't initialize iptables table `nat': Table does not exist (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
       Proxy server rule loading complete


modprobe: module ip_tables not found in modules.dep
iptables v1.4.5: can't initialize iptables table `nat': Table does not exist (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
  Allowing packets with ICMP data (pings)

i think i need to enable some modules but no idea which are those modules i need to enable

any lights on how to solve this error??

Parents
  • Hi EZ,

    I solved it , ip_tables and iptable_nat module got loaded automatically and later it was popping up with error

    iptables: No chain/target/match by that name.

    this is coz of 'state' match support kernel module was not loaded , i loaded it with 'modprobe xt_state' command

    now it works fine , just posted this coz might help for someone

    merry xmass enjoy

  • Hi ,

    i am also facing the same issue with the iptables.

    i am running  2019_r1 release built from petalinux for ZC706 + FMComms5.

    here is the error i am getting ...

    root@analog:~# iptables -L
    iptables v1.6.1: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.

    can u help me how to fix it ?

    thanks in advance.

Reply
  • Hi ,

    i am also facing the same issue with the iptables.

    i am running  2019_r1 release built from petalinux for ZC706 + FMComms5.

    here is the error i am getting ...

    root@analog:~# iptables -L
    iptables v1.6.1: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.

    can u help me how to fix it ?

    thanks in advance.

Children
No Data