From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 10 02:34:08 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88EDC16A4CE for ; Thu, 10 Mar 2005 02:34:08 +0000 (GMT) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66F4843D31 for ; Thu, 10 Mar 2005 02:34:08 +0000 (GMT) (envelope-from bsdzz@verizon.net) Received: from [10.0.0.25] ([68.236.212.14])0.04 <0ID400EBH74V7V90@vms044.mailsrvcs.net> for freebsd-emulation@freebsd.org; Wed, 09 Mar 2005 20:34:08 -0600 (CST) Date: Wed, 09 Mar 2005 21:34:30 -0500 From: bsdzz To: freebsd-emulation@freebsd.org Message-id: <422FB236.3000706@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (X11/20050226) Subject: QEMU needs /dev/tun0 ? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 02:34:08 -0000 (I just saw this list, after I posted this question in freebsd-questions, in case it looks familiar) Hi, I am trying to run Windows 2000 inside QEMU, and it works well (though a bit slow). In order to get my emulated machine on the Internet, I have to use "/dev/tun0". I read online that the default FreeBSD 5.x has "tun" turned on in the kernel, but I do not appear to have a "/dev/tun0" device. Does anybody know anything about this? I tried using the "-user-mode" networking, and it worked - I can ping 10.0.2.2, but I cannot talk to any computer except my FreeBSD host. So I think I need to figure out "tun". Most of the literature on the internet related to "tun" and "tun/tap" seems to be about linux, but I suspect FreeBSD is similar. I am really impressed with QEMU! thx