You are not logged in.

#1 2013-03-24 18:56:19

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

can't initialize iptables : table does not exist

Error when running ettercap : iptables v1.4.18: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
                                          Perhaps iptables or your kernel needs to be upgraded.

Different commands tried, all as ROOT:

iptables -nvL
iptables v1.4.18: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
modprobe ip_tables
modprobe ip_conntrack
modprobe iptable-filter
modprobe ipt_state
iptables -nvL
iptables v1.4.18: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
zgrep IPTABLES /proc/config.gz
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP6_NF_IPTABLES=m
ls /lib/modules/*/kernel/net/*/netfilter/
/lib/modules/3.8.4-1-ARCH/kernel/net/bridge/netfilter/:
ebt_802_3.ko.gz     ebt_ip6.ko.gz     ebt_pkttype.ko.gz   ebtable_broute.ko.gz
ebt_among.ko.gz     ebt_limit.ko.gz   ebt_redirect.ko.gz  ebtable_filter.ko.gz
ebt_arp.ko.gz	    ebt_log.ko.gz     ebt_snat.ko.gz	  ebtable_nat.ko.gz
ebt_arpreply.ko.gz  ebt_mark.ko.gz    ebt_stp.ko.gz	  ebtables.ko.gz
ebt_dnat.ko.gz	    ebt_mark_m.ko.gz  ebt_ulog.ko.gz
ebt_ip.ko.gz	    ebt_nflog.ko.gz   ebt_vlan.ko.gz

/lib/modules/3.8.4-1-ARCH/kernel/net/ipv4/netfilter/:
arp_tables.ko.gz       ipt_ULOG.ko.gz	       nf_conntrack_ipv4.ko.gz
arpt_mangle.ko.gz      ipt_ah.ko.gz	       nf_defrag_ipv4.ko.gz
arptable_filter.ko.gz  ipt_rpfilter.ko.gz      nf_nat_h323.ko.gz
ip_tables.ko.gz        iptable_filter.ko.gz    nf_nat_ipv4.ko.gz
ipt_CLUSTERIP.ko.gz    iptable_mangle.ko.gz    nf_nat_pptp.ko.gz
ipt_ECN.ko.gz	       iptable_nat.ko.gz       nf_nat_proto_gre.ko.gz
ipt_MASQUERADE.ko.gz   iptable_raw.ko.gz       nf_nat_snmp_basic.ko.gz
ipt_REJECT.ko.gz       iptable_security.ko.gz

/lib/modules/3.8.4-1-ARCH/kernel/net/ipv6/netfilter/:
ip6_tables.ko.gz       ip6t_eui64.ko.gz       ip6t_rpfilter.ko.gz    ip6table_raw.ko.gz
ip6t_MASQUERADE.ko.gz  ip6t_frag.ko.gz	      ip6t_rt.ko.gz	     ip6table_security.ko.gz
ip6t_NPT.ko.gz	       ip6t_hbh.ko.gz	      ip6table_filter.ko.gz  nf_conntrack_ipv6.ko.gz
ip6t_REJECT.ko.gz      ip6t_ipv6header.ko.gz  ip6table_mangle.ko.gz  nf_defrag_ipv6.ko.gz
ip6t_ah.ko.gz	       ip6t_mh.ko.gz	      ip6table_nat.ko.gz     nf_nat_ipv6.ko.gz

/lib/modules/3.8.4-1-ck/kernel/net/bridge/netfilter/:
ebt_802_3.ko.gz     ebt_ip6.ko.gz     ebt_pkttype.ko.gz   ebtable_broute.ko.gz
ebt_among.ko.gz     ebt_limit.ko.gz   ebt_redirect.ko.gz  ebtable_filter.ko.gz
ebt_arp.ko.gz	    ebt_log.ko.gz     ebt_snat.ko.gz	  ebtable_nat.ko.gz
ebt_arpreply.ko.gz  ebt_mark.ko.gz    ebt_stp.ko.gz	  ebtables.ko.gz
ebt_dnat.ko.gz	    ebt_mark_m.ko.gz  ebt_ulog.ko.gz
ebt_ip.ko.gz	    ebt_nflog.ko.gz   ebt_vlan.ko.gz

/lib/modules/3.8.4-1-ck/kernel/net/ipv4/netfilter/:
arp_tables.ko.gz       ipt_ULOG.ko.gz	       nf_conntrack_ipv4.ko.gz
arpt_mangle.ko.gz      ipt_ah.ko.gz	       nf_defrag_ipv4.ko.gz
arptable_filter.ko.gz  ipt_rpfilter.ko.gz      nf_nat_h323.ko.gz
ip_tables.ko.gz        iptable_filter.ko.gz    nf_nat_ipv4.ko.gz
ipt_CLUSTERIP.ko.gz    iptable_mangle.ko.gz    nf_nat_pptp.ko.gz
ipt_ECN.ko.gz	       iptable_nat.ko.gz       nf_nat_proto_gre.ko.gz

I'm not sure but I think the problem might be here, I don't totally understand the command but my ettercap was working fine one month ago (when I still had the original Arch kernel) and it seems there is modules from 2 kernels here...

Can anyone help me please? thanks for your patience

Offline

#2 2013-03-24 19:25:27

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: can't initialize iptables : table does not exist

Maybe:  CONFIG_IP_NF_FILTER

Take a look:

zgrep FILTER /proc/config.gz

Offline

#3 2013-03-24 19:40:29

jynnantonix
Member
Registered: 2012-09-07
Posts: 33

Re: can't initialize iptables : table does not exist

I had a similar problem with iptables a while back.  Turned out that I had upgraded the kernel but I hadn't rebooted yet, maybe the same will work for you?

Offline

#4 2013-03-24 20:51:45

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Re: can't initialize iptables : table does not exist

zgrep FILTER /proc/config.gz
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=y
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_ACCT=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_NETLINK_LOG=m
CONFIG_NETFILTER_NETLINK_QUEUE_CT=y
CONFIG_NETFILTER_TPROXY=m
CONFIG_NETFILTER_XTABLES=m
CONFIG_NETFILTER_XT_MARK=m
CONFIG_NETFILTER_XT_CONNMARK=m
CONFIG_NETFILTER_XT_SET=m
CONFIG_NETFILTER_XT_TARGET_AUDIT=m
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m
CONFIG_NETFILTER_XT_TARGET_CT=m
CONFIG_NETFILTER_XT_TARGET_DSCP=m
CONFIG_NETFILTER_XT_TARGET_HL=m
CONFIG_NETFILTER_XT_TARGET_HMARK=m
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m
CONFIG_NETFILTER_XT_TARGET_LED=m
CONFIG_NETFILTER_XT_TARGET_LOG=m
CONFIG_NETFILTER_XT_TARGET_MARK=m
CONFIG_NETFILTER_XT_TARGET_NETMAP=m
CONFIG_NETFILTER_XT_TARGET_NFLOG=m
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
CONFIG_NETFILTER_XT_TARGET_RATEEST=m
CONFIG_NETFILTER_XT_TARGET_REDIRECT=m
CONFIG_NETFILTER_XT_TARGET_TEE=m
CONFIG_NETFILTER_XT_TARGET_TPROXY=m
CONFIG_NETFILTER_XT_TARGET_TRACE=m
CONFIG_NETFILTER_XT_TARGET_SECMARK=m
CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
CONFIG_NETFILTER_XT_MATCH_CLUSTER=m
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_NETFILTER_XT_MATCH_CPU=m
CONFIG_NETFILTER_XT_MATCH_DCCP=m
CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m
CONFIG_NETFILTER_XT_MATCH_DSCP=m
CONFIG_NETFILTER_XT_MATCH_ECN=m
CONFIG_NETFILTER_XT_MATCH_ESP=m
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
CONFIG_NETFILTER_XT_MATCH_HELPER=m
CONFIG_NETFILTER_XT_MATCH_HL=m
CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
CONFIG_NETFILTER_XT_MATCH_IPVS=m
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
CONFIG_NETFILTER_XT_MATCH_MAC=m
CONFIG_NETFILTER_XT_MATCH_MARK=m
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
CONFIG_NETFILTER_XT_MATCH_NFACCT=m
CONFIG_NETFILTER_XT_MATCH_OSF=m
CONFIG_NETFILTER_XT_MATCH_OWNER=m
CONFIG_NETFILTER_XT_MATCH_POLICY=m
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
CONFIG_NETFILTER_XT_MATCH_RATEEST=m
CONFIG_NETFILTER_XT_MATCH_REALM=m
CONFIG_NETFILTER_XT_MATCH_RECENT=m
CONFIG_NETFILTER_XT_MATCH_SCTP=m
CONFIG_NETFILTER_XT_MATCH_SOCKET=m
CONFIG_NETFILTER_XT_MATCH_STATE=m
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
CONFIG_NETFILTER_XT_MATCH_STRING=m
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
CONFIG_NETFILTER_XT_MATCH_TIME=m
CONFIG_NETFILTER_XT_MATCH_U32=m
CONFIG_IP_NF_MATCH_RPFILTER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP6_NF_MATCH_RPFILTER=m
CONFIG_IP6_NF_FILTER=m
CONFIG_BRIDGE_EBT_T_FILTER=m
# CONFIG_ATM_BR2684_IPFILTER is not set
# CONFIG_BT_BNEP_MC_FILTER is not set
# CONFIG_BT_BNEP_PROTO_FILTER is not set
CONFIG_PPP_FILTER=y
CONFIG_IPPP_FILTER=y

I rebooted many times since I changed my kernel, it's been like 2 months

Offline

#5 2013-03-24 21:33:48

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: can't initialize iptables : table does not exist

trixrabbit wrote:

...
I'm not sure but I think the problem might be here, I don't totally understand the command but my ettercap was working fine one month ago (when I still had the original Arch kernel) and it seems there is modules from 2 kernels here...

Nice to know that you are running a custom kernel.

Run lsmod to really confirm that the modules are loaded.
Paste contents of /proc/net/ip_tables_names and output of strace iptables -nvL.

Offline

#6 2013-03-24 21:44:18

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Re: can't initialize iptables : table does not exist

@mich41 Oops I forgot to mention I'm running the ck kernel for duo core CPU

lsmod
Module                  Size  Used by
nfnetlink_log           8037  0 
nfnetlink               3489  1 nfnetlink_log
fuse                   69258  2 
iTCO_wdt                5447  0 
iTCO_vendor_support     1929  1 iTCO_wdt
joydev                  9727  0 
snd_hda_codec_analog    79922  1 
coretemp                6198  0 
arc4                    2007  2 
kvm                   392193  0 
btusb                  14804  0 
bluetooth             301098  2 btusb
pcmcia                 46292  0 
microcode              14465  0 
psmouse                76175  0 
iwl3945                55148  0 
i2c_i801               11077  0 
pcspkr                  1995  0 
serio_raw               5105  0 
evdev                  10136  13 
battery                 7098  0 
yenta_socket           32921  0 
lpc_ich                11601  0 
pcmcia_rsrc             9273  1 yenta_socket
pcmcia_core            14173  3 pcmcia,pcmcia_rsrc,yenta_socket
thinkpad_acpi          62433  0 
ac                      2568  0 
iwlegacy               48804  1 iwl3945
nvram                   5906  1 thinkpad_acpi
mac80211              467685  2 iwl3945,iwlegacy
tpm_tis                10570  0 
tpm                    14476  1 tpm_tis
tpm_bios                9937  1 tpm
i915                  558838  3 
cfg80211              433688  3 iwl3945,iwlegacy,mac80211
snd_hda_intel          34194  3 
rfkill                 15996  4 cfg80211,thinkpad_acpi,bluetooth
snd_hda_codec         102453  2 snd_hda_intel,snd_hda_codec_analog
drm_kms_helper         35517  1 i915
snd_hwdep               6428  1 snd_hda_codec
snd_pcm                78018  3 snd_hda_codec,snd_hda_intel
drm                   225975  4 i915,drm_kms_helper
acpi_cpufreq           10630  1 
mperf                   1235  1 acpi_cpufreq
i2c_algo_bit            5391  1 i915
snd_page_alloc          7394  2 snd_pcm,snd_hda_intel
snd_timer              18934  2 snd_pcm
wmi                     8379  0 
snd                    60156  11 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_hda_codec_analog
e1000e                213584  0 
thermal                 8577  0 
video                  11363  1 i915
i2c_core               23171  5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
soundcore               5442  1 snd
intel_agp              10872  1 i915
intel_gtt              12566  3 i915,intel_agp
processor              27431  3 acpi_cpufreq
button                  4701  1 i915
ext4                  478210  2 
crc16                   1359  2 ext4,bluetooth
jbd2                   77917  1 ext4
mbcache                 6026  1 ext4
sr_mod                 14823  0 
cdrom                  35520  1 sr_mod
sd_mod                 31258  4 
ata_generic             3338  0 
pata_acpi               3451  0 
ata_piix               24760  3 
libata                168683  3 pata_acpi,ata_generic,ata_piix
scsi_mod              130797  3 libata,sd_mod,sr_mod
firewire_ohci          32325  0 
firewire_core          53333  1 firewire_ohci
crc_itu_t               1363  1 firewire_core
ehci_pci                4120  0 
uhci_hcd               24972  0 
ehci_hcd               47391  1 ehci_pci
usbcore               175029  4 btusb,uhci_hcd,ehci_hcd,ehci_pci
usb_common               954  1 usbcore
 strace iptables -nvL
execve("/usr/sbin/iptables", ["iptables", "-nvL"], [/* 27 vars */]) = 0
brk(0)                                  = 0x1a45000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=134403, ...}) = 0
mmap(NULL, 134403, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8b44b09000
close(3)                                = 0
open("/usr/lib/libip4tc.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\32\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=27344, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b08000
mmap(NULL, 2122536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b44702000
mprotect(0x7f8b44708000, 2093056, PROT_NONE) = 0
mmap(0x7f8b44907000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f8b44907000
close(3)                                = 0
open("/usr/lib/libip6tc.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\33\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=31504, ...}) = 0
mmap(NULL, 2126696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b444fa000
mprotect(0x7f8b44500000, 2097152, PROT_NONE) = 0
mmap(0x7f8b44700000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f8b44700000
close(3)                                = 0
open("/usr/lib/libxtables.so.10", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2204\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=47896, ...}) = 0
mmap(NULL, 2144896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b442ee000
mprotect(0x7f8b442f9000, 2093056, PROT_NONE) = 0
mmap(0x7f8b444f8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f8b444f8000
close(3)                                = 0
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \33\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2035539, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b07000
mmap(NULL, 3853456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b43f41000
mprotect(0x7f8b440e5000, 2093056, PROT_NONE) = 0
mmap(0x7f8b442e4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3000) = 0x7f8b442e4000
mmap(0x7f8b442ea000, 15504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8b442ea000
close(3)                                = 0
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14648, ...}) = 0
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b43d3d000
mprotect(0x7f8b43d40000, 2093056, PROT_NONE) = 0
mmap(0x7f8b43f3f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f8b43f3f000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b06000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b05000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b04000
arch_prctl(ARCH_SET_FS, 0x7f8b44b05700) = 0
mprotect(0x7f8b442e4000, 16384, PROT_READ) = 0
mprotect(0x7f8b43f3f000, 4096, PROT_READ) = 0
mprotect(0x7f8b444f8000, 4096, PROT_READ) = 0
mprotect(0x7f8b44700000, 4096, PROT_READ) = 0
mprotect(0x7f8b44907000, 4096, PROT_READ) = 0
mprotect(0x613000, 4096, PROT_READ)     = 0
mprotect(0x7f8b44b2a000, 4096, PROT_READ) = 0
munmap(0x7f8b44b09000, 134403)          = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = -1 EPERM (Operation not permitted)
lstat("/proc/net/ip_tables_names", 0x7fff863e5cc0) = -1 ENOENT (No such file or directory)
open("/proc/sys/kernel/modprobe", O_RDONLY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
brk(0)                                  = 0x1a45000
brk(0x1a66000)                          = 0x1a66000
read(3, "/sbin/modprobe\n", 1024)       = 15
close(3)                                = 0
vfork()                                 = 12371
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12371
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12371, si_status=1, si_utime=0, si_stime=0} ---
write(2, "iptables v1.4.18: ", 18iptables v1.4.18: )      = 18
write(2, "can't initialize iptables table "..., 87can't initialize iptables table `filter': Table does not exist (do you need to insmod?)) = 87
write(2, "\n", 1
)                       = 1
write(2, "Perhaps iptables or your kernel "..., 54Perhaps iptables or your kernel needs to be upgraded.
) = 54
exit_group(3)                           = ?
+++ exited with 3 +++

I don't have a ip_tables_names file in /proc/net

thanks for the help guys

Offline

#7 2013-03-24 22:21:57

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: can't initialize iptables : table does not exist

So they aren't loaded. Are you sure modprobe returns without any error messages? What's its exit code (run echo $? immediately after modprobe iptable-filter)? Is anything printed to dmesg?

Offline

#8 2013-03-24 23:35:55

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Re: can't initialize iptables : table does not exist

nothing is returned after modprobe iptable-filter, 1 is returned after echo $?

Offline

#9 2013-03-24 23:59:15

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: can't initialize iptables : table does not exist

trixrabbit wrote:

nothing is returned after modprobe iptable-filter, 1 is returned after echo $?

Just to make sure, you are running the modprobe command as root, yeah?

Offline

#10 2013-03-25 00:36:07

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Re: can't initialize iptables : table does not exist

yes, I just rebooted and runned it again and now echo $? says 0

Offline

#11 2013-03-26 02:16:01

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Re: can't initialize iptables : table does not exist

I get a permission denied error now instead of "does not exist", any clue why? I installed all modules as root and i'm running ettercap in root terminal (It was working before I update my kernel to the duocore one from ck)

Offline

Board footer

Powered by FluxBB