Differences between version 24 and predecessor to the previous major change of IPSecInstallation.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 24 | Last edited on Thursday, November 6, 2003 10:45:52 am | by DanielLawson | Revert |
Older page: | version 23 | Last edited on Thursday, November 6, 2003 10:33:58 am | by DanielLawson | Revert |
@@ -23,18 +23,21 @@
cd /usr/src/my-kernel-source-is-unpacked-here/
<configure your kernel here. this is important.>
<compile your kernel here. this is important.>
-If you're using the [FreeS/WAN kernel installation method|http://www.freeswan.org/freeswan_trees/freeswan-2.02
/doc/kernel.html] it seems you actually need to compile a kernel here, which is a bit odd.
+If you're using the [FreeS/WAN kernel installation method|http://www.freeswan.org/freeswan_trees/freeswan-2.03
/doc/kernel.html] it seems you actually need to compile a kernel here, which is a bit odd.
cd /usr/src/
- tar xzf ~/download/freeswan-2.02
.tar.gz
+ tar xzf ~/download/freeswan-2.03
.tar.gz
The next stepinstalls the IPSec binaries in /usr/local/lib/ipsec. The "ipsec" command itself is put in /usr/local/sbin. If you later find you can't find "ipsec", check your path.
- cd /usr/src/freeswan-1
.99
/
+ cd /usr/src/freeswan-2
.03
/
make oldgo
'oldgo' is the target for compiling statically against the kernel source. Alternatives are 'menugo' and `xgo' to get a normal kernel config menu up respectively. For the menus, IPSec related options are under 'Networking Options'. Always save the config when you leave, whether or not you have changed anything!
+
+Note the the build process outlined above assumes your kernel is built in /usr/src/linux. If this isn't the case, you can "fix" it by setting the KERNELSRC environment variable on the command line as you run make, eg
+ make KERNELSRC=/path/to/kernel/src/ oldgo
You now have a newly compiled kernel in wherever your kernel normally lives (/usr/src/linux/arch/i386/boot/bzImage for me). You are probably going to want to copy it somewhere and either restart or rerun lilo and restart, depending on your preferences.
!Debian