7. Install MPPE Kernel Module
If you plan to use MSCHAPv2, MPPE is required. Kernel version 2.6.15 or above has already got MPPE built-in. Fedora Core 8 kernel version on the DVD is 18.104.22.168. That means you do not need to install the MPPE module as you have to for older kernels. Information for MPPE on FC4 / 5 / 6 is in Appendix A1.
To test if your kernel supports MPPE:
[root@pptp ~]# modprobe ppp-compress-18 && echo ok
It should return an "ok".
Note: The latest kernel for Fedora Core 8 at the time of writing is 22.214.171.124.
FC8 comes with ppp-2.4.4-2. MPPE support is already enabled. If ppp is not installed, use yum to install it.
[root@pptp ~]# yum install ppp
Note: Information on how to update ppp module on FC4 / 5/ 6 is in Appendix A2.
From here download the pptpd tar ball, pptpd-1.3.4.tar.gz. You can make a RPM from it with the rpmbuild command. If you don't have the rpmbuild command installed. Get the package rpm-build through yum.
[root@pptp ~]# rpmbuild -ta pptpd-1.3.4.tar.gz
The command will create a pptpd rpm in /usr/src/redhat/RPMS/i386 directory. Install the package with the rpm commad.
[root@pptp ~]# cd /usr/src/redhat/RPMS/i386/ [root@pptp i386]# rpm -ivh pptpd-1.3.4-1.i386.rpm
The pptpd rpm package is built against ppp-2.4.3 but FC6 or above has ppp-2.4.4. It prevents the tunnel to be established and gives the following error message is in /var/log/message.
Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4
The workaround is to disable the logwtmp option in /etc/pptpd.conf. The drawback is the last command won't show the pptpd login information.
I have produced a patched RPMs for pptpd to address the problem. You can find them from the following links.