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 2.6.23.1. 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 2.6.26.3.


8. pppd and pptpd

8.1 pppd

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.


8.2 Install pptpd

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

Note:
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.

For Fedora 8
pptpd-1.3.4-2.fc8.i386.rpm (binary RPM - current version)
pptpd-1.3.4-2.fc8.src.rpm (source RPM)
For Fedora 6
pptpd-1.3.3-2.fc6.i386.rpm (binary RPM - older version)
pptpd-1.3.4-2.FC6.i386.rpm (binary RPM - current version)


Next  Previous  Content