From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45E5D946.7080902@arcepi.net> Date: Wed, 28 Feb 2007 20:34:30 +0100 From: Armando Camarero User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Re: booting a terminal in qemu References: <7d3530220702271130w3b4dac5fld4a48f8cc5626093@mail.gmail.com> <7d3530220702271440l1315137fm8522ff3a00d2f853@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 16f11e4a-ead2-11e9-9d60-3106f5b1d025 Russ Cox escribi=F3: > This should work as far as Plan 9 is concerned. > It's qemu that is troublesome. One possible approach > to debugging is to boot the live (install) CD and then > run ip/ipconfig -g 10.0.2.2 ether /net/ether0 10.0.2.15 255.255.255.0 > and see if that's enough to get a working network (i.e., > can you ping or telnet to port 567 or 9fs the remote machine). > > I have this script as my /etc/qemu-ifup, though I can't > remember exactly why it is needed: > > #!/bin/sh > sudo -p "Password for $0:" /sbin/ifconfig $1 172.20.0.1 > > Russ I'm trying to manually configure the NIC in a normal Plan 9 install on QEMU. If I run ip/ipconfig (so it gets configured using DHCP) /net/ndb looks: ip=3D10.0.2.15 ipmask=3D255.255.255.0 ipgw=3D10.0.2.2 dns=3D10.0.2.3 and network works fine. But if I run ip/ipconfig -g 10.0.2.2 ether /net/ether0 10.0.2.15 255.255.255.0 it looks: ip=3D10.0.2.15 ipmask=3D/120 ipgw=3D10.0.2.2 and I can't use network. Is "ipmask=3D/120" correct? Is this what makes Plan 9 not boot using network in QEMU? Armando.