LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-12-2008, 06:36 PM   #1
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 32
[SOLVED] Running Openswan for IPSEC VPN


so i've build an openswan package using src2pkg.
it compiled fine. Just had to add some custom lines to the src2pkg.auto file to have it build correctly.
Code:
make program
make install
Also commented out configure/compile source.

when i go to start ipsec, ./etc/rc.d/init.d/ipsec --start
i get the following error.
Code:
root@windu:~# /etc/rc.d/init.d/ipsec --start
ipsec_setup: Starting Openswan IPsec 2.6.11...
ipsec_setup: insmod /lib/modules/2.6.24.5-smp/kernel/net/ipv4/ipcomp.ko
ipsec_setup: Trying hardware random, this may fail, which is okay.
ipsec_setup: Trying VIA padlock driver, this may fail, which is okay.
ipsec_setup: insmod /lib/modules/2.6.24.5-smp/kernel/drivers/crypto/padlock-sha.ko
ipsec_setup: FATAL: Error inserting padlock_sha (/lib/modules/2.6.24.5-smp/kernel/drivers/crypto/padlock-sha.ko): No such device
ipsec_setup: insmod /lib/modules/2.6.24.5-smp/kernel/drivers/crypto/padlock-aes.ko
ipsec_setup: WARNING: Error inserting padlock_aes (/lib/modules/2.6.24.5-smp/kernel/drivers/crypto/padlock-aes.ko): No such device
ipsec_setup: kernel appears to lack IPsec support (neither CONFIG_KLIPS or CONFIG_NET_KEY are set)
I am running 12.1 using the huge kernel. I've check and padlock-sha and padlock-aes do exist but will not load... i also check if CONFIG_NET_KEY was loaded and it was, but as a module. So to combat that i've built that into the kernel and im just waiting for that to finish to try again.

I'm curious about the other modules though, padlock-sha/aes. Maybe because net_key wasn't loaded?

Last edited by agentc0re; 05-13-2008 at 11:14 AM.
 
Old 05-13-2008, 11:13 AM   #2
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 32
So i ended up trying the latest 2.4 version instead of the 2.5 (and i know it shows 2.6 which i don't understand... maybe an issue with 2.5.x) and it worked flawlessly.

built it the same way as i did the 2.5 version using src2pkg.
I also found out in this mess that CONFIG_NET_KEY is loaded by doing a modprobe af_key (even though it's labeled pf_key)

So yet again, thanks for everyones help! :P hhahah
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Openswan IPSEC issue prashanlk Linux - Networking 0 01-10-2008 11:44 AM
IPSEC openswan prashanlk Linux - Networking 1 12-28-2007 10:47 AM
Openswan IPSEC server prashanlk Linux - Networking 3 12-11-2007 10:13 PM
Running IPSEC vpn server ? winxandlinx Linux - Security 1 10-11-2006 05:41 AM
IPSec OpenSWAN probs zmeda Linux - Networking 0 07-12-2006 05:39 AM


All times are GMT -5. The time now is 06:42 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration