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 HOWTO, build kernel module

SUPERCEDED, OBSOLETE AND NOT MAINTAINED.

by James Cameron
26th May 2004

These are instructions for building the MPPE kernel module on Debian GNU/Linux, using the kernelmod package. No reboot is required. No package is generated.


Log in as root

Note: the commands below were tested after logging in as root. We know they fail if you merely su, because doing that may leave your PATH without a reference to /usr/sbin. Use su - to force a root login.

Install kernel packages

The kernel-source and kernel-headers packages for the currently running kernel are needed for the build process:

# apt-get install kernel-source-`uname -r` kernel-headers-`uname -r`

Note: the above command is a suggestion, for some kernels you will need to strip a revision number or processor type from the uname -r string. Check with the documentation for the kernel you are running, and use apt-cache search kernel-source.

2004-05-26

Download kernelmod

Download the package kernelmod-0.7.1.tar.gz from the Poptop project's files list. Then install it like this:

# tar xfz kernelmod-0.7.1.tar.gz
# cd kernelmod
# ./kernelmod.sh

Note: it is important to avoid the -o option, for compatibility with the version of PPP used by Debian.

Test MPPE Module

Test that the MPPE module loads on request:

# modprobe ppp-compress-18 && echo success

If the word "success" appears, then the module was loaded successfully. A warning may appear:

Warning: loading /lib/modules/2.4.20-8/kernel/drivers/net/ppp_mppe.o will taint the kernel: non-GPL license - BSD without advertisement clause
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module ppp_mppe loaded, with warnings

This is expected and does not change the operation of the module; the test may still be successful.


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
2004-05-26 Add note about uname -r's limits. Thanks to Graham Dunn.
2003-12-31 First version.