Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ppp-2.4.3-r9 no longer works
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
frisbee
n00b
n00b


Joined: 02 May 2003
Posts: 27
Location: Santa Cruz, California

PostPosted: Fri Nov 11, 2005 11:48 pm    Post subject: ppp-2.4.3-r9 no longer works Reply with quote

My vpn connection stopped working "suddenly". I did some testing and discovered that the
Code:
ioctl(ppp_dev_fd, PPPIOCSCOMPRESS, (caddr_t) &data)

call in ccp_test() in sys-linux.c is returning EINVAL for the MPPE bits.
My kernel, 2.6.10-gentoo-r6, has MPPE compiled in, not a module.

This has been working fine for months. It is possible that a recent "emerge -uD world" broke something. My VPN requires MPPE.

Any ideas why that ioctl should fail?
Back to top
View user's profile Send private message
egberts
Guru
Guru


Joined: 04 Nov 2003
Posts: 357
Location: Dimmed Cathode Ray Tube

PostPosted: Wed Nov 16, 2005 6:26 am    Post subject: Reply with quote

The deflate compressor or gzip compressor module is not loaded

Can you check your /proc/config.gz (or /proc/config or /usr/src/linux/.config) for inclusion of ZLIB and PPP_DEFLATE?
_________________
Clusters of Fry's Special, AMD 2200, 2 GB DDR, 220 GB (2008.1/desktop, stage 1, -O3) x8
HP Compaq Fry's SPecial, AMD 2100, 2 GB DDR, 260 GB (2008.0/server, stage 1, -O3)
Ultra Sparc 5, 256MB, 3GB (2006.1/server, stage 1, -O3)
Back to top
View user's profile Send private message
frisbee
n00b
n00b


Joined: 02 May 2003
Posts: 27
Location: Santa Cruz, California

PostPosted: Wed Nov 16, 2005 6:32 am    Post subject: ppp-2.4.3-r9 no longer works Reply with quote

I tinkered around some more and discovered that the MPPE driver was not registering at boot time. The following line should be in my boot log, but it was missing:

PPP MPPE Compression module registered

I finally gave up and rebuilt my kernel with MPPE as a module:

Compiled in Kernel: PPP
Kernel Module: PPP-MPPE, SHA1, SHA256, SHA512, ARC4

Set "mpppe stateless" in options.pptp

It really worked for six months with PPP-MPPE compiled into the kernel.

Thanks,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum