Re: compiling iptables support for other machine

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

 



On Sat, May 03, 2003 at 01:29:01PM +0200, Emanoil Kotsev spoke thusly:
>Unfortunately on MA everything is compiling fine - where is the problem
>what do I need for the asm/param.h
>
>Is it enough to compile on MA and to copy the relevant stuff eg. vmlinuz
>+ modules to MB

After you compile the kernel, merely copy over the following files :

- /usr/src/linux-2.4.20/arch/i386/boot/bzImage
- /usr/src/linux-2.4.20/System.map
- /lib/modules/2.4.20/*

to the relevant paths at MB. Most probably /boot/ and /lib/. If you've made
changes to the iptables stuff, copy over the binary + relevant shared
libraries (.so files); those might be in different places. Try the
following paths for starters :

/lib/iptables/
/usr/local/lib/iptables/

If you still can't find it, try doing 'strace /path/to/new/iptables/binary
-L -n', and look for the open() calls to see which library path its looking
at. Reboot && voila :)


[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