LinuxQuestions.org
Visit Jeremy's Blog.
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 04-10-2004, 06:23 PM   #1
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
Can't make iptables-1.2.9 with Kernel-2.6


Hello to all,

I'm tring to build the latest Kernel, and I'd like to update my Iptables and include a patch I need one time. However, when I do the make for Iptables, I can't see anything particularly going on on the screen, altought the normal signs of a command in progress are present.

I've tried leaving it overnight, but then th command stil doesn't finish.

Any ideas or recommendations woudl eb much appreciated.
 
Old 04-11-2004, 09:58 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
What exactly is on your screen when you run make? Do you get an error? Do messages scroll up the screen all night?
 
Old 04-11-2004, 12:18 PM   #3
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
No nothing like that, if i got any of that I wouldn't be worried.

It's just a blank screen almost as if nothing is happening, however I know the command went through cause the curson goes down a line.

Isn't the latest Iptables suppose to compile agqinst the lastest Kernel or what?
 
Old 04-11-2004, 08:54 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
The iptables program is the userspace portion of netfilter. You should be able to go into the directory and do:
make
make install

Try which make and make sure it's /usr/bin/make. Also make -v will show your version of make, e.g. GNU Make 3.80
 
Old 04-11-2004, 09:48 PM   #5
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Well I think it's safe to say I have a fair understanding of the make process. Hence why I'm even more bewildered. Unfortunately I have bigger problems now...so that battle has been put to a side.

But for my own knowledge, can the latest Iptables compile against the latest kernel?

Thank you
 
Old 04-12-2004, 04:34 PM   #6
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Yes, iptables-1.2.9 will compile with linux-2.6.5.

I didn't mean to imply I thought you didn't understand the make process. I just want to make sure we are both talking about the same iptables, because there is the userspace stuff and the kernel stuff.

Are you patching the userspace iptables or are you patching the kernel?

Also did you check your version of make?

Another thing to check is while make is doing it's thing open another terminal and run ps -ax.
 
Old 04-12-2004, 06:59 PM   #7
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Ah, take no offense a dear friend of mine is very ill (my server linux box) so I'm not in the best of moods. I do have a up to date version of make, altough at this point and time i can't be 100% sure.

Since I have not yet understood the userspace/kernel business of which you're now informing me, I'll just tell you what I intended to do, at least that way I'll learn exactly what you're talking about.

I need to do h323 NAT, and that's only available from pathomatic, so I presumed that to use the latest patchomatic I should also use the latest Iptables. So I dloaded the sources for both and tried to make Iptables...that's where the probs came up.
 
Old 04-12-2004, 09:44 PM   #8
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
OK you are trying to add an extension to the kernels netfilter code. So you are going to run patch-o-matic which will patch your kernel sources and then you will have to build a new kernel. You don't necessarily have to build a new iptables "userspace" program, but it is always a good idea to keep it up-to-date.

Have you looked at this documentation for patch-o-matic?
 
Old 04-12-2004, 10:28 PM   #9
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Well no I haven't checked that doc before, so thanks alot for it. I wil give it a good read. But I have done this process beofre with Kernel 2.4.22 it was my first time so it took awhile to get the kernel options correct, but the iptables and extension were a breeze.
 
  


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 compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 09:11 AM
how to make an effective firewall with iptables jonc Linux - Newbie 3 12-08-2004 11:44 PM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-01-2004 11:02 PM
make pending-patches w/ iptables-1.2.6a error mrtwice Linux - Newbie 3 07-31-2002 09:47 AM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

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

All times are GMT -5. The time now is 05:08 PM.

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