linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ioctl(ppp_dev_fd, PPPIOCSCOMPRESS, (caddr_t) &data) fails
@ 2005-11-12 18:03 Jay Nitikman
  2005-11-13 23:51 ` Jay Nitikman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jay Nitikman @ 2005-11-12 18:03 UTC (permalink / raw)
  To: linux-ppp

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
-----------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-14 13:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-12 18:03 ioctl(ppp_dev_fd, PPPIOCSCOMPRESS, (caddr_t) &data) fails Jay Nitikman
2005-11-13 23:51 ` Jay Nitikman
2005-11-14  0:10 ` James Cameron
2005-11-14 13:20 ` Jay Nitikman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).