From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GjkMs-0005Bu-M1 for qemu-devel@nongnu.org; Mon, 13 Nov 2006 17:33:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GjkMr-0005AZ-3v for qemu-devel@nongnu.org; Mon, 13 Nov 2006 17:33:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjkMq-0005AR-VL for qemu-devel@nongnu.org; Mon, 13 Nov 2006 17:33:28 -0500 Received: from [24.93.47.43] (helo=ms-smtp-04.texas.rr.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GjkMq-0002tB-TX for qemu-devel@nongnu.org; Mon, 13 Nov 2006 17:33:29 -0500 Received: from vaio (cpe-66-68-31-100.austin.res.rr.com [66.68.31.100]) by ms-smtp-04.texas.rr.com (8.13.6/8.13.6) with ESMTP id kADMXLCN028623 for ; Mon, 13 Nov 2006 16:33:21 -0600 (CST) Subject: Re: [Qemu-devel] qemu 0.8.2 and RTEMS From: Lonnie Mendez In-Reply-To: References: <4558E8E8.4090408@oarcorp.com> Content-Type: text/plain Date: Mon, 13 Nov 2006 16:33:14 -0600 Message-Id: <1163457194.4427.13.camel@vaio> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Mon, 2006-11-13 at 14:06 -0800, Jonathan Kalbfeld wrote: > qemu -isa -nics 1 -n ~joel/qemu-work/qemu/qemu-kit/tunconfig.sh \ > -macaddr 00:80:7F:22:61:77 -m 4 -serial stdio -fda > /home/joel/qemu/grub144 > > I have this much of a command line which doesn't cause qemu to > complain but it doesn't work either: > > qemu -net nic,macaddr=00:80:7F:22:61:77,model=ne2k_isa \ > -m 4 -fda /home/joel/qemu/grub144 You need to specify a connection method for the nic. qemu has vlans now that organize the internal network. The default qemu uses with no -net arguments is -net nic,vlan=0 -net user,vlan=0. This groups a nic and a connection method (slirp) on vlan 0. If you want to use tun/tap networking specify -net tap instead (along with -net nic,...). Your old line might look like the below: qemu -M isapc -net nic,macaddr=00:80:7F:22:61:77 -net tap,script=~joel/qemu-work/qemu/qemu-kit/tunconfig.sh -m 4 -serial stdio -fda /home/joel/qemu/grub144 Although I'm not sure what the old script format looks like - there are example qemu-ifup scripts about the net. > The qemu faq mentions using a tunctl program which I don't see. Please link that page here so it can be reviewed for correctness.