Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
MPPEKernelHowto
Edit
PageHistory
Diff
Info
LikePages
To add [MPPE] support to your [Kernel] you need * [ppp v2.4.2 | http://samba.org/ftp/ppp/ppp-2.4.2.tar.gz] * linux kernel (I used [2.4.25 | http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.25.tar.bz2] * libpcap development files (<tt>apt-get install libpcap-dev</tt> on [Debian]) * [ppp-2.4.2 mppe patch | http://pptpclient.sf.net/mppe/ppp-2.4.2_cvs20040216-linux-mppe.tar.gz] * gcc-2.95 and make etc, all the tools to build a kernel. <verbatim> apt-get install libpcap-dev cd /usr/src/ wget http://samba.org/ftp/ppp/ppp-2.4.2.tar.gz wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.25.tar.bz2 wget http://pptpclient.sf.net/mppe/ppp-2.4.2_cvs20040216-linux-mppe.tar.gz tar xvzf ppp-2.4.2.tar.gz tar xvjf linux-2.4.25.tar.bz2 tar xvzf ppp-2.4.2_cvs20040216-linux-mppe.tar.gz </verbatim> If you like you can symlink /usr/src/linux to /usr/src/linux-2.4.25/ -- this is useful because some things that require kernel source to build look here for it. <verbatim> ln -s /usr/src/linux-2.4.25 /usr/src/linux cd ppp-2.4.2_cvs20040216-linux-mppe/ ./mppeinstall.sh /usr/src/linux-2.4.25/ cd ../linux-2.4.25/ make menuconfig # or whatever way you prefer to set up your kernel config </verbatim> [PPP] related options should be enabled as modules, not built into the kernel, or it will fail for some reason. Build the kernel and modules as usual, install it and reboot. Dont forget to run [LILO] or whatever. Fixing up a broken kernel build is beyond the scope of this document. For now I'll assume that all has been sucessfull and you are running your new kernel. <verbatim> cd /usr/src/ppp-2.4.2/ ./configure make make install </verbatim> Your ppp should now have support for mppe encryption a quick test to see if pppd is ready. <verbatim> strings /usr/sbin/pppd | grep mppe </verbatim> Next load the kernel support with <tt>modprobe ppp_mppe</tt>. To make it easier put these into <tt>/etc/modules</tt> or add these lines to <tt>/etc/modules.conf</tt> <verbatim> alias ppp-compress-18 ppp_mppe alias ppp-compress-21 bsd_comp alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflate </verbatim> This should make them load automatically when they are needed. Now configure your [PPTP] connections, or whatever you needed this support for. ---- CategoryHowto
One page links to
MPPEKernelHowto
:
MPPE