From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patryk Laurent Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable MIME-version: 1.0 (1.0) Message-id: <6E5DB994-69A7-4395-8E7F-A2801DF92364@me.com> Date: Tue, 11 Feb 2014 07:33:43 -0800 References: In-reply-to: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Help with networking on Virtual Box Topicbox-Message-UUID: b8b8e720-ead8-11e9-9d60-3106f5b1d025 Hi Peter, I had the same DNS issue under VirtualBox. Here is my procedure after every r= eboot (I am new to plan9 so there may be a better way): 1. Run ip/ipconfig 2. cat /net/ipselftab to find your VM's internal ip (10.0.x.x?) 3. Set your IP in /lib/ndb/local ip =3D =E2=80=A6 4. Run ndb/dns -r I don't know enough about plan9 to know why this is necessary. I pieced thi= s procedure together using the docs and help from the IRC channel.=20 Plan9 is really cool though -- enjoy! Best, Patryk > On Feb 11, 2014, at 3:32, Peter Hull wrote: >=20 > Dear All, > I am just trying to set up Plan 9 so I can have a play with it. I'm > running it in VirtualBox 4.3.6 and I'm running into the DNS problem > that has been reported earlier [1] >=20 > ip/ipconfig seems to run fine but it assigns an address of 127.0.0.1 > and DNS doesn't work. >=20 > Unfortunately (as far as I can see) the previous reports didn't come > up with a solution or the reporter found a different way to run Plan > 9. >=20 > I used the -D option on ip/ipconfig and got this: > term% ip/ipconfig -D > ipconfig: parsebootp: new packet > ipconfig: parseoptions: type(53) len 1, bytes left 58 > ipconfig: parseoptions: serverid(54) len 4, bytes left 55 > ipconfig: parseoptions: lease(51) len 4, bytes left 49 > ipconfig: parseoptions: ipmask(1) len 4, bytes left 43 > ipconfig: parseoptions: ipgw(3) len 4, bytes left 37 > ipconfig: parseoptions: dns(6) len 4, bytes left 31 > ipconfig: got offer from 0.0.0.0 > ipconfig: lease=3D86400 > ipconfig: server=3D192.168.1.1 sname=3D > ipconfig: parsebootp: new packet > ipconfig: parseoptions: type(53) len 1, bytes left 58 > ipconfig: parseoptions: serverid(54) len 4, bytes left 55 > ipconfig: parseoptions: lease(51) len 4, bytes left 49 > ipconfig: parseoptions: ipmask(1) len 4, bytes left 43 > ipconfig: parseoptions: ipgw(3) len 4, bytes left 37 > ipconfig: parseoptions: dns(6) len 4, bytes left 31 > ipconfig: got ack from 0.0.0.0 > ipconfig: lease=3D86400 > ipconfig: ipaddr=3D192.168.1.25 ipmask=3D255.255.255.0 > ipconfig: ipgw=3D192.168.1.1 > ipconfig: dns=3D192.168.1.1 > ipconfig: server=3D192.168.1.1 sname=3D > term% cat /net/ndb > ip=3D127.0.0.1 ipmask=3D/104 ipgw=3D:: > sys=3Dgnot > sys=3Dgnot > dns=3D192.168.1.1 >=20 > Does anyone know how I might go about solving the problem? >=20 > Thanks, > Peter >=20 > [1]: http://9fans.net/archive/2013/08/31 >=20