# tar zjvf linux-2.6.10.tar.bz2 # gunzip
linux-2.6.10-mppe-mppc-1.2.patch.gz # patch -p0 -i
linux-2.6.10-mppe-mppc-1.2.patch # ln –s linux-2.6.10 linux
# cd linux # make menuconfig Device Drivers ->Networking Support->
PPP Support for async serial ports PPP Support for sync
tty portsPPP Deflate compression Microsoft PPP
compression/encryption (MPPC/MPPE)" Cryptographic options
SHA1 digest algorithm ARC4 cipher algorithm
本新闻共3页,当前在第1页 1 2 3
因为密码是明文显示的,最好能修改文件权限,使root作为owner和chmod 700
vi /etc/modules.conf alias char-major-108
ppp_generic alias /dev/ppp ppp_generic alias
tty-ldisc-3 ppp_async alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe_mppc alias ppp-compress-21
bsd_comp alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflate
# reboot
# modprobe ppp_mppe_mppc
strings `which pppd`|grep -i mppe|wc --lines 30
###大于等于30就行##### [strings `which pppd`|grep -i
mppc|wc --lines 7 #### 不为 0 ##### dmesg | grep MPPE
MPPE/MPPC encryption/compression module registered
# /usr/local/sbin/pptpd Mar 17 23:07:32 localhost pptpd[4471]:
MGR: Manager process started Mar 17 23:07:32 localhost pptpd[4471]:
MGR: Maximum of 10 connections available
Mar 17 23:09:59 localhost pptpd[4473]: CTRL:
Client 192.168.1.136 control connection started
Mar 17 23:09:59 localhost pptpd[4473]: CTRL:
Starting call (launching pppd, opening GRE)
Mar 17 23:09:59 localhost pppd[4474]: pppd 2.4.3
started by root, uid 0 Mar 17 23:09:59 localhost pppd[4474]:
Using interface ppp0 Mar 17 23:09:59 localhost pppd[4474]:
Connect: ppp0 <-->/dev/pts/1 Mar 17 23:10:02 localhost pptpd[4473]:
CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Mar 17 23:10:02 localhost pppd[4474]: MPPC/MPPE 128-bit
stateless compression enabled Mar 17 23:10:04 localhost
pppd[4474]: found interface eth0 for proxy arp
Mar 17 23:10:04 localhost pppd[4474]: local IP address 192.168.1.3
Mar 17 23:10:04 localhost pppd[4474]: remote IP address 192.168.1.230
本新闻共3页,当前在第2页 1 2 3
注: 2.4.x的内核除了patch文件和modules.conf文件外,其它都类似。为什么pppd的选项文件里面会有不同?pptp客户端是基于PPP协议的。PPP需要MPPE加密协议支持来支持某些PPTP服务器。
PPP-MPPE 2.4.0no further development? no response to
problems has known problems such as kernel panics OpenSSL
license directly conflicts with kernel license when loaded,
does not indicate a license conflict requires /etc/modules.conf
changes module file name mppe.o (or ppp_mppe.o) +mppe-128
(inconsistent with existing option names) mppe-stateless
require-chapms-v2 (incorrect protocol name)
PPP 2.4.2 and laterongoing development by PPP project
active response to problems by developers has no known
problems at this time (stay tuned) BSD license does not
conflict (as much) with kernel license when loaded,
indicates a license conflict requires no /etc/modules.conf
changes module file name
ppp_mppe.o require-mppe-128nomppe-statefulrequire-mschap-v2
本新闻共3页,当前在第3页 1 2 3