Linode Forum Index Linode Forum
Linode Community Forums
 


PPTP VPN kernel module

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
miguimon



Joined: 10 Dec 2009
Posts: 2
Location: Sydney

Posted: Thu Dec 10, 2009 5:21 pm    Post subject: PPTP VPN kernel module  

Hi,

I am trying to use the pptpsetup and connect to a VPN but it complains with this error:

Code:
FATAL: Module ppp_compress_18 not found.
/usr/sbin/pptpsetup: couldn't find MPPE support in kernel.


I've checked and there is support for MPPE in the kernel.

Code:
root@cadaques ~/ # zgrep MPPE /proc/config.gz
CONFIG_PPP_MPPE=y


Any idea?

I'm using Archlinux.
Thanks!
Back to top  
mwalling



Joined: 10 Dec 2007
Posts: 335

Posted: Thu Dec 10, 2009 11:56 pm    Post subject:  

Support is there, but its built in, not a module. Get your script to soft fail on that error, and you should be golden.
Back to top  
mjones



Joined: 09 Aug 2011
Posts: 1
Location: United States

Posted: Tue Aug 09, 2011 4:30 pm    Post subject: The answer makes no sense to me  

I'm on ubuntu trying to setup vpn and running into the same problem, but the answer above just doesn't make sense to me at all.
Back to top  
Vance



Joined: 18 Jan 2009
Posts: 350

Posted: Wed Aug 10, 2011 1:55 am    Post subject:  

Many options in the Linux kernel can be built either as loadable modules, or directly into the kernel image. This is selected during the kernel configuration step.

In miguimon's case, the code for the CONFIG_PPP_MPPE option has been built into the kernel. (Had it been built as a module, you would have seen CONFIG_PPP_MPPE=m).

Because this capability has been built into the kernel image, it is neither desirable nor possible to load this same code as a module. A script which tries to load it as a module will receive an error. mwalling is suggesting that the script be modified so that it does not exit if an error occurs when trying to load the module.
Back to top  
Guspaz



Joined: 26 May 2009
Posts: 1147
Location: Montreal, QC

Posted: Wed Aug 10, 2011 9:29 am    Post subject:  

tl;dr: your pptpsetup is broken and doing the wrong thing, not the kernel. You need to fix pptpsetup to ignore the error.
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1