kernel-2.6.15 now includes built-in mppe support. If ppp is compiled with the mppe-mppc USE flag, mppe pptp sessions do not work. This fix for this is very simple - disable the mppe-mppc USE flag and reinstall ppp. This has the happy side effect of resolving a bunch of issues with pptpconfig. I think it would save a lot of people a lot of trouble if the ppp ebuild could spit out a warning that this flag adds a patch that makes ppp incompatible with the stock kernels >= 2.6.15. So most people will get what they need from the mppe built in to 2.6.15 and ppp compiled without mppe-mppc.
Upstream bug with this solution: http://bugzilla.kernel.org/show_bug.cgi?id=5827
Created attachment 77928 [details] mppe-mppc warning How do you like this pkg_setup? Also, what mppe-mppc related problems do you have with pptpconfig?
Looks good to me.
That warning looks great. Maybe change: 'less or equal' to 'less than or equal to' or just '<=' The syntax of the mppe options in pppd are different with the mppe-mppc patch. pptpconfig uses the option syntax for the built-in ppp suport: for mppe-mppc, the options look like: mppe no40, required (all mppe options comma separated after the mppe keyword) for built-in mppe support: mppe-required nomppe-40 (mppe options separated) Also pptpconfig has the module name ppp_mppe hardcoded into it somewhere. The only other (completely unrelated) thing I noticed in pptpconfig is that there is a 'head -1' that should be changed to 'head -n 1'
How about: "The resulted pppd program will work only with kernel versions <= 2.6.14, patched with a compatible kernel patch found at http://mppe-mppc.alphacron.de/ ." Please help me to improve the quality of ppp warnings - I have no communications skills and my English sucks. :(
fixed in all net-dialup/ppp versions.