From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 9 16:39:30 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E734B16A41A for ; Thu, 9 Aug 2007 16:39:30 +0000 (UTC) (envelope-from SRS0=e46Z3w=NG=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout17.yourhostingaccount.com (mailout17.yourhostingaccount.com [65.254.253.141]) by mx1.freebsd.org (Postfix) with ESMTP id A584513C49D for ; Thu, 9 Aug 2007 16:39:30 +0000 (UTC) (envelope-from SRS0=e46Z3w=NG=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan12.yourhostingaccount.com ([10.1.15.12] helo=mailscan12.yourhostingaccount.com) by mailout17.yourhostingaccount.com with esmtp (Exim) id 1IJB2n-0007DU-Cw for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 12:39:29 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan12.yourhostingaccount.com with esmtp (Exim) id 1IJB2k-00088e-0e for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 12:39:26 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9]) by impout03.yourhostingaccount.com with NO UCE id ZsfF1X00A0BkWne0000000; Thu, 09 Aug 2007 12:39:15 -0400 X-EN-OrigOutIP: 10.1.18.9 X-EN-IMPSID: ZsfF1X00A0BkWne0000000 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp09.yourhostingaccount.com with esmtpa (Exim) id 1IJB2Z-0007GL-FD for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 12:39:15 -0400 Date: Thu, 9 Aug 2007 12:40:38 -0400 From: "Zane C.B." Cc: freebsd-emulation@freebsd.org Message-ID: <20070809124038.3756a407@vixen42> In-Reply-To: <20070809112123.08d3b09a@vixen42> References: <20070809112123.08d3b09a@vixen42> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Zane C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Subject: Re: odd qemu issue and networking X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 09 Aug 2007 16:39:31 -0000 On Thu, 9 Aug 2007 11:21:23 -0400 "Zane C.B." wrote: > qemu -hda trixbox.img -net nic -net tap,fd=/dev/tap0 > > Results on garbage being printed out when ever any network IO takes > place. > > nve0: flags=8943 > mtu 1500 inet 192.168.15.2 netmask 0xffffff00 broadcast 192.168.2.2 > inet 192.168.15.4 netmask 0xffffffff broadcast 192.168.15.4 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:30:18:a0:22:97 > media: Ethernet autoselect (100baseTX > ) status: active > tap0: flags=8943 > mtu 1500 ether 00:bd:38:5b:14:00 > bridge0: flags=8843 mtu 1500 > ether 7a:fb:12:be:28:87 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto stp maxaddr 100 timeout 1200 > root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 > member: tap0 flags=143 > member: nve0 flags=143 Slightly fixed... used ifname=tap0 instead... except it kept bitching about not being able to open the device and was trying to use tap4 for some unknown reason... Thus I did a little test. I ran it as root. To my surprise this worked, since the user I was running it under had write priveledges to tap0. I have a group named devTAPaccess and a devfs rule setup to allow for members of that group to write to any tap device. The user I was running it under is a member of this group. Is there something I am missing there?