* tun device: File descriptor in bad state(77)
@ 2001-08-12 13:11 Max Schattauer
2001-08-12 14:46 ` Andre Tomt
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Max Schattauer @ 2001-08-12 13:11 UTC (permalink / raw)
To: linux-kernel
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
Also
root:~# cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
Tried to recompile both packages and created a new device but
without effect.
Best regards,
Max
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: tun device: File descriptor in bad state(77)
2001-08-12 13:11 tun device: File descriptor in bad state(77) Max Schattauer
@ 2001-08-12 14:46 ` Andre Tomt
2001-08-12 16:12 ` J Sloan
2001-08-13 18:22 ` Maksim Krasnyanskiy
2 siblings, 0 replies; 4+ messages in thread
From: Andre Tomt @ 2001-08-12 14:46 UTC (permalink / raw)
To: linux-kernel; +Cc: Max Schattauer
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tun device: File descriptor in bad state(77)
2001-08-12 13:11 tun device: File descriptor in bad state(77) Max Schattauer
2001-08-12 14:46 ` Andre Tomt
@ 2001-08-12 16:12 ` J Sloan
2001-08-13 18:22 ` Maksim Krasnyanskiy
2 siblings, 0 replies; 4+ messages in thread
From: J Sloan @ 2001-08-12 16:12 UTC (permalink / raw)
To: Max Schattauer; +Cc: linux-kernel
Some bits changed under vtun at 2.4.6 IIRC.
I patched vtun for my own use with patches from
Kevin Fleming, made rpms, and called it 2.4a.
It's been working fine here -
Perhaps someone else on the vtun team can
offer more recent information.
cu
jjs
Max Schattauer wrote:
> 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
>
> Also
>
> root:~# cat /dev/net/tun
> cat: /dev/net/tun: File descriptor in bad state
>
> Tried to recompile both packages and created a new device but
> without effect.
>
> Best regards,
>
> Max
> -
> 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tun device: File descriptor in bad state(77)
2001-08-12 13:11 tun device: File descriptor in bad state(77) Max Schattauer
2001-08-12 14:46 ` Andre Tomt
2001-08-12 16:12 ` J Sloan
@ 2001-08-13 18:22 ` Maksim Krasnyanskiy
2 siblings, 0 replies; 4+ messages in thread
From: Maksim Krasnyanskiy @ 2001-08-13 18:22 UTC (permalink / raw)
To: Max Schattauer, linux-kernel
>I graded up from kernel 2.4.5 to 2.4.8 and now have trouble with
>vtund 2.5b1 and tun 1.1.
Please read VTun mailing list archives.
Max
Maksim Krasnyanskiy
Senior Kernel Engineer
Qualcomm Incorporated
maxk@qualcomm.com
http://bluez.sf.net
http://vtun.sf.net
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-08-13 18:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-12 13:11 tun device: File descriptor in bad state(77) Max Schattauer
2001-08-12 14:46 ` Andre Tomt
2001-08-12 16:12 ` J Sloan
2001-08-13 18:22 ` Maksim Krasnyanskiy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.