[Openswan Users] Best linux for openswan?
SianLun Lau
wahlau at gmx.net
Wed Mar 17 20:36:16 CET 2004
On Wed, 17 Mar 2004 23:41:33 +0530 (IST)
Amit Saxena <saxena at students.iiit.net> wrote:
> And what about the 2.4.25 kernel ? Can anybody let me know the rpm for
> that kernel and all needed openswan packages for that (for redhat 9.
i downloaded 2.4.25 from kernel.org and openswan from you know where, ungzip/untar in /usr/src.
after that i copy config-* (your current running kernel in RH9) in the /usr/src/linux. if this path does not exist, link it to the 2.4.25. i run then make menuconfig, make dep.
then from the folder of openswan run make menugo and hope everything runs well. :)
usually if the compilation breaks, i go back to /usr/src/linux and repeat the following (by now 2.4.25 should be patched.)
make clean
make menuconfig (double check if there is anythign to be turned on/off)
make dep
make bzImage
make modules
make modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.25
cp /usr/src/linux/System.map /boot/System.map-2.4.25
cp /usr/src/linux/.config /boot/config-2.4.25
cd /lib/modules
mkinitrd /boot/initrd-2.4.25.img 2.4.25
then make the necessary changes to grub.conf
then reboot
it works so far... perhaps it is not proper especially with my patching method :P
enjoy.
regards,
SianLun
More information about the Users
mailing list