[pptp-server] ppp_mppe
Cowles, Steve
Steve.Cowles at infohiiway.com
Sat Nov 18 12:07:23 CST 2000
> -----Original Message-----
> From: Ralph Winslow [mailto:ralphw at cnet.com]
> Sent: Thursday, November 16, 2000 6:28 AM
> To: George Vieira
> Cc: pptp-server at lists.schulte.org
> Subject: RE: [pptp-server] ppp_mppe
>
> When on Wed, 15 Nov 2000, George Vieira wrote, I replied:
>
> Here's what I've tried:
>
> root at rjw# locate mppe.o
> /lib/modules/2.2.16-storm/net/mppe.o
> /usr/src/kernel-source-2.2.16-storm-ide/drivers/net/ppp_mppe.o
> /usr/src/kernel-source-2.2.16-storm-ide/drivers/net/.ppp_mppe.o.flags
> /usr/src/ppp-2.3.8/pppd/mppe.o
> root at rjw# locate emu10k1.o
> /lib/modules/2.2.16-storm.old/misc/emu10k1.o
> /lib/modules/2.2.16-storm/misc/emu10k1.o
> root at rjw# insmod /usr/src/ppp-2.3.8/pppd/mppe.o
> /usr/src/ppp-2.3.8/pppd/mppe.o: couldn't find the kernel
> version the module was compiled for
> root at rjw# insmod
> /usr/src/kernel-source-2.2.16-storm-ide/drivers/net/ppp_mppe.o
> /usr/src/kernel-source-2.2.16-storm-ide/drivers/net/ppp_mppe.o
> : couldn't find the kernel version the module was compiled for
> root at rjw# cp
> /usr/src/kernel-source-2.2.16-storm-ide/drivers/net/ppp_mppe.o
> /lib/modules/2.2.16-storm/net
> root at rjw# insmod ppp_mppe.o
> ppp_mppe.o: ppp_mppe.o: No such file or directory
>
> I'm puzzled and chagrined.
>
This may have already been covered in previuos posts (huge thread), but...
If your kernel is compiled properly, this module (ppp_mppe.o) should load
automatically when you establish a PPTP tunnel. There should be no reason to
load manually. Plus the error that you are getting is a mis-match with your
kernel version vs. the modules version.
When you applied the mppe patch, did you...
1) Compile a new kernel?
2) Copy the new compiled kernel to the boot area defined in lilo.conf? i.e.
/boot
3) Update the boot sector? i.e. As root: # lilo
4) Execute "make modules-install" after compiling the modules. The
ppp_mppe.o module should end up in /lib/modules/<kernel-version>/net. At
least thats where mine ended up.
5) Add the appropiate module aliases to /etc/conf.modules?
alias eth0 3c59x
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias char-major-108 ppp_generic
Module listing before a PPTP connect from my W2k system.
[scowles at voyager linux]$ lsmod
Module Size Used by
ntfs 35712 0 (autoclean)
3c59x 19496 1 (autoclean)
[scowles at voyager linux]$
Module listing after a PPTP connect from my W2k system (with data encryption
enabled)
[scowles at voyager linux]$ lsmod
Module Size Used by
ppp_deflate 40536 0 (autoclean)
ppp_mppe 13572 2 (autoclean)
bsd_comp 3620 0 (autoclean)
ntfs 35712 0 (autoclean)
3c59x 19496 1 (autoclean)
[scowles at voyager linux]$
**** Cut/paste from /var/log/messages *****
Nov 18 11:54:18 voyager pppd[11629]: pppd 2.3.11 started by root, uid 0
Nov 18 11:54:18 voyager pppd[11629]: Using interface ppp0
Nov 18 11:54:18 voyager pppd[11629]: Connect: ppp0 <--> /dev/pts/4
Nov 18 11:54:18 voyager pptpd[11628]: CTRL: Ignored a SET LINK INFO packet
with real ACCMs!
Nov 18 11:54:19 voyager kernel: PPP BSD Compression module registered
Nov 18 11:54:19 voyager kernel: PPP MPPE compression module registered
Nov 18 11:54:19 voyager kernel: PPP Deflate Compression module registered
Nov 18 11:54:19 voyager pppd[11629]: MSCHAP-v2 peer authentication succeeded
for scowles
*** Note that the kernel registered (insmod) the ppp_mppe module. ***
Nov 18 11:54:19 voyager pppd[11629]: found interface eth0 for proxy arp
Nov 18 11:54:19 voyager pppd[11629]: local IP address 192.168.9.4
Nov 18 11:54:19 voyager pppd[11629]: remote IP address 192.168.9.100
Nov 18 11:54:25 voyager pppd[11629]: MPPE 128 bit, stateless compression
enabled
More information about the pptp-server
mailing list