From: Joel Newkirk Subject: Re: kernel 2.6.x and iptables Date: Tue, 13 Jan 2004 16:15:52 -0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1074028552.1586.17.camel@alpha.newkirk.us> References: <00cb01c3d9b6$cd9b2d00$23c051cb@ns3.worldcall.net.pk> <008401c3d9cb$d634aa30$23c051cb@ns3.worldcall.net.pk> <00c201c3d9ce$62968d70$23c051cb@ns3.worldcall.net.pk> <200401130838.47327.Alistair Tonner <> > <012001c3d9ea$a64d8a20$23c051cb@ns3.worldcall.net.pk> Reply-To: firewalldude@newkirk.us Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <012001c3d9ea$a64d8a20$23c051cb@ns3.worldcall.net.pk> 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: Muhammad Talha Cc: netfilter@lists.netfilter.org On Tue, 2004-01-13 at 10:33, Muhammad Talha wrote: > Thanks Alistair for respones > > there is no .o file there only .ko i think these are changed in 2.6.x kernel > i see them when kernel is compiling as well > > there is /etc/rc.local which can load things @ startup in RedHat > > thanks and Regards > > Talha Since you're successfully inserting modules under 2.6.x I assume you installed module-init-tools to replace modutils. However, I think you might have missed this part of the module-init-tools FAQ: {excerpt} Q) I'm using RedHat and modules don't autoload any more. A) RedHat turns module autoloading off if /proc/ksyms isn't found. Change line 337 of /etc/rc.d/rc.sysinit from: if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then to if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then Q) Things still don't load properly. A) Do you have an /etc/modprobe.conf? If not, use generate-modprobe.conf to generate an /etc/modprobe.conf from your old setup. {/excerpt} You may not find 'line 337' at line 337. Search "/proc/ksyms" - don't change the ones later in the file, though! j > ----- Original Message ----- > From: > To: "Muhammad Talha" ; > > Sent: Tuesday, January 13, 2004 6:38 PM > Subject: Re: kernel 2.6.x and iptables > > > > On January 13, 2004 07:11 am, Muhammad Talha wrote: > > > i insert modules located at /lib/modules/2.6.1/kernel/net/ipv4/netfilter > > > > > > like > > > > > > insmod ip_tables.ko > > > insmod iptables_filter.ko > > > > > AHhhhh ... > > Your modutils is out of date.