Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Module ip_tables not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
m0rtal
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2005
Posts: 79
Location: Yalta, Crimea

PostPosted: Sun Dec 18, 2005 10:09 am    Post subject: Module ip_tables not found Reply with quote

Since [iptables ]Module ip_tables not found ( resolved) seems to be ignored because of "solved" flag, I'm reposting my question...

According to official "Home router guide", I've compiled everything that is coherent to iptables in kernel, not as modules, but after "make && make modules_install", copying new kernel to /boot/, rebooting, emerging iptables and running "iptables -F", I got this:
Code:
root@server ~ # iptables -F
FATAL: Module ip_tables not found.
iptables v1.3.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

How come?
What should I do to eliminate this strange behavior?
_________________
software is like sex - better when it's free!
Back to top
View user's profile Send private message
morodoch
Guru
Guru


Joined: 22 Sep 2005
Posts: 523
Location: England

PostPosted: Sun Dec 18, 2005 11:49 am    Post subject: Reply with quote

ip_tables.ko ought to live here:

Code:
/lib/modules/your-kernel-version/kernel/net/ipv4/netfilter


If it's not there, I guess the most likely reason is that you haven't built it as a module. You can choose this from this option in the kernel config:

Code:

Networking
  -> Networking options
    -> Network packet filtering (replaces ipchains)
      -> IP: Netfilter Configuration


And under netfilter configuration, select as many as you think are going to be useful (I usually select all those not marked EXPERIMENTAL, and let the iptables programme worry about which to load).
_________________
Well, the Sister was right. You boys could use a little churching up. Slide on down to the Triple Rock, and catch Rev. Cleophus. You boys listen to what he's got to say.

-- Curtis
Back to top
View user's profile Send private message
m0rtal
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2005
Posts: 79
Location: Yalta, Crimea

PostPosted: Mon Dec 19, 2005 11:08 am    Post subject: Reply with quote

Thanks, but I've get rid of this problem by re-installing whole system :)
Old and proven windows-style problem solving :)
_________________
software is like sex - better when it's free!
Back to top
View user's profile Send private message
morodoch
Guru
Guru


Joined: 22 Sep 2005
Posts: 523
Location: England

PostPosted: Mon Dec 19, 2005 2:31 pm    Post subject: Reply with quote

A little extreme, perhaps ... lol

At least it's working now, though.
_________________
Well, the Sister was right. You boys could use a little churching up. Slide on down to the Triple Rock, and catch Rev. Cleophus. You boys listen to what he's got to say.

-- Curtis
Back to top
View user's profile Send private message
m0rtal
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2005
Posts: 79
Location: Yalta, Crimea

PostPosted: Mon Dec 19, 2005 6:16 pm    Post subject: Reply with quote

I suppose it's works because I had installed iptables, when all options were built as modules... then I've recompiled the kernel, and iptables got crazy... so I decided to reinstall :)
_________________
software is like sex - better when it's free!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum