Journal deadcasuals's Journal: Patching the kernel with Debian
So at work recently, I've been setting up a bunch of FreeS/WAN boxes to establish some network to network VPN's. Freeswan requires a kernel patch to operate and patching the kernel has never been one of my favorite things to do...
1) Download the latest kernel source from kernel.org
2) Unpack it under
3) run the following commands:
# apt-get install kernel-package kernel-patch-freeswan
# cd/usr/src/linux
# export PATCH_THE_KERNEL=YES
# make-kpkg --config=menuconfig --revision=vpn1.0 configure
4) At a minimum, you need the following kernel config options selected:
CONFIG_IPSEC
CONFIG_IPSEC_IPIP
CONFIG_IPSEC_AH
CONFIG_IPSEC_ESP
5) Finally, run:
# make-kpkg binary-arch
This process will take you through all of the make menuconfig, make dep, make clean, make bzImage stuff that you normally do (and I can never remember which order those commands go in either!) and it leaves you with two shiny new
When you apt-get the kernel-patch-freeswan package, it actually puts the patch in
Patching the kernel with Debian More Login
Patching the kernel with Debian
Slashdot Top Deals