LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-15-2001, 08:32 AM   #1
Smithpl
LQ Newbie
 
Registered: Nov 2001
Location: Poland
Posts: 3

Rep: Reputation: 0
Iptable - upgrade for kernel 2.4.10 RH


I have upgraded iptables in my kernel 2.4.10
I use RH 7.0
I compile new bzImage and modules.
When I restart system I get this info:

[root@point /home]# iptables -L
iptables v1.2.4: can't initialize iptables table `filter': Module is wrong version
Perhaps iptables or your kernel needs to be upgraded.
[root@point /home]# iptables -t NAT -A PREROUTING -s 10.0.0.0/24 -j MASQUERADE
iptables v1.2.4: can't initialize iptables table `NAT': Module is wrong version
Perhaps iptables or your kernel needs to be upgraded.


Why?
What Must I upgrade in this system?
I use newest iptables' rpm
Please help
 
Old 11-15-2001, 06:23 PM   #2
dangel
Member
 
Registered: Nov 2001
Location: atl
Distribution: redhat
Posts: 52

Rep: Reputation: 15
check to make sure the ipchains module isn't loaded. if it is ... rmmod it and then try doing some iptable rules.

 
Old 11-16-2001, 02:24 AM   #3
Smithpl
LQ Newbie
 
Registered: Nov 2001
Location: Poland
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy

ipchains is not loaded......
other idea?

[root@point /root]# ipchains
ipchains: no command specified
Try `ipchains -h' or 'ipchains --help' for more information.
[root@point /root]# ipchains -L
ipchains: Incompatible with this kernel
[root@point /root]#
 
Old 11-16-2001, 02:25 AM   #4
Smithpl
LQ Newbie
 
Registered: Nov 2001
Location: Poland
Posts: 3

Original Poster
Rep: Reputation: 0
upss..... sory

system said : ipchains module is not loaded
when I wrote rmmod ipchains
 
Old 11-16-2001, 07:51 AM   #5
Dmitry
LQ Newbie
 
Registered: Oct 2001
Location: Russia
Distribution: Slackware 8.0
Posts: 14

Rep: Reputation: 0
Smile Typical trouble.

I suppose that you need make a new kernel. ALL modules of iptables are necessary bild INSIDE kernels. It's a simplest way.
Kernel must be 2.4.X, 3d numeral not essential.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
Kernel 2.6 error -- iptable andy18 Linux - General 2 11-07-2004 01:56 PM
kernel 2.6.8.1 iptable problem DarkCaesar Slackware 3 09-05-2004 04:30 AM
enabling iptable in kernel-2.4.26 in slackware-10.0? greythorne Slackware 3 07-09-2004 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration