From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0UH8-0002fV-0D for qemu-devel@nongnu.org; Thu, 26 Aug 2004 20:07:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0UH6-0002fB-GG for qemu-devel@nongnu.org; Thu, 26 Aug 2004 20:07:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0UH6-0002f8-De for qemu-devel@nongnu.org; Thu, 26 Aug 2004 20:07:24 -0400 Received: from [66.163.168.187] (helo=smtp808.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1C0UCO-0002AN-Sg for qemu-devel@nongnu.org; Thu, 26 Aug 2004 20:02:33 -0400 From: Joe Menola Subject: Re: [Qemu-devel] tun interface Date: Thu, 26 Aug 2004 19:02:27 -0500 References: <200408270830.21704.andrej@paradise.net.nz> <200408261620.18757.menola@sbcglobal.net> <200408271137.23491.andrej@paradise.net.nz> In-Reply-To: <200408271137.23491.andrej@paradise.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200408261902.28000.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 6:37 pm, Andrej wrote: > 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? By default qemu looks for /etc/qemu-ifup. This can be over ridden using -n . In either case this script needs to run as root. I use sudo for this. My /etc/qemu-ifup #!/bin/sh sudo /sbin/ifconfig $1 script also needs to be executable. This is only my understanding of the tun concept, and it works. :) -jm