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 startingNov 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 255Nov 21 14:45:02 m61 tinc.sunnet[326]: ReadyNov 21 14:45:02 m61 tinc.sunnet[326]: Error while reading from Linux ethertap device /dev/net/tun: File descriptor in bad stateNov 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
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature