[Openswan Users] OpenSwan on ubuntu

Paul Wouters paul at xelerance.com
Wed Dec 1 13:55:55 EST 2010

On Wed, 1 Dec 2010, Hammad wrote:

> 1- Fresh installation of ubuntu
> Linux flexilogix.com 2.6.18-028stab068.9 #1 SMP Tue Mar 30 17:22:31 MSD 2010 i686 GNU/Linux
> 2- Install utilities for openswan source compilation on ubuntu
> build-essential
> libgmp3-dev
> bison
> libgmp-ocaml-dev
> flex
> xmlto
> 3- Compile and install openswan from source (openswan-2.6.31.tar.gz)
> cd /usr/src/openswan-2.#.#
>     make programs
>     make install
> Once installation is succesfful; service start gives following response....

So this is not using klips.

> root at flexilogix:/usr/src/openswan-2.6.31# service ipsec start
> ipsec_setup: Starting Openswan IPsec 2.6.31...
> ipsec_setup: No KLIPS support found while requested, desperately falling back to netkey

you have protostack=klips but no klips, so you should either compile klips or change to use protostack=netkey

> ipsec_setup: FATAL: Could not load /lib/modules/2.6.18-028stab068.9/modules.dep: No such file or directory
> ipsec_setup: Even NETKEY support is not there, aborting

but your kernel seems to be not entirely fully installed?
You can try running "depmod -a" and see if that fixes things.


More information about the Users mailing list