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


Red Hat 9 MPPE/kernelmod HOWTO

by James Cameron
6th November 2003

This describes how to install MPPE support on Red Hat 9, using the BSD-licensed PPP MPPE module patch script prepared by the Poptop project.


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.

2003-11-06

Install Packages From CD

The gcc, kernel-source, rpm-devel, and rpm-build packages are needed for the build process. Insert disc two of Red Hat 9, and install these RPM's:

# cd /mnt/cdrom/RedHat/RPMS
# rpm --install \
gcc-3.2.2-5.i386.rpm \
kernel-source-2.4.20-8.i386.rpm \
rpm-build-4.2-0.69.i386.rpm \
rpm-devel-4.2-0.69.i386.rpm

Note: if you wish to use a different kernel version, such as an errata kernel, install the corresponding kernel-source-*.i386.rpm package, rather than the package on the Red Hat distribution discs. Be sure to use the kernel-source-*.i386.rpm package rather than the kernel-*.src.rpm package.

Download

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: you will be asked by kernelmod.sh if you would like to build an RPM. If you wish to distributed the modules to another system, answer "yes". We welcome contributions for distribution and errata kernels.

Note: it is important to avoid the -o option, for compatibility with the version of PPP used later in these instructions.

Test MPPE Module

Test that the MPPE module loads on request:

# modprobe ppp-compress-18

This is what 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 was successful. If this message does not appear, but the command completes silently, the test was also successful.

Install PPP

Download the ppp rpm and upgrade to it like this:

# rpm --upgrade ppp-2.4.2_cvs_20030610-1.i386.rpm

Continue

You should now return to the Red Hat 9 HOWTO and continue from step 2, the download of PPTP client.


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
2003-11-06
Add another warning about root's PATH.

2003-06-18
Shift to PPP 20030610 and kernelmod 0.7.1.

2003-06-02
Explain modprobe test success possibilities.

2003-04-30 Warn against kernel-*.src.rpm package.
2003-04-17 Change to main HOWTO's MPPE and PPP install sequence triggered a change here as well.
2003-04-16 Derived from Red Hat 8.0 HOWTO with testing.