有关linux内核编译后无法启东ipsec,急急急!!!!
wcqgm 2006-11-23 03:50:00 各位大侠们,小弟遇到问题,请求急呀!!!
我是才接触Linux的初学者,我现在遇到一个问题,我现在要编译linux的内核(我要做一个在linux下的VPN实现,用到openswan),我按照第11章的介绍从网上下载了最新的内核源文件(2.6.18.3)及升级用的工具(module-init-tools-3.2,lvm2-2.00.25-1.01.i386.rpm,device-mapper-1.00.19.2.i386.rpm,mkinitrd-4.1.18.1.01.i386.rpm)并全部安装完毕,我在编内核时出现了以下几个问题.我从网上也没有找到相关的资料.
q:
1.ipsec 无法启动,这是才主要的.我用ipsec verify出现如下提示:
[root@localhost wcq]# ipsec verify
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.4.7/K2.6.18.3 (netkey)
Checking for IPsec support in kernel [OK]
NETKEY detected, testing for disabled ICMP send_redirects [FAILED]
Please disable /proc/sys/net/ipv4/conf/*/send_redirects
or NETKEY will cause the sending of bogus ICMP redirects!
NETKEY detected, testing for disabled ICMP accept_redirects [FAILED]
Please disable /proc/sys/net/ipv4/conf/*/accept_redirects
or NETKEY will accept bogus ICMP redirects!
Checking for RSA private key (/etc/ipsec.secrets) [OK]
Checking that pluto is running [FAILED]
whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Two or more interfaces found, checking IP forwarding [FAILED]
whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Checking for 'ip' command [OK]
Checking for 'iptables' command [OK]
Opportunistic Encryption Support [DISABLED]
2.用新内核启动时,提示加载usb键盘,鼠标等不成功,我机子没有USB的键盘和鼠标,我用red hat 9自带的内核提示加载成功,这个我不知是什么原因.
3.在openswan目录中,我无法用make menugo (提示:The target ogo,oldgo,menugo,nopronptgo and xgo are obsolete,please read INSTALL,我把INSTALL中的命令全部执行一次后,依旧如此)我想知道如何才能用make menugo,它有什么条件,
以上是我遇到的几个问题,可能我是个初学者,对这个环境还不太了解,有些问题问的可能比较愚蠢,希望各位给予指点.
谢谢!!!