From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DqDbu-00035P-Jd for garchives@archives.gentoo.org; Wed, 06 Jul 2005 17:22:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j66HLE5j011470; Wed, 6 Jul 2005 17:21:14 GMT Received: from infoline.su (mail.infoline.su [83.217.192.4]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j66HGjZk003731 for ; Wed, 6 Jul 2005 17:16:46 GMT Received: from baikal.iproducts.test ([83.217.210.142]) by infoline.su (infoline.su [83.217.192.4]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 34-md50000000029.tmp for ; Wed, 06 Jul 2005 21:15:46 +0400 Received: from [10.10.0.1] (baikal.iproducts.test [10.10.0.1]) by baikal.iproducts.test (8.13.3/8.12.11) with ESMTP id j66HH3I7010873 for ; Wed, 6 Jul 2005 21:17:03 +0400 Message-ID: <42CC120E.20105@infoline.su> Date: Wed, 06 Jul 2005 21:17:02 +0400 From: Alexander Kirillov User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050509) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user][SOLVED] /dev/net/tun doesn't exist References: <42C84C4E.9000302@infoline.su> <1120426341.22439.5.camel@localhost> In-Reply-To: <1120426341.22439.5.camel@localhost> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Spam-Processed: infoline.su, Wed, 06 Jul 2005 21:15:46 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 83.217.210.142 X-Return-Path: nevis2us@infoline.su X-MDaemon-Deliver-To: gentoo-user@lists.gentoo.org X-Archives-Salt: 8fb3bec1-1d1f-40e6-adf3-093f235aeb4e X-Archives-Hash: c2c1ad9bc598c5530f2c4b1db1e93999 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