[pptp-server] *Solution* for PPP+MPPE with kernels 2.2.15+

Boris Reisig boris at microtrader.com
Mon Jun 12 16:19:32 CDT 2000


I found alot of information here on how to fix PPP with kernels 2.2.15 and higher. Vanja helped me get a good start and heres is the way I did it [without downloading too many patches]. I am currently using Slackware Linux [7.0]

What you need.
 -Linux kernel 2.2.16  [ftp.kernel.org/pub/linux/kernel/2.2/linux-2.2.16.tar.gz]
 -PPP 2.3.11   [ftp.linuxcare.com.au/pub/ppp/ppp-2.3.11.tar.gz]
 -MPPE Patch [ftp.binarix.com/pub/ppp-mppe/ppp-2.3.11-openssl-0.9.5-mppe.patch.gz]


a) Download the files above.

b) Delete the old kernel and create the symlinks
    # rm -rf /usr/src/linux*
    # cp linux-2.2.16.tar /usr/src
    # tar -zxvf linux-2.2.16.tar
    # rm linux-2.2.16.tar
    # cd /usr/include
    # ln -s ../src/linux/include/linux linux
    # ln -s ../src/linux/include/asm asm

c) Update linux kernel files
    # cd /usr/src/linux
    # make menuconfig (or make config depending on what you like better)
    
    *Make* sure PPP is installed in the kernel either as a module or built into the kernel [I build mine into the kernel]
    When done, remember to save your configuration.
    A "HOWTO" can be found at [http://www.linuxdoc.org] if you are not sure how to configure your kernel to support PPP.

d) Install the PPP with MPPE patch
    # cp ppp-2.3.11.tar.gz /usr/src
    # cd /usr/src
    # tar -zxvf ppp-2.3.11.tar.gz
    # rm ppp-2.3.11.tar.gz
    # cp ppp-2.3.11-openssl-0.9.5-mppe.patch.gz /usr/src/ppp-2.3.11
    # cd /usr/src/ppp-2.3.11
    # zcat ppp-2.3.11-openssl-0.9.5-mppe.patch.gz | patch -p1
    # ./configure
    # make
    # make install
    # make kernel
    # cp common/zlib.h /usr/src/linux/drivers/net/
    # cp include/linux/if_pppvar.h /usr/src/linux/include/linux/

e) Time to compile our new kernel and new modules.
    # cd /usr/src/linux
    # make menuconfig

    Make sure you have PPP *enabled* in the kernel

    # make dep clean
    # rm -rf /lib/modules
    # make modules modules_install
    # make bzImage
    # cp System.map /boot
    # cp arch/i386/bzImage /boot/vmlinuz
    # lilo    

Remember I am building this on a slackware distribution. But yours should work as well [hopefully] :-))

Boris Reisig
Microtrader Computers.
boris at microtrader.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20000612/b4e7bfd6/attachment.html>


More information about the pptp-server mailing list