TINC (vpn daemon) has stopped working after compiling kernel

Eric Estabrooks eric at urbanrage.com
Fri Nov 22 01:32:36 CET 2002


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20021121/2b47f38f/smime.bin


More information about the Tinc mailing list