From: "Muhammad Talha" Subject: Re: kernel 2.6.x and iptables Date: Tue, 13 Jan 2004 17:11:33 +0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <00c201c3d9ce$62968d70$23c051cb@ns3.worldcall.net.pk> References: <00cb01c3d9b6$cd9b2d00$23c051cb@ns3.worldcall.net.pk> <200401130503.39528.Alistair Tonner <>> <008401c3d9cb$d634aa30$23c051cb@ns3.worldcall.net.pk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org i insert modules located at /lib/modules/2.6.1/kernel/net/ipv4/netfilter like insmod ip_tables.ko insmod iptables_filter.ko and others now iptables works just fine but i after reboot i have to insert them again how to make them permanent ??? Thanks and Regards Talha ----- Original Message ----- From: "Muhammad Talha" To: Sent: Tuesday, January 13, 2004 4:53 PM Subject: Re: kernel 2.6.x and iptables > > > > > for both users with the 'failed to initialize' error -- 1) did you build > iptables as modules or > > into the kernel? > > as module > > -- 2) are you *certain* you disabled ipchains > > Yes i disable ipchains > . > > 3) are you *certain* that you built iptables with the correct kernel? > > -- if you change kernels you usually have to rebuilt the iptables > code -- > > export KERNEL_DIR=xxxxx make > > where xxxxx is the full path to your appropriate kernel source code. > > > > yes i select correct kernel > > export KERNEL_DIR=/usr/src/linux-2.6.1 > then > make & make install > > > this is usually caused after a kernel rebuild by building modules and > NOT loading them, especially > > if the iptables stuff was built into the kernel in the previous kernel. > > -- try > > insmod ip_tables > > you might get yet another error ... > > > > Yes u r right :( > > insmod ip_tables > > Can't open 'ip_tables' : No such file or directory > > there is no module ip_module i have search the system > > > Ummm ...anyone know off the top if RedHat puts iptables in as modules or > builds it in? > > > > > > Alistair > > > > >