From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0U2K-00049L-46 for qemu-devel@nongnu.org; Thu, 26 Aug 2004 19:52:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0U2I-000499-Je for qemu-devel@nongnu.org; Thu, 26 Aug 2004 19:52:07 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0U2H-000496-Vu for qemu-devel@nongnu.org; Thu, 26 Aug 2004 19:52:06 -0400 Received: from [38.113.3.71] (helo=smtp-out.hotpop.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C0TxP-0008Mr-S4 for qemu-devel@nongnu.org; Thu, 26 Aug 2004 19:47:03 -0400 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.103]) by smtp-out.hotpop.com (Postfix) with SMTP id B5B6910A0C0D for ; Thu, 26 Aug 2004 23:46:52 +0000 (UTC) Received: from jbrown.mylinuxbox.org (pcp03144805pcs.midval01.tn.comcast.net [68.59.228.236]) by smtp-3.hotpop.com (Postfix) with ESMTP id 83AED10A0CA0 for ; Thu, 26 Aug 2004 23:46:50 +0000 (UTC) Date: Thu, 26 Aug 2004 19:44:32 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] tun interface Message-ID: <20040826234432.GA12212@jbrown.mylinuxbox.org> References: <200408270830.21704.andrej@paradise.net.nz> <200408261620.18757.menola@sbcglobal.net> <200408271137.23491.andrej@paradise.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408271137.23491.andrej@paradise.net.nz> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Fri, Aug 27, 2004 at 11:37:23AM +1200, Andrej wrote: > On Fri, 27 Aug 2004 09:20, Joe Menola wrote: > Hi Joe, > > Thanks for the response. > > You need kernel support for tun (modprobe tun). > > > You'll find it under "Networking support" using xconfig. Once > > the module is loaded /dev/net/tun will be created. > It is present, but qemu doesn't create anything under > /dev/net/tun even with tun pre-loaded. Do I need to > make the executable SUID or something? > > > > -jm > Andrej > > Keep in mind that the tun device is created in the ethernet namespace, not in the /dev tree. So, to see it, you'll need to use ifconfig. /dev/net/tun is accessable by root only, by default. You either need root perms or you have to change the permissions on /dev/net/tun to let qemu use it. > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.