mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Andre Tomt" <andre@tomt.net>
To: <linux-kernel@vger.kernel.org>
Cc: "Max Schattauer" <smax@smaximum.de>
Subject: Re: tun device: File descriptor in bad state(77)
Date: Sun, 12 Aug 2001 16:46:18 +0200	[thread overview]
Message-ID: <000f01c1233d$8bbb2700$8405000a@slurv> (raw)
In-Reply-To: <3B769CA4.11035.A9DFE2@localhost>

> 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


  reply	other threads:[~2001-08-12 14:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-12 13:11 Max Schattauer
2001-08-12 14:46 ` Andre Tomt [this message]
2001-08-12 16:12 ` J Sloan
2001-08-13 18:22 ` Maksim Krasnyanskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000f01c1233d$8bbb2700$8405000a@slurv' \
    --to=andre@tomt.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=smax@smaximum.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®