pptpd VPN error: Can't locate module ppp-compress-18

Discussion in 'Linux Networking' started by Jaga, Oct 7, 2003.

  1. Jaga

    Jaga Guest

    Hail All,
    I have am trying to setup a VPN server so that windows (winxp,win2k) can
    connect to it exterally.
    When I try to connect my winxp pro client I get the message: modprobe:
    modprobe: Can't locate module ppp-compress-18
    I am running redhat 9 with 2 nics and I am using iptables to do a simple
    nat so that the people who connect to my vpn server (via PPTP) will then be
    introduced to my internal network.
    I used the files below and patched my kernel and PPP to use MPPE. I
    found the ppp_mppe.o in my source directory
    (/usr/src/linux-2.4.21/drivers/net/ppp_mppe.o) suggesting that it was
    compiled with the kernel but I don't see it in my /lib/modules directory
    (/lib/modules/2.4.20-8/kernel/drivers/net/ppp_mppe.o)
    I tried to do: # insmod /usr/src/linux-2.4.21/drivers/net/ppp_mppe.o
    but I get the error message:
    /usr/src/linux-2.4.21/drivers/net/ppp_mppe.o: couldn't find the kernel
    version the module was compiled for

    ANYOne have any idea or suggestions as to what I can do?
    I think the problem lies in that I don't know how to tell the kernel how
    to register the module ppp_mppe.o.
    I commented out the ppp_mppe line in /etc/modules.conf but I still get
    that error message.

    thanks for any and all help!

    My config:
    linux-2.4.21-openssl-0.9.6b-mppe.patch.gz
    linux-2.4.21.tar.gz

    ppp-2.4.1-MSCHAPv2-fix.patch.gz
    ppp-2.4.1-openssl-0.9.6-mppe-patch.gz
    ppp-2.4.1.tar.tar

    pptpd-1.1.3-20030409.tar.gz


    my problems is that I get this error in /var/log/messages:
    Oct 7 15:51:47 mixer pptpd[1500]: CTRL: Client <IP OF MY CLIENT> control
    connection started
    Oct 7 15:51:47 mixer pptpd[1500]: CTRL: Starting call (launching pppd,
    opening GRE)
    Oct 7 15:51:47 mixer pppd[1501]: pppd 2.4.1 started by root, uid 0
    Oct 7 15:51:47 mixer pppd[1501]: Using interface ppp0
    Oct 7 15:51:47 mixer pppd[1501]: Connect: ppp0 <--> /dev/pts/0
    Oct 7 15:51:47 mixer /etc/hotplug/net.agent: assuming ppp0 is already up
    Oct 7 15:51:47 mixer pptpd[1500]: GRE: Discarding duplicate packet
    Oct 7 15:51:50 mixer pptpd[1500]: CTRL: Ignored a SET LINK INFO packet with
    real ACCMs!
    Oct 7 15:51:50 mixer kernel: PPP BSD Compression module registered
    Oct 7 15:51:50 mixer modprobe: modprobe: Can't locate module
    ppp-compress-18
    Oct 7 15:51:50 mixer modprobe: modprobe: Can't locate module
    ppp-compress-18
    Oct 7 15:51:50 mixer pppd[1501]: MSCHAP-v2 peer authentication succeeded
    for vpntest
    Oct 7 15:51:50 mixer modprobe: modprobe: Can't locate module
    ppp-compress-18
    Oct 7 15:51:50 mixer pppd[1501]: found interface eth1 for proxy arp
    Oct 7 15:51:50 mixer pppd[1501]: local IP address 10.2.17.1
    Oct 7 15:51:50 mixer pppd[1501]: remote IP address 10.2.16.51
    Oct 7 15:51:50 mixer pppd[1501]: LCP terminated by peer
    (^]e`M->^@<M-Mt^@^@^BM-f)
    Oct 7 15:51:50 mixer pppd[1501]: Modem hangup
    Oct 7 15:51:50 mixer pppd[1501]: Connection terminated.
    Oct 7 15:51:50 mixer pppd[1501]: Connect time 0.1 minutes.
    Oct 7 15:51:50 mixer pppd[1501]: Sent 135 bytes, received 629 bytes.
    Oct 7 15:51:50 mixer pptpd[1500]: CTRL: Client <EXTERN IP OF MY CLIENT>
    control connection finished
     
    Jaga, Oct 7, 2003
    #1
    1. Advertisements

  2. As root get in the 2.4.21 source top directory and do "make modules_install"
    and then "depmod -a".

    You'll need at least pppd 2.4.2b3, found in /pub/ppp at ftp.samba.org, or
    the latest CVS version - check www.samba.org for how to get that.

    Or find a way to disable MS-PPC in XP. That would be better, for if
    the XP is configured to request MCCP (as opposed to just the MPPE part
    of MS-PPC) then the standard pppd, even a 2.4.2 version, is unable to
    accept the request because of a patent on MPPC, and the PPP negotiations
    will fail. If that's confusing blame MS.
     
    Clifford Kite, Oct 7, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.