Subject: How to setup Openswan in etch guest ?
From: Olivier <oza-4h07@myamail.com>
Date: Mon, 13 Oct 2008 19:13:31 +0200
Mon, 13 Oct 2008 19:13:31 +0200
Hi,

Googling and searching vserver web site, I couldn't find much describing how
to setup Openswan in a vserver guest.
In my setup, I'm having:

# apt-get install openswan
...
<snip>
ipsec_setup: Starting Openswan IPsec 2.4.6...
ipsec_setup: FATAL: Could not load
/lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: FATAL: Could not load
/lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: Broken 2.6 kernel without kallsyms, skipping calcgoo (Fedora
rpm?)
ipsec_setup: FATAL: Could not load
/lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: FATAL: Could not load
/lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: FATAL: Could not load
/lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: kernel appears to lack IPsec support (neither CONFIG_KLIPS or
CONFIG_NET_KEY are set)
invoke-rc.d: initscript ipsec, action "start" failed.


It seems I should set CONFIG_NET_KEY in guest but I don't know how to
proceed (I'm not familiar with Kernel patching or settings).

Any help ?

Regards


Hi,

Googling and searching vserver web site, I couldn't find much describing how to setup Openswan in a vserver guest.
In my setup, I'm having:

# apt-get install openswan
...
<snip>
ipsec_setup: Starting Openswan IPsec 2.4.6...
ipsec_setup: FATAL: Could not load /lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: FATAL: Could not load /lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: Broken 2.6 kernel without kallsyms, skipping calcgoo (Fedora rpm?)
ipsec_setup: FATAL: Could not load /lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: FATAL: Could not load /lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: FATAL: Could not load /lib/modules/2.6.18-6-vserver-686/modules.dep: No such file or directory
ipsec_setup: kernel appears to lack IPsec support (neither CONFIG_KLIPS or CONFIG_NET_KEY are set)
invoke-rc.d: initscript ipsec, action "start" failed.  


It seems I should set CONFIG_NET_KEY in guest but I don't know how to proceed (I'm not familiar with Kernel patching or settings).

Any help ?

Regards