[pptp-server] ioctl(PPPIOCGUNIT): Operation not permitted(1)

Soren Dayton dayton at overx.com
Wed Aug 16 11:58:08 CDT 2000


Hi,

So I've been trying to get PPTPD working on an SMP redhat 6.2 machine
(server side.  Client side is windows 2k) with encryption. (although
not it fails both with and without encryption)

So I got ppp 2.3.11.  Patched it.
kernel version 2.3.16.  Added the ppp stuff and installed it.

On windows is fails with Error 619.  However, this is unrelated to the
discussions that have been had here so far (I think) because right now
I'm just testing over my lan.

Linux syslog reports:

Aug 15 17:36:18 everest pptpd[1204]: CTRL: Client 63.93.29.16 control connection started
Aug 15 17:36:18 everest pptpd[1204]: CTRL: Starting call (launching pppd, opening GRE)
Aug 15 17:36:18 everest kernel: registered device ppp0
Aug 15 17:36:18 everest pppd[1205]: pppd 2.3.11 started by root, uid 0
Aug 15 17:36:18 everest pppd[1205]: ioctl(PPPIOCGUNIT): Operation not permitted(1)
Aug 15 17:36:18 everest pppd[1205]: tcsetattr: Operation not permitted
Aug 15 17:36:18 everest pppd[1205]: Exit.
Aug 15 17:36:18 everest pptpd[1204]: GRE: read(fd=4,buffer=804d7c0,len=8196) from PTY failed: status = -1 error = Input/output error
Aug 15 17:36:18 everest pptpd[1204]: CTRL: PTY read or GRE write failed (pty,gre)=(4,5)
Aug 15 17:36:18 everest pptpd[1204]: CTRL: Client 63.93.29.16 control connection finished
Aug 15 17:36:22 everest pptpd[1207]: CTRL: Client 63.93.29.16 control connection started
Aug 15 17:36:22 everest pptpd[1207]: CTRL: Starting call (launching pppd, opening GRE)
Aug 15 17:36:22 everest pppd[1208]: pppd 2.3.11 started by root, uid 0
Aug 15 17:36:22 everest pppd[1208]: ioctl(PPPIOCGUNIT): Operation not permitted(1)
Aug 15 17:36:22 everest pppd[1208]: tcsetattr: Operation not permitted
Aug 15 17:36:22 everest pppd[1208]: Exit.


The PPPIOCGUNIT error seems to be a common problem with pppd talking
to modems and pcmcia stuff.  But that clearly doesn't apply here.
Does anyone have any insight about how this could be occurring here?


Thanks,
Soren



More information about the pptp-server mailing list