Re: tun device: File descriptor in bad state(77)

Andre Tomt (andre@tomt.net)
Sun, 12 Aug 2001 16:46:18 +0200


> Hi there!
>
> I graded up from kernel 2.4.5 to 2.4.8 and now have trouble with
> vtund 2.5b1 and tun 1.1.
>
> vtund[532]: Session st_sm[217.230.44.100:1577] opened
> vtund[532]: Can't allocate tun device. File descriptor in bad state(77)
> vtund[532]: Session st_sm closed

Try using the included tun 1.4 thats in the kernel source. Vtund might need
a small patch to work, I'm not sure about your version. Look at this patch:
http://www.sannes.org/secnet/secnet-1.0d-linux-2.4.diff

It should apply on vtund 2.4 at least (secnetd is just a different "version"
of vtund with stronger encryption and some bugfixes). If it does not apply,
try readning it and see what it does (it's nothing big, two additions of
#includes.)

--
Regards,
André Tomt
andre@tomt.net

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/