Jump to content

Recommended Posts

Posted (edited)

Hello.

 

It seems there is an issue with iptables in the 6.18.10-current-meson64 kernel.

I can't start Docker because of this.

 

```

~# iptables -L

modprobe: FATAL: Module ip_tables not found in directory /lib/modules/6.18.10-current-meson64
iptables v1.8.11 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
```

As I run a docker version 28.X.X, it does not support nftable. (Cannot upgrade at the moment).

What can I do to solve the problem ?

 

Thanks
 

Edited by Jeedom Cassivet
Posted (edited)

Thanks for your answer.

 

I very sorry to ask you one more things please. How can I check if module is present. In modules files in "/lib/modules/6.18.10-current-meson64" ?

 

I tried to do this

# cd /lib/modules/6.18.10-current-meson64
# grep -r "iptables" . 

Answer 

grep: ./net/ipv4/netfilter/ipt_rpfilter.ko : fichiers binaires correspondent
grep: ./net/bridge/br_netfilter.ko : fichiers binaires correspondent


I not an expert

PS : I'am on  Minimal / IOT version. Maybe it's the reason ?

Thanks

Edited by Jeedom Cassivet
Posted
8 hours ago, Jeedom Cassivet said:

It seems there is an issue with iptables in the 6.18.10-current-meson64 kernel.


Did you perhaps upgrade kernel and forgot to reboot?

Posted

Hi,

Here what I do

 

1°)  Flash the minimal - IOT image (trixie) for Odroid N2+ on my EMMc
2°) setup Root password and user
3°) Set up locale
4°) use armbian-config to switch on kernel 6.19.0
5°) Reboot - After Reboot I can see this

v26.2.1 for Odroid N2 running Armbian Linux 6.19.0-edge-meson64


6°) use armbian-config to add linux header

7°) reboot

8°) use these commands:
 

# grep -r "iptables" /lib/modules/.

grep: /lib/modules/./6.19.0-edge-meson64/kernel/net/ipv4/netfilter/ipt_rpfilter.ko : fichiers binaires correspondent
grep: /lib/modules/./6.19.0-edge-meson64/kernel/net/bridge/br_netfilter.ko : fichiers binaires correspondent

# grep -r "ip_tables" /lib/modules/.
-- nothing

# find /lib/modules/ -name ip*
lot of filkes but no ip_tables.ko


9°) use armbian-upgrade
10°) reboot
11°) retry commands grep et find: same result
12°) Try to launch 

# iptables -L
command not found

13°) Install iptables 

# apt install -y iptables
# iptables -v
iptables v1.8.11 (nftables): no command specified

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

# update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives: utilisation de « /usr/sbin/iptables-legacy » pour fournir « /usr/sbin/iptables » (iptables) en mode manuel

# update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
update-alternatives: utilisation de « /usr/sbin/ip6tables-legacy » pour fournir « /usr/sbin/ip6tables » (ip6tables) en mode manuel

# iptables -L
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/6.19.0-edge-meson64
iptables v1.8.11 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

 

14°) Reboot

15°) Try 

# iptables -L
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/6.19.0-edge-meson64
iptables v1.8.11 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

 

Do I made something wrong ?

Thanks 
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines