[SOLVED] Troubleshooting VPN (PPTP)

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Troubleshooting VPN (PPTP)

Postby neograven » May 2nd, '12, 19:20

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?
Last edited by neograven on May 2nd, '12, 21:49, edited 1 time in total.
neograven
 
Posts: 13
Joined: Dec 13th, '11, 06:00

Re: Troubleshooting VPN (PPTP)

Postby doktor5000 » May 2nd, '12, 20:37

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Troubleshooting VPN (PPTP)

Postby neograven » May 2nd, '12, 21:04

Ah, I see I didn't read far enough.. Gotcha!

Thanks for clarifying!
neograven
 
Posts: 13
Joined: Dec 13th, '11, 06:00

Re: Troubleshooting VPN (PPTP)

Postby isadora » May 2nd, '12, 21:28

Image
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2767
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: [SOLVED] Troubleshooting VPN (PPTP)

Postby neograven » May 2nd, '12, 21:50

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 ;)
neograven
 
Posts: 13
Joined: Dec 13th, '11, 06:00

Re: [SOLVED] Troubleshooting VPN (PPTP)

Postby neograven » May 13th, '12, 16:48

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!
neograven
 
Posts: 13
Joined: Dec 13th, '11, 06:00

Re: [SOLVED] Troubleshooting VPN (PPTP)

Postby tom_ » Jul 23rd, '12, 12:10

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
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: [SOLVED] Troubleshooting VPN (PPTP)

Postby doktor5000 » Jul 27th, '12, 19:25

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Troubleshooting VPN (PPTP)

Postby tom_ » Jul 31st, '12, 21:30

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.
Last edited by tom_ on Jul 31st, '12, 22:05, edited 1 time in total.
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: [SOLVED] Troubleshooting VPN (PPTP)

Postby neograven » Jul 31st, '12, 21:57

Yea, the packages were for use with NetworkManager, not the applet.
neograven
 
Posts: 13
Joined: Dec 13th, '11, 06:00


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest