public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Kirillov <nevis2us@infoline.su>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user][SOLVED] /dev/net/tun doesn't exist
Date: Wed, 06 Jul 2005 21:17:02 +0400	[thread overview]
Message-ID: <42CC120E.20105@infoline.su> (raw)
In-Reply-To: <1120426341.22439.5.camel@localhost>

There now seems to be certain time lag between tun module is loaded
and /dev/net/tun is created. So the script would die on the following lines:

modprobe tun
if [ ! -c /dev/net/tun ]; then
	echo "/dev/net/tun doesn't exist"
	exit
fi

Adding tun to /etc/modules.autoload.d/kernel-2.6 helps
but the question now is if it's normal behaviour or a bug
introduced with recent udev upgrade?

> Do you have "Universal TUN/TAP device driver support" (CONFIG_TUN)
> enabled in your kernel configuration? It should be a network device in
> your kernel configuration:
> 
> Device Drivers -->
>   Networking support -->
>     Network device support -->
>       <*> Universal TUN/TAP device driver support
> 
> You can also build it as a module, and it will be called "tun".
> Hope that helps!

-- 
gentoo-user@gentoo.org mailing list



       reply	other threads:[~2005-07-06 17:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <42C84C4E.9000302@infoline.su>
     [not found] ` <1120426341.22439.5.camel@localhost>
2005-07-06 17:17   ` Alexander Kirillov [this message]
2005-07-06 18:15     ` [gentoo-user][SOLVED] /dev/net/tun doesn't exist Alexander Kirillov

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=42CC120E.20105@infoline.su \
    --to=nevis2us@infoline.su \
    --cc=gentoo-user@lists.gentoo.org \
    /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