Re: TINC (vpn daemon) has stopped working after compiling kernel

2002-11-21 Thread Eric Estabrooks

Eric Estabrooks wrote:




I had this exact same problem when working with vtun which uses the 
tun/tap kernel module.  The IOCTL numbers changed between kernel 
versions, I updated my /usr/include/linux files to match my kernel and 
recompiled vtun to get rid of the problem.  I believe in particular it 
was IOR or IOWR numbers that changed.  It was a while ago so I don't 
remember the specifics, but it did take me a while to track it down.


Eric



make that /usr/include/asm (sorry)

Eric



smime.p7s
Description: S/MIME Cryptographic Signature


Re: TINC (vpn daemon) has stopped working after compiling kernel

2002-11-21 Thread Eric Estabrooks

Martin Rusko wrote:


Hi folks,
after recompiling of kernel (need quota support), tinc daemon has
stopped working. Messages from log file are:
...
Nov 21 14:45:02 m61 tinc.sunnet[326]: tincd 1.0pre7 starting
Nov 21 14:45:02 m61 tinc.sunnet[326]: /dev/net/tun is a Linux ethertap 
device
Nov 21 14:45:02 m61 tinc.sunnet[326]: Process 327 (tinc-up) exited 
with non-zero status 255

Nov 21 14:45:02 m61 tinc.sunnet[326]: Ready
Nov 21 14:45:02 m61 tinc.sunnet[326]: Error while reading from Linux 
ethertap device /dev/net/tun: File descriptor in bad state

Nov 21 14:45:07 m61 last message repeated 13683 times



I had this exact same problem when working with vtun which uses the 
tun/tap kernel module.  The IOCTL numbers changed between kernel 
versions, I updated my /usr/include/linux files to match my kernel and 
recompiled vtun to get rid of the problem.  I believe in particular it 
was IOR or IOWR numbers that changed.  It was a while ago so I don't 
remember the specifics, but it did take me a while to track it down.


Eric




smime.p7s
Description: S/MIME Cryptographic Signature