Hi!

I compiled iptables (version 1.3.2 to 1.3.5) for the ezx using the ezx-cross-tool-0.5 and the kernel sources from the openezx wiki.

It compiles but when I try to run it on the E680i, I get some errors:
# ./iptables --list
iptables v1.3.3: can't initialize iptables table `filter': No chain/target/match by that name
Perhaps iptables or your kernel needs to be upgraded.

# strace iptables --list
execve("/diska/bin/iptables", ["iptables", "--list"], [/* 17 vars */]) =0
uname({sys="Linux", node="(none)", ...}) = 0
fcntl64(0, 0x1, 0x5f, 0) = 0
fcntl64(0x1, 0x1, 0x5f, 0) = 0
fcntl64(0x2, 0x1, 0x5f, 0) = 0
geteuid32() = 0
getuid32() = 0
getegid32() = 0
getgid32() = 0
brk(0) = 0x9b784
brk(0x9c784) = 0x9c784
brk(0x9d000) = 0x9d000
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
getsockopt(3, SOL_IP, 0x40 /* IP_??? */, [1953261926], [84]) = 0
getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x9bb70, 0xbffff99 = -1 EINVAL (Invalid argument)
close(3) = 0
open("/proc/sys/kernel/modprobe", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "iptables v1.3.3: ", 17iptables v1.3.3: ) = 17
write(2, "can\'t initialize iptables table "..., 76can't initialize iptables
table `filter': No chain/target/match by that name) = 76
write(2, "\n", 1 ) = 1
write(2, "Perhaps iptables or your kernel "..., 54Perhaps iptables or your
kernel needs to be upgraded. ) = 54
_exit(3) = ?

The setsockopt which fails seems to be for option IPT_SO_GET_ENTRIES.

Iptables from Mack and from Harald Welte both work but I need to be able to build my own iptables sources. This also means that my kernel seems OK.

Does someone have any idea what my problem is?

Many thanks for your help
Sylvia