From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0Rl3-0007BG-U5 for qemu-devel@nongnu.org; Thu, 26 Aug 2004 17:26:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0Rl2-0007AV-7g for qemu-devel@nongnu.org; Thu, 26 Aug 2004 17:26:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0Rl1-0007AS-N8 for qemu-devel@nongnu.org; Thu, 26 Aug 2004 17:26:08 -0400 Received: from [66.163.168.181] (helo=smtp802.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1C0RfR-0003Y3-75 for qemu-devel@nongnu.org; Thu, 26 Aug 2004 17:20:21 -0400 From: Joe Menola Subject: Re: [Qemu-devel] tun interface Date: Thu, 26 Aug 2004 16:20:18 -0500 References: <200408270830.21704.andrej@paradise.net.nz> In-Reply-To: <200408270830.21704.andrej@paradise.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408261620.18757.menola@sbcglobal.net> 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 Thu August 26 2004 3:30 pm, Andrej wrote: > Hi Guys, > > Just a brief question (not covered too well in the documentation > I'm afraid). The documentation says that qemu will create a > device in /dev/net/tun - but on my machine it doesn't - what > do I need to do to be able to access the network from a > qemu virtual machine? I'm familiar with the concept of NATing > and know how to set-up iptables to achieve that. > 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. -jm