From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GACu5-00037f-O4 for qemu-devel@nongnu.org; Mon, 07 Aug 2006 17:44:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GACu5-00036h-4x for qemu-devel@nongnu.org; Mon, 07 Aug 2006 17:44:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GACu4-00036T-SQ for qemu-devel@nongnu.org; Mon, 07 Aug 2006 17:44:52 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GACyO-00050M-JV for qemu-devel@nongnu.org; Mon, 07 Aug 2006 17:49:20 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GACtv-0008Bk-Fc for qemu-devel@nongnu.org; Mon, 07 Aug 2006 23:44:43 +0200 Received: from jezabek.net.autocom.pl ([213.134.178.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Aug 2006 23:44:43 +0200 Received: from jezabek by jezabek.net.autocom.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Aug 2006 23:44:43 +0200 From: Jan Jezabek Date: Mon, 07 Aug 2006 23:44:16 +0200 Message-ID: References: <20060807203330.4080.qmail@web38108.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <20060807203330.4080.qmail@web38108.mail.mud.yahoo.com> Sender: news Subject: [Qemu-devel] Re: Running Qemu ARM using NFS on Windows 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 Tieu Ma Dau wrote: > Hi all, > I ran successfully Qemu to simulate ARM system on Linux host with the > following command: > ./qemu-system-arm -kernel zImage.integratorCP -append "root=/dev/nfs > nfsroot=192.168.7.1:/mnt/nfsqemu rw > ip=192.168.7.2::192.168.7.1:255.255.255.0 " -net nic,vlan=0 -net > tap,vlan=0,ifname=tap0,script=./qemu-ifup > The content of qemu-ifup script is: > ifconfig tap0 192.168.7.1 > > But my project demands me to run this ARM system on Windows host. So I > modify a bit the qemu-ifup script as: > ipconfig tap0 192.168.7.1 # "ipconfig" , not "ifconfig" > And the corresponding command on Windows is: > qemu-system-arm -kernel zImage.integrator -append "root=/dev/nfs > nfsroot=192. > 168.7.1:/c/cygwin/openpsion rw > ip=192.168.7.2::192.168.7.1:255.255.255.0" -net > nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup > > But the error I got is: > tap: Could not open 'tap0' > Could not initialize device 'tap > > Do you have any ideas? > Best regards, > Tieu > Hi, ipconfig has a different syntax than ifconfig. You'll need to get a TAP driver for windows. You can get it from: http://openvpn.net/download.html I'm using 2.0.5, so 2.0.7 (current version) will probably work too. You don't need the complete OpenVPN package - during installation you probably should uncheck every component except TAP/Win32. After installation you may need to run c:\Program Files\OpenVPN\bin\addtap.bat (if you installed openvpn in the default location). This will create a new device, called Local Area Connection 5 or so. You should rename it for convenience to tap0. Then just run QEMU without the script param, e.g. -net tap,vlan=0,ifname=tap0 . Of course before the connection will be usable you'll need to set up IP addresses or DHCP or ICS for the tap device and in the guest OS. Hope this helps, Jan Jezabek