File descriptor in bad state...again ;-(

Guus Sliepen guus at sliepen.eu.org
Thu Nov 7 10:01:45 CET 2002


On Wed, Nov 06, 2002 at 11:00:00PM +0100, Martin Rusko wrote:

> The problem:
> Sunclient:
> ~~~~~~~~~~
> tinc-1.0pre7 original binary package from Woody, machine is running on 
[...]
> Sunsite:
> ~~~~~~~~
> tinc-1.0pre8 self compiled with /usr/src/linux/include/linux/if_tun.h, 
> original distribution kernel (2.4.18).

First of all, make sure you run the same version of tinc on all
machines. 1.0pre8 is incompatible with older versions.

> Log snippet:
> tinc.sunnet[15288]: /dev/net/tun is a Linux ethertap device
>                                             ^^^^^^^^
>                                             ||||||||
> Why it logs, that tinc is using ethertap device?!?!?
> It should be also tun/tap, or not??

Yes. Please verify that tinc really compiled with the kernel headers and
that /dev/net/tun really is a tun/tap device (character device major 10 minor 200).
If it still doesn't work you could try doing this:

strace -s 128 -o /tmp/tinctrace tincd ... -d5 -D

And mail us /tmp/tinctrace.

-- 
Met vriendelijke groet / with kind regards,
    Guus Sliepen <guus at sliepen.eu.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20021107/10ce05e4/attachment.pgp


More information about the Tinc mailing list