pptp client
 overview
 license
 getting started
 features
 try it
 download
 links
 documentation 
 index
 debian
 fedora core 1
 fedora core 2
 fedora core 3
 fedora core 4
 fedora core 5
 fedora core 6
 gentoo
 knoppix
 mandrake 9.0
 mandrake 10.0
 mandrake 10.1
 netbsd
 red hat 9
 red hat 8.0
 red hat 7.3
 suse 10.0
 suse 9.2
 suse 9.1
 suse 8.2
 ubuntu
 diagnosis
 support faq
 diagrams
 routing
 security
team
 developers
 cvs
 contact us
 

PPTP Client


Debian MPPE DKMS HOWTO

by James Cameron
28th December 2005

News: MPPE in Linux 2.6.15-rc1
An MPPE patch has been accepted into Linux kernel 2.6.15-rc1. This will mean the end of having to patch your kernel or build modules. Rejoice. Now what will we do?
-- James Cameron

2005-11-12

These are instructions for installing MPPE support on Debian GNU/Linux, using DKMS. This is only necessary for kernel versions below 2.6.15.


Instructions

  1. look to see what kernel-image package you are using:

    # dpkg -S /boot/vmlinuz-`uname -r`

    For example:

    hostname:~# dpkg -S /boot/vmlinuz-`uname -r`
    kernel-image-2.6.8-2-686: /boot/vmlinuz-2.6.8-2-686

    Note: this works by finding what package on the system owns the kernel file (vmlinuz) corresponding to the version of the currently running kernel (uname -r). It might fail if you are using a custom installed kernel that isn't from the Debian distribution. If this is the case, you cannot continue with these instructions.

  2. install the exact kernel-headers package corresponding to the kernel-image package you are using, for example:

    # apt-get install kernel-headers-2.6.8-2-686

    Note: the kernel-headers package may not be available in your chosen package sources, but it is essential. You must either find the right package for your kernel (apt-cache search kernel-headers), or install a new kernel-image package along with it's kernel-headers package.

    We tested by installing kernel-image-2.6.8-2-686 and kernel-headers-2.6.8-2-686 from the Debian Sarge distribution, and then rebooting.

  3. add the following to your sources.list file:

    # kernel-ppp-mppe
    deb http://pptpclient.sourceforge.net/mppe/debian ./

    # dkms
    deb http://linux.dell.com/repo/software/debian sarge dell

  4. update the package list:

    # apt-get update

  5. install the kernel-ppp-mppe, dkms, patch, make, and gcc packages:

    # apt-get install kernel-ppp-mppe dkms patch make gcc

  6. add, build and install the MPPE module using DKMS:

    # dkms add -m kernel_ppp_mppe -v 1.0.2
    # dkms build -m kernel_ppp_mppe -v 1.0.2
    # dkms install -m kernel_ppp_mppe -v 1.0.2

  7. immediately test (no need for reboot):

    # modprobe ppp-compress-18 && echo success

    If this works, "success" will be displayed.

    If you are on a console or watching syslog, you may see:

    PPP MPPE Compression module registered

    This is normal.


Continue

You have now installed MPPE support. Return to the Installation step in the main HOWTO.


Comments

If you have comments on this document, please send them to the author at quozl at laptop.org. But if you need help, use the mailing list so that we can share the load.

ChangeLog

DateChange
2005-12-28 Reverified with Debian Sarge using kernel 2.6.8.