Advertisement

Kernel Compilation along with IPSec

Started by September 30, 2002 01:47 AM
7 comments, last by Sonu Kapoor 22 years, 1 month ago
Hi Guys, i need your help !!! I got a Red Hat 7.3 system with 2.4.18.3 Kernel. I need to install freeswan(ipsec). The current´Kernel doesnt support that, so i have to recompile the kernel with ipsec. But it still doesnt run. I got the following error message, if i try to run ipsec: ipsec_setup: starting FreeS/WAN IPsec 1.98b... ipsec_setup: insmod: no module by that name found ipsec_setup: modprobe: Cant locate module ipsec ipsec_setup: Kernel appears to lack klips ipsec_setup: OOPS, should have aborted! Broken shell. It seems that the ipsec isnt installed. Can somebody guide me ?? Sonu
quote: Original post by Sonu Kapoor
Hi Guys,

i need your help !!!

I got a Red Hat 7.3 system with 2.4.18.3 Kernel. I need to install freeswan(ipsec). The current´Kernel doesnt support that, so i have to recompile the kernel with ipsec. But it still doesnt run. I got the following error message, if i try to run ipsec:

ipsec_setup: starting FreeS/WAN IPsec 1.98b...
ipsec_setup: insmod: no module by that name found
ipsec_setup: modprobe: Cant locate module ipsec
ipsec_setup: Kernel appears to lack klips
ipsec_setup: OOPS, should have aborted! Broken shell.

It seems that the ipsec isnt installed. Can somebody guide me ??

Sonu


First of all, make sure freeswan is installed then run insmod freeswan or ipsec( I don''t remember which one is the right one ). Then, try starting it up again and see what you get. Not sure that will work but if freeswan is a kernel module, that should work. If not, try giving a bit more info and I''ll try to help.



[Cyberdrek | the last true sorcerer | Spirit Mage - mutedfaith.com]
[Cyberdrek | ]
Advertisement
Thanks for your reply, but forget that prob.I have an another one, maybe you can help me.

I am trying to install a DLink Quad Card on a Red Hat 7.3 system. I have used the driver provided by Donald Becker. I downloaded the driver and used the following command to install the card.

make all
insmod sundance.o
cp sundance.o /lib/modules/`uname -r`/kernel/drivers/net

And it worked !! But only till i reboot my machine, after rebooting the card is not excepted anymore, until i repeat the above mentioned steps.Then it works again....How can i solve the problem ???

Please reply...

Sonu
Try editing your /etc/modules.conf file and adding the line

alias eth0 sundance

that should do the trick.
"Linux is not about free software, it is about community," -- Steve Balmer, Microsoft Chief Executive.
what is the difference ?? If i insert the lines, manually or with netconf ???

Sonu
If you insert the lines in the modules.conf file, they will be loaded (someone correct me if I'm wrong) when they are needed.

[edited by - Viro on September 30, 2002 4:12:16 PM]
"Linux is not about free software, it is about community," -- Steve Balmer, Microsoft Chief Executive.
Advertisement
But if i use the netconf to enter a network driver, it will be also saved in the modules.conf, and if i enter the data like you said in the modules.conf it will be displayed in the netconf, so i still didnt understand the difference.

But my prob is still not solved. Please help me. Its Urgent. And links or any guidence would be helpfull.

Sonu
This worked for me. The cards are running but i still get the
following error message during the boot process of the system.

Finding module dependendies: failed
depmod: depmod *** Unresolved symbols in
lib/modules/2.4.18-10custom/kernel/drivers/net/sundance.o

How can i avoid this error message ???

-Sonu
I used to get a similar error message with RedHat 7.3 (8139too.o not found or something like that). The only way I managed t solve it was to recompile the kernel (I used 2.4.19).
"Linux is not about free software, it is about community," -- Steve Balmer, Microsoft Chief Executive.

This topic is closed to new replies.

Advertisement