7. Install MPPE Kernel Module

Kernel version 2.6.15 or above has MPPE built-in which is required for MSCHAPv2. Fedora Core 5 and 6 kernel version on the CD are 2.6.15 and 2.6.18 respectively. That means you do not need to install the MPPE module as you have to for Fedora Core 4. Information for FC4 and MPPE is in Appendix A1 and A1.1.

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 5/6 at the time of writing is 2.6.20.


8. pppd and pptpd

8.1 pppd

FC5 comes with ppp-2.4.3-6.2.1 and FC6 has ppp-2.4.4-1. 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 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 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 RPM for pptpd v1.3.3 and v1.3.4 to address the problem. You can find them from the following links.

pptpd-1.3.3-2.fc6.i386.rpm    or    pptpd-1.3.4-2.FC6.i386.rpm


Next  Previous  Content