Re: kernel 2.6.x and iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: <Alistair Tonner>
> To: "Muhammad Talha" <talha@xxxxxxxxxxxxxxxx>;
> <netfilter@xxxxxxxxxxxxxxxxxxx>
> 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.




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux