Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119705 - 2.6.15 support of mppe and mppe-mppc use flag for ppp incompatible
Summary: 2.6.15 support of mppe and mppe-mppc use flag for ppp incompatible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL: http://bugzilla.kernel.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 09:30 UTC by Carl Michal
Modified: 2006-01-24 10:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mppe-mppc warning (proposed pkg_setup,453 bytes, text/plain)
2006-01-23 10:27 UTC, Alin Năstac (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Michal 2006-01-20 09:30:56 UTC
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.
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-01-20 11:22:42 UTC
Upstream bug with this solution: http://bugzilla.kernel.org/show_bug.cgi?id=5827
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-01-23 10:27:13 UTC
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?
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-01-23 10:37:05 UTC
Looks good to me.
Comment 4 Carl Michal 2006-01-23 10:43:13 UTC
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'
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2006-01-23 11:22:12 UTC
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. :(
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2006-01-24 10:10:29 UTC
fixed in all net-dialup/ppp versions.