Page 1 of 1

[SOLVED] Troubleshooting VPN (PPTP)

PostPosted: May 2nd, '12, 19:20
by neograven
Looking around and doing some research, I found this:

http://svnweb.mageia.org/packages/cauldron/ppp/current/SPECS/ppp.spec?revision=33338&view=markup

Correct me if I'm wrong please.. this means that the ppp kernel module for Mageia is not compiled with the MPPC patch enabled?

Re: Troubleshooting VPN (PPTP)

PostPosted: May 2nd, '12, 20:37
by doktor5000
Why do you think so? First there are some comments and the patch is defined:

Code: Select all
45    # (blino) http://orakel.tznetz.com/dload/ppp-2.4.4-mppe-mppc-1.1.patch.gz
46    # original patch on http://mppe-mppc.alphacron.de/
47    # (tpg) disable this patch, because it need a rediff and also there are some legal issues
48    # Although the module's source code is completely free, MPPC itself is patented algorithm.
49    #Patent for *Microsoft* PPC is holded by the Hifn Inc. This is obvious ;-).
50    #Furthermore, MPPE uses RC4[1] encryption algorithm which itself isn't patented,
51    #but RC4 is trademark of RSA Data Security Inc.
52    #To avoid legal problems, US citizens shouldn't use this module.
53    Patch11: ppp-2.4.4-mppe-mppc-1.1.patch


and then it gets applied:

Code: Select all
181    %patch11 -p1 -b .mppe_mppc

Re: Troubleshooting VPN (PPTP)

PostPosted: May 2nd, '12, 21:04
by neograven
Ah, I see I didn't read far enough.. Gotcha!

Thanks for clarifying!

Re: Troubleshooting VPN (PPTP)

PostPosted: May 2nd, '12, 21:28
by isadora
Image

Re: [SOLVED] Troubleshooting VPN (PPTP)

PostPosted: May 2nd, '12, 21:50
by neograven
I will check out the RC once it's out (may go ahead and put Beta 3 on again) it looks like everything should be sorted. I'll post back if I find anything ;)

Re: [SOLVED] Troubleshooting VPN (PPTP)

PostPosted: May 13th, '12, 16:48
by neograven
UPDATE:

PPTP VPN does NOT work in Mageia2 RC either, however I did find out why. Please see this bug submission: https://bugs.mageia.org/show_bug.cgi?id=5741

Once I applied the RPMs with the correct PPP 2.4.5, everything works. I am suppying the links here in the even that anyone else who has problems connecting to M$ VPN via PPTP using MPPE will be able to apply these RPMs and get around the issue:

32 bit version (I haven't tested this one as I use 64bit, but there are others that have verified this solved their problem on Mageia 32bit):
ftp://ftp.crashrecovery.org/pub/linux/p ... 0.i586.rpm

64 bit version:
ftp://ftp.crashrecovery.org/pub/linux/p ... x86_64.rpm

Finally! Those of us stuck with M$ MPPE PPTP VPN can work!

Re: [SOLVED] Troubleshooting VPN (PPTP)

PostPosted: Jul 23rd, '12, 12:10
by tom_
I can confirm:
using Networkmanager and neograven's package MPPE works in mageia2

However if you have net_applet,
ppp will not work at all (not only VPN with MPPE)
i.e you have to use networkmanager

Re: [SOLVED] Troubleshooting VPN (PPTP)

PostPosted: Jul 27th, '12, 19:25
by doktor5000
tom_ wrote:However if you have net_applet,
ppp will not work at all (not only VPN with MPPE)
i.e you have to use networkmanager


This is quite a generalisation - so why did it work for me with my UMTS stick?

Re: [SOLVED] Troubleshooting VPN (PPTP)

PostPosted: Jul 31st, '12, 21:30
by tom_
doktor5000 wrote:This is quite a generalisation


sure, I didn't made a lot of tests, but this is my experience:

I had ppp working with net_applet (with an usb stick)
I needed to use a vpn, but it was impossible to have a connection;
with mdv and mga1 I was used to run "pppd call pptp_vpn",
but mga2 complains about the mppe setting in /etc/ppp/options.pptp

so I installed the 2011mdv package linked by neograven and I was unable to use my usb stick;
I tried to use the vpn over a wifi connection and it didn't work too.

so I installed networkmanager and now I have both the usb stick and the vpn working.

Re: [SOLVED] Troubleshooting VPN (PPTP)

PostPosted: Jul 31st, '12, 21:57
by neograven
Yea, the packages were for use with NetworkManager, not the applet.