From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ar.aichi-u.ac.jp ([202.250.160.40]) by ur; Mon Dec 28 22:56:37 EST 2015 Received: from [192.168.0.249] ([123.1.4.170]) by ar; Tue Dec 29 12:56:24 JST 2015 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: [9front] non-9front dhcp server -> /lib/ndb/local ignored? From: arisawa In-Reply-To: Date: Tue, 29 Dec 2015 12:56:24 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <4E0E0337-45A1-49BD-A423-2939A71833D4@ar.aichi-u.ac.jp> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: patented structured HTML app deep-learning-oriented generator References: To: 9front@9front.org X-Mailer: Apple Mail (2.2104) hello > 2015/12/29 10:09=E3=80=81sl@stanleylieber.com =E3=81=AE=E3=83=A1=E3=83=BC= =E3=83=AB=EF=BC=9A >=20 > Doesn't your virtualbox terminal always see itself as being on its own > local network? Correct me if I'm wrong, but if I understand you = correctly, > your host OS gets its IP from the "mobile router wifi with mobile ISP = based > DHCP and DNS," while your virtualbox terminal gets its IP from = virtualbox > itself. Is your virtualbox terminal getting its IP from virtualbox via > DHCP, or is it configured in ndb with a static IP address? I should have written more information on this subject. virtualbox works fine with plan9 except that doesn=E2=80=99t support = ipv6. we can share files using u9fs, and also we can cut&paste between host = and guest (not perfect though). virtualbox serves nat and bridge networks for the guest os. net is much better for plan9 terminal on macbook because the plan9 = terminal can look host (macbook) using fixed ip address, which makes = automatic connection possible from guest to host. there is a problem with current /rc/bin/termrc. that does not work well for the terminals with dynamically assigned IP = by dhcp server. therefore I have /rc/bin/termrc.local with content: if(! ~ $#kbmap 0) cp /sys/lib/kbmap/$kbmap /dev/kbmap ether=3D() if(test -e /net/ether0/addr) ether=3D`{cat /net/ether0/addr} sysname=3D`{ndb/query ether $ether sys} if(~ $#sysname 0 || ~ $sysname ''){ ip/ipconfig sysname=3Dcirno echo -n $sysname >/dev/sysname } probably we may have better solution. I think some codes in the above /rc/bin/termrc.local should be moved = into /rc/bin/termrc so that plan9 terminals under non-plan9 environment can have it=E2=80=99s ip = address without manual intervention . >>=20 >> ns=3Dhebe.loca >=20 > Is this a typo? yes.