Koozali.org: home of the SME Server

pptp vpn problem

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
pptp vpn problem
« on: November 14, 2006, 11:26:11 AM »
I have a strange problem.
I updated my sme 6.5 system to the 7.0 final release. After that I can't dial in over pptp vpn access anymore. I've searched my logs for some problems and found this:

MPPE is needed in kernel for pptp connection. This kernel does not support MPPE.

I've checked the kernel version which is 2.6.9-34-EL
could it be that this kernel really lags MPPE support?
Does anyone else have this problem?

Offline byte

  • *
  • 2,183
  • +2/-0
Re: pptp vpn problem
« Reply #1 on: November 14, 2006, 08:08:19 PM »
Quote from: "crusader"


MPPE is needed in kernel for pptp connection. This kernel does not support MPPE.


It's because you are booting from the incorrect kernel, depending on which smeupdates you have you will need to reboot and select the correct kernel.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
pptp vpn problem
« Reply #2 on: November 14, 2006, 10:26:57 PM »
Which would be?

Offline byte

  • *
  • 2,183
  • +2/-0
pptp vpn problem
« Reply #3 on: November 14, 2006, 10:30:02 PM »
Quote from: "crusader"
Which would be?


You tell us! In other words what kernels have you got as you may have not done the latest updates, check the grub menu
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
pptp vpn problem
« Reply #4 on: November 14, 2006, 10:40:50 PM »
title CentOS (2.6.9-42.0.2.ELsmp)
title CentOS (2.6.9-42.0.2.EL)
title CentOS (2.6.9-34.0.2.EL)
title CentOS (2.6.9-34.0.2.ELsmp)
title SME Server (2.6.9-34.ELsmp)
title SME Server-up (2.6.9-34.EL)

These are the kernes within grub.conf

Offline byte

  • *
  • 2,183
  • +2/-0
pptp vpn problem
« Reply #5 on: November 14, 2006, 10:47:43 PM »
Quote from: "crusader"

title CentOS (2.6.9-42.0.2.ELsmp)
title CentOS (2.6.9-42.0.2.EL)


Ok depending on if you have single CPU or two CPU's you would need to use one of those, for example if you have P4 3.0ghz w/HT then its likey to be .SMP kernel if it's a celeron/amd duron then you would use the .EL kernel
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
pptp vpn problem
« Reply #6 on: November 14, 2006, 10:48:53 PM »
Ok, and why does the 2.6.9-34 version not support  mppe?
Was this a bug or intention?

Offline byte

  • *
  • 2,183
  • +2/-0
pptp vpn problem
« Reply #7 on: November 14, 2006, 10:51:53 PM »
Quote from: "crusader"
Ok, and why does the 2.6.9-34 version not support  mppe?


As far as I believe its because we upgraded the kernel version so only the latest kernel version is supplied with pptp option, not actually sure why the older kernel version would not have support, its probably because it would mean keeping up2date kernel versions rather than just building one set of pptp support.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
pptp vpn problem
« Reply #8 on: November 14, 2006, 11:36:07 PM »
Ok, thank you for your help, I will try the new kernel. We will see if it works.

Offline cljunkie

  • *
  • 20
  • +0/-0
    • http://www.rrediting.com
Compact Proliant 6000 4 CPU (Celeron 400s), kernel and VPN
« Reply #9 on: December 23, 2006, 11:18:43 PM »
My server also no longers support VPN running kernel 2.6.9-34. When I try kernels

title CentOS (2.6.9-42.0.2.ELsmp)
title CentOS (2.6.9-42.0.2.EL)

Naturally the non EL locks up, as it should, but so does the EL.smp. I fear the my multi-CPU hardware may not work with the newer kernel(s) as far as VPN goes.

So I am waiting for a new kernel and trying to come up with a work-around. My office must have VPN. I'm not really interested in setting up another router and having a 'server-only' for an office of less than 10.

I did check the bugtracker but the only open item doesn't quite fit my situation.

Ideas?

Thanks,

CLjunkie

Offline pfloor

  • *****
  • 889
  • +1/-0
pptp vpn problem
« Reply #10 on: December 24, 2006, 07:54:44 AM »
Here is why ppp with the older kernels may not work any more:

When an upgdate is performed, yum "Installs" the newer kernel and leaves the old ones there in case the newer kernel fails.  If that happens, you can re-boot and select an older kernel.  This is done so that your machine isn't left broken by a kernel update.

However, upon an update the kernel-modules are updated and the older modules are removed.  This is appearantly causing problems for those that need to revert to an older kernel as the corrisponding modules will be missing and things like ppp will fail.

I am going to raise a bug to see if the older modules can be left in place along with the older kernels.
In life, you must either "Push, Pull or Get out of the way!"

Offline p-jones

  • *
  • 594
  • +0/-0
pptp vpn problem
« Reply #11 on: December 24, 2006, 09:49:56 PM »
I have two PIII-600Mhz server-gateways both booting  CentOS 2.6.9-42.0.2.EL kernel and both have lost the pptp with the same error as reported in this post.

I have not investigated this in depth as yet but I believe both occured at some point when doing a YUM update and the upstream proxy error (reported elsewhere) occured.

I will take this to the bug tracker if warranted when I have had a closer look at the issue.
...

Offline pfloor

  • *****
  • 889
  • +1/-0
pptp vpn problem
« Reply #12 on: December 24, 2006, 10:11:38 PM »
Quote from: "p-jones"
I have two PIII-600Mhz server-gateways both booting  CentOS 2.6.9-42.0.2.EL kernel and both have lost the pptp with the same error as reported in this post.

I have not investigated this in depth as yet but I believe both occured at some point when doing a YUM update and the upstream proxy error (reported elsewhere) occured.

I will take this to the bug tracker if warranted when I have had a closer look at the issue.
Possibly your kernel got updated but not the modules.  What do you get with:

# rpm -qa kernel*

also post output of:

# rpm -qa *yum*
In life, you must either "Push, Pull or Get out of the way!"

Offline p-jones

  • *
  • 594
  • +0/-0
pptp vpn problem
« Reply #13 on: December 24, 2006, 10:20:26 PM »
[root@vserver1 ~]# rpm -qa *yum*
yum-2.4.3-1.c4
smeserver-yum-1.2.0-25.el4.sme
yum-plugin-fastestmirror-0.2.4-3.c4


[root@vserver1 ~]# rpm -qa kernel*
kernel-smp-module-ppp-1.0.2-2_2.6.9_42.0.2.EL
kernel-2.6.9-34.EL
kernel-module-ppp-1.0.2-2_2.6.9_42.0.2.EL
kernel-smp-2.6.9-34.0.2.EL
kernel-2.6.9-34.0.2.EL
kernel-smp-2.6.9-42.0.2.EL
kernel-2.6.9-42.0.3.EL
kernel-utils-2.4-13.1.83
kernel-module-appletalk-1.0-1_2.6.9_42.0.2.EL
kernel-smp-2.6.9-34.EL
kernel-smp-module-slip-1.0-1_2.6.9_42.0.2.EL
kernel-module-slip-1.0-1_2.6.9_42.0.2.EL
kernel-smp-module-appletalk-1.0-1_2.6.9_42.0.2.EL
kernel-smp-2.6.9-42.0.3.EL
...

Offline byte

  • *
  • 2,183
  • +2/-0
pptp vpn problem
« Reply #14 on: December 25, 2006, 12:15:59 AM »
Quote from: "p-jones"
I have two PIII-600Mhz server-gateways both booting  CentOS 2.6.9-42.0.2.EL kernel and both have lost the pptp with the same error as reported in this post.


Because you have a newer kernel 2.6.9-42.0.3 you would need to boot use the correct smp or el version, then pptp should work as normal.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!