** Reply to message from Dennis Cardinale <[EMAIL PROTECTED]> on Sat, 06 Jul 
2002 12:44:56 -0400


> what happens if I boot the old kernel?
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jack Bowling
> Sent: Saturday, July 06, 2002 12:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Help with invalid argument
> 
> 
> ** Reply to message from Dennis Cardinale <[EMAIL PROTECTED]> on
> Sat, 06 Jul 2002 12:31:21 -0400
> 
> 
> > OK...solved my own problem.
> >
> > userspace/make install all
> >
> > does not copy the new iptables binaries to the /sbin directory.
> >
> > Is there a script to do this?  Can I do it manually? Is there a way to do
> it
> > so that the binaries used are compatible with the chosen kernel at boot
> > time?
> 
> Just edit this section of the Makefile in your iptables source top directory
> to the following:
> 
> #PREFIX:=/usr/local
> LIBDIR:=/lib
> BINDIR:=/sbin
> MANDIR:=/usr/share/man
> INCDIR:=/usr/include
> 
> before you do the make and make install.


The above Makefile only controls where the userspace part of iptables goes during the 
make install. The netfilter kernel modules are added to the kernel source when you do 
the "make most-of-pom", etc. Then you have to compile your kernel source again. If you 
have already compiled the kernel source using the same iptables code then you just 
have to run the make install again (with the edited prefixes) to put the userspace 
stuff in the right place. It may be an idea to go into the /usr/local directory and 
clean out all the stuff that was placed in there by the previous make install just to 
avoid possible clashes.

jb

Reply via email to