Hi Amit, On Wed, May 19, 2004 at 07:24:50PM +0530, aksingh@xxxxxxxxxxx told us: > > Hi, > > I installed iptables 1.2.9 from source, now if i do an lsmod i get the > module loaded as ip_tables.o but I suspect this is the ip_tables.o of > iptables 1.2.7a which I had before(I removed iptables 1.2.7 package using > rpm -e iptables), I have one iptables.o in the directory in which > iptables1.2.9 src is installed but when i do insmod iptables.o it says : you're confusing two things here: ip_tables.o is the iptables kernel module whereas iptables.o is one of the object files created when building the new iptables binary which you then execute in user land to add/change rules. The userspace part should be pretty independent from your kernel version. In your last mail you told that you had installed iptables 1.2.1, now you're writing your old version 1.2.7a. If your old version really was 1.2.1 and your kernel is as old as the iptables version, you probably want to upgrade your kernel first :) > > iptables.o : can't find the kernel version this module was compiled for. > This happens when you try to insert an object file used for linking your iptables binary into the kernel. Won't work :) the ip_tables.o which is shown with lsmod should be quite ok for your running kernel. Sven > So what should I do to correct this ? > > thanks > Amit > -- Linux zion 2.6.6-tcp #4 Thu May 13 20:39:05 CEST 2004 i686 athlon i386 GNU/Linux 16:57:13 up 5 days, 18:59, 1 user, load average: 0.03, 0.11, 0.09
Attachment:
pgp00877.pgp
Description: PGP signature