SOLVED this myself

Don't try and restart /etc/init.d/ipsec from WITHIN the /etc/init.d/
directory. ie don't do ./ipsec --restart
change to / then go full path /etc/init.d/ipsec --restart

I'm guessing it's a bug somewhere, I'll leave the powers that be (the guys
that KNOW what they're doing) to fix this one.

Cheers
Ad

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Niedzwiedzki
Sent: Thursday, 19 July 2007 9:57 AM
To: leaf-user@lists.sourceforge.net
Subject: [leaf-user] ipsec setup

Hi guys,

This has been fun dragging my old leaf boxes up to the new builds. I was
running openvpn, and figured I'd upgrade to openswan (ipsec) for my vpns.
The guide on the site "Configuring openswan(ipsec)" talks about openswan.lrp
(but can't find it) so I'm guessing it's now ipsec.lrp.

The guide talks about copying ipsec.o to modules (too easy), but starting
ipsec up on my machine I get the following

ipsec_setup: Starting Openswan IPsec 2.4.7...
ipsec_setup: insmod: not an ELF file
ipsec_setup: insmod: Could not load the module: Success
ipsec_setup: insmod: af_key.o: no module by that name found
ipsec_setup: ERROR: Failed to load or detect KLIPS and NETKEY
ipsec_setup: Using ipsec
ipsec_setup: insmod: not an ELF file
ipsec_setup: insmod: Could not load the module: Success
ipsec_setup: kernel appears to lack IPsec support (neither CONFIG_KLIPS or
CONFIG_NET_KEY are set)

insmod /lib/modules/ipsec.o has no issues (no errors) but I can't find
af_key.o anywhere in the modules download.

Any help appreciated

Cheers
Ad


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to