On Fri, Feb 28, 2003 at 11:26:34AM -0700,  wrote:
>George - 
>
>I saw, with interest, your post to the Bridge mailing list concerning an
>awk problem when trying to do a make menuconfig on the linux kernel
>after applying the ebtables and netfilter patches.  Did you ever resolve
>this problem?  If so, any pointers would greatly be appreciated, as I'm
>running into the same exact problem.
>

I gave a shell account to member of the bridge list and he had no problem...

Two things to keep in mind, 1) run make config (or some varient) before
and after each patch. and 2) patch correctly. :)

This script is how I wrapped it up...

ver=2.4.20
ext='-eb-br-ipt-amd'
dir=linux-${ver}${ext}
### rsync -av --delete linux-2.4.20-raw/ linux-2.4.20/ ; rm -rf linux-2.4.20-patch/
tar xjf linux-${ver}.tar.bz2
mv linux-${ver} $dir
mv ${dir}/Makefile ${dir}/Makefile~
sed -e "s/^EXTRAVERSION =/EXTRAVERSION = ${ext}/" ${dir}/Makefile~ \
    >${dir}/Makefile
cd ${dir}
cp ../ebtables-v2.0.003_vs_2.4.20.diff .
patch -p1<ebtables-v2.0.003_vs_2.4.20.diff
cp ../eb-br-ipt-amd.config ./.config
make oldconfig
cp ../bridge-nf-0.0.10-against-2.4.20.diff .
patch -p1<bridge-nf-0.0.10-against-2.4.20.diff
cp ../eb-br-ipt-amd.config ./.config
#make mrproper &&
make oldconfig
make dep && make bzImage && make modules && \
rm -rf /lib/modules/${dir}
make modules_install && cp -af arch/i386/boot/bzImage /boot/vmlinuz-${ver}${ext}
echo "
## new kernel is /boot/vmlinuz-${ver}${ext}
## vi /etc/lilo.conf and run lilo...
"


Humm, I thought there was a "make oldconfig" before the first patch...

You will probably want this to understand how packets transvers iptables.
http://users.pandora.be/bart.de.schuymer/ebtables/br_fw_ia/br_fw_ia.html


Good Luck,
// George


-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.       http://www.galis.org/george 

_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to