免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 16550 | 回复: 9

[vpn] 不能正常安装kernel_ppp_mppe 请问高手 [复制链接]

论坛徽章:
0
发表于 2006-10-26 12:12 |显示全部楼层
环境:Centos4.4

2.6.9-42.EL


已安装:ppp-2.4.3-5.rhel4.i386.rpm

已安装:dkms-2.0.10-1.noarch.rpm

在安装 kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm 的时候提示出下:

[root@centos install-pptpd-soft]# rpm -ivh kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
warning: kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm: V3 DSA signature: NOKEY, key ID 862acc42
Preparing...                ########################################### [100%]
   1:kernel_ppp_mppe        ########################################### [100%]

Creating symlink /var/lib/dkms/kernel_ppp_mppe/1.0.2/source ->
                 /usr/src/kernel_ppp_mppe-1.0.2


DKMS: add Completed.
Module build for the currently running kernel was skipped
since the kernel source for this kernel does not seem to be
installed.


用以下命令检查内核MPPE补丁是否安装成功:

[root@centos install-pptpd-soft]# modprobe ppp-compress-18
FATAL: Module ppp_mppe not found.

还是不支持

请问我现在应该怎么做才能让内核支持mppe

论坛徽章:
0
发表于 2006-11-04 11:45 |显示全部楼层
  1. since the kernel source for this kernel does not seem to be
  2. installed.
复制代码

是不是没有安装内核源代码?

论坛徽章:
0
发表于 2006-11-06 21:09 |显示全部楼层
我也是我的环境是:
Linux www.213.com 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux
[root@www home]# modprobe ppp-compress-18
FATAL: Module ppp_mppe not found.

论坛徽章:
0
发表于 2006-11-25 16:29 |显示全部楼层
我也遇到了。解决办法:
rpm -e kernel_ppp_mppe
yum install kernel-devel
rpm -ivh kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm

论坛徽章:
0
发表于 2006-11-25 17:58 |显示全部楼层
我在Linux version 2.6.9-11.ELsmp安装成功

论坛徽章:
0
发表于 2007-05-06 23:54 |显示全部楼层
sdfsdfsdfsdfsdfsdf

论坛徽章:
0
发表于 2007-12-18 21:45 |显示全部楼层
补充一下,楼上说的不完整
rpm -e kernel_ppp_mppe
yum install kernel-devel
yum install kernel-smp-devel

cd /lib/modules/2.6.9-67.ELsmp
ln -s /usr/src/kernels/2.6.9-67.EL-i686 build
再重新安装就好了,就这两行,本菜鸟花了5个多小时啊....


modprobe ppp-compress-18

[ 本帖最后由 charliesxia 于 2007-12-18 22:35 编辑 ]

论坛徽章:
0
发表于 2008-09-25 17:43 |显示全部楼层
内核源代码没有安装吧
更新下就行

论坛徽章:
0
发表于 2008-09-25 17:43 |显示全部楼层
APPENDIX
A1. Install MPPE Kernel Module on Fedora Core 4
(last update: 6 March 2006)
MPPE support is required for MSCHAPv2. Depending on the kernel version, you may or may not require to perform this step. Kernel version 2.6.15 or above has MPPE built-in. If you are using the latest FC4 2.6.15 kernel, you can go to Step 8 now. If you are using an older kernel which does not support MPPE, you will have to add this feature to it.
To test if your kernel supports MPPE:
[root@pptp ~]# modprobe ppp-compress-18 && echo ok
If it returns an "ok", you can safely skip this step and move to Step 8 . If you see "FATAL: Module ppp_mppe not found.", install MPPE support as described in the following procedure:
Download the MPPE module builder in rpm format from here. The required RPMs are::
dkms-2.0.6-1.noarch.rpmkernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
Install them with command "rpm -ivh".
[root@pptp ~]# rpm -ivh dkms-2.0.6-1.noarch.rpm[root@pptp ~]# rpm -ivh kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
If you upgrade your kernel to 2.6.13 or above, kernel_ppp_mppe version 1.0.2 or above must be used. Otherwise, the pptp tunnel will not connect and you will see error message "This system lacks kernel support for PPP." in /var/log/messages.
Note:(1) Fedora Extra provides also a dkms rpm, dkms-2.0.6-3.fc4.noarch.rpm. I have not tested it. You may want to use the one I mentioned above to make sure the installation will work.
A1.1 Kernel Upgrade and dkms_autoinstaller
(last update: 6 March 2006) If you upgrade your kernel after installing dkms, thanks to the dkms_autoinstaller service, you will not have to worry about the dkms kernel module. dkms_autoinstaller runs on every bootup. It checks the dkms module to ensure it match the kernel version. If a mismatch is found, it will create a proper one for the boot kernel.
For dkms_autoinstaller to work, you will need the correct kernel-devel version installed in your system. It is always a good idea to install the kernel-devel rpm alongside with your new kernel.
A2. Upgrade pppd on Fedora Core 4
(last update 6 March 2006) FC4 comes with ppp-2.4.2-7. It is required to be upgraded to a patched version which supports MPPE. The patched version can be found in here. Download the rpm for FC4. At the time of writing, the latest version is 2.4.3-5. Get the FC4 rpm:
ppp-2.4.3-5.fc4.i386.rpm
Upgrade the ppp with the downloaded version:
[root@pptp ~]# rpm -Uvh ppp-2.4.3-5.fc4.i386.rpm
Note: If you are a Gentoo user, and are using kernel v2.6.15, the ppp-2.4.3-5 does NOT work because of MPPC. You may find more information from here.
Next   Previous  Content

论坛徽章:
0
发表于 2008-09-25 17:44 |显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP