From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Nitikman Date: Sun, 13 Nov 2005 23:51:08 +0000 Subject: Re: ioctl(ppp_dev_fd, PPPIOCSCOMPRESS, (caddr_t) &data) fails Message-Id: <4377D16C.8000500@permeable.com> List-Id: References: <43762E6B.5020108@permeable.com> In-Reply-To: <43762E6B.5020108@permeable.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ppp@vger.kernel.org Okay, I have more information. My boot log does not show the following line: PPP MPPE Compression module registered Which seems to be required in order for MPPE to be valid. I have no idea what would prevent the compiled-in MPPE module from registering. Any ideas would be helpful. Jay Jay Nitikman wrote: > My working vpn connection stopped working "suddenly". I did some testing > and discovered that the call: > > ioctl(ppp_dev_fd, PPPIOCSCOMPRESS, (caddr_t) &data) > > in ccp_test() in sys-linux.c in pppd always returns EINVAL. > > My kernel, 2.6.10-gentoo-r6, has MPPE compiled in, not as a module. > The ppp_dev_fd has a value of "22" which seems reasonable. So it > appears that PPPIOCSCOMPRESS is invalid. Huh? > > I am using Gentoo ppp-2.4.3-r9. > > This has been working fine for months. I have tried rebooting, both > cold and warm. I've tried rebuilding ppp-2.4.3-r9. I've tried > ppp-2.4.2-r15. My vpn provider says that nothing has changed on their > side. > > Any ideas why that ioctl should fail and how to fix it? > -- ----------------- Jay Nitikman jay@permeable.com -----------------