Home Dienstleistungen Support Kontakt
   
     
   

    PPTP Notes

    This is only supplementary information. Use the RedHat Installation guide available at the main PPTP (see Links below) site as your primary reference.

    Suse 7.0 pppd dumps core

    I found the PPP Daemon provided with Suse 7.0 of little use (dumping core as soon as a PPTP client tries to connect). Therefore I would suggest to start with the sources, get the patches and compile it yourself.

    Which versions/patches do work

    For kernel 2.2.x use PPPd 2.3.x with x > 11, PPPd 2.4 is only for kernel 2.4. This is irrelevant for dialout purposes, but the kernel module ppp_mppe.o for kernel 2.2 is only included with the 2.3 version.

    PPTP daemon 1.1.2 works fine for me.

    Recompile from scratch

    You will need the kernel sources to recompile the ppp_mppe.o module (the Suse version does not work). The filenames used in the examples assume that the donloaded files reside in ~/download/. If you get error messages while applying patches about missing files, check the '-p' argument.

    1. Unpack PPPd source, configure, patch and compile
      tar zxvf ppp-2.3.11.tar.gz; cd ppp-2.3.11; ./configure;
      patch -p1 <~/download/ppp-2.3.11-openssl-0.9.5-mppe.patch
      patch -p1 <~/download/ppp-2.3.11-MSCHAPv2-fix.patch
      patch -p0 <~/download/ppp_mppe_compressed_data_fix.diff
      cd linux; patch -p0 <~/download/mppe_stateless.patch; cd ..
      make; make install; /sbin/init.d/pptp restart
    2. Prepare kernel module:
      cd ppp-2.3.11; make kernel
    3. Apply the kernel patch mentioned below:
      cd /usr/src/linux/drivers/net; patch -p1 <~/download/if_ppp_2.2.17.diff
    4. Compile the kernel modules and install them:
      /sbin/init.d/pptp stop
      cd /usr/src/linux; make dep modules modules_install
      /sbin/init.d/pptp start

    "Unknown Protocol" when connecting with a Win98 client

    Download and install the Networking Update for Win98.

    Win98: Networknames in the form \\server do not work, altough ping does

    Take a look at the netmask Win98 configured on your link interface (i.e. the PPTP Link). It always chooses the default netmask for the IP address in use and ignores any settings on the server side (using pppd parameter netmask).

    Win2k: 'Encryption method not supported by server' or simmilar

    This seems to happen as soon as SP2 is installed. Without service pack everything is OK.

    Links:

    PoPToP PPTP for Unix.
    RedHat Installation Guide
    PPP Daemon
    MPPE Patch for PPP Daemon
    The compressed MPPE Patch
    Kernel Patch for 'tty_pushing' error message during kernel compilation.
    PPTP under FreeBSD