From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Thu, 4 Apr 2013 08:49:34 +0000 From: c117152@rmqkr.net Message-ID: <59b80455-8c28-49a8-9cf9-19a5b7c79529@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <7d57bd30-6e43-4d54-8670-ef6c71fefae1@i5g2000vbk.googlegroups.com>, Subject: Re: [9fans] [9pi] standardize \ normalize setting dns in Topicbox-Message-UUID: 3d41b20c-ead8-11e9-9d60-3106f5b1d025 On Wednesday, April 3, 2013 1:51:25 PM UTC+3, Richard Miller wrote: > Go ahead. It's called termrc.'local' because it's your own local >=20 > configuration to play with as you like. There's no "standard". The >=20 > one on sources is an empty template, and the one on the raspberry pi >=20 > image is just an initial suggestion. Oh, I see. I'm just used to trying to separate code from data so much I tho= ught a default that keeps the users from editing scripts is the norm and wo= uld get "upstreamed". In practice my concern was that I'll replica\pull ove= r it by mistake... I suppose you can tell I'm a linux user :P On Wednesday, April 3, 2013 1:54:45 PM UTC+3, Bence F=E1bi=E1n wrote: > what does ndb/query sys $sysname say? >=20 > try to add ether and dom like this: >=20 >=20 > ip=3D10.0.0.13 sys=3D9pi ether=3Dxxxxx... dom=3D9pi.Home >=20 Ops. Good call. It returned the ip as the sysname. :) All better now. Here's some breadcrumbs for any brave adventurers lucky eno= ugh to google this discussion: term% cat /lib/ndb/local # # files comprising the database, use as many as you like, see ndb(6) # database=3D file=3D/lib/ndb/local file=3D/lib/ndb/common auth=3Dsources.cs.bell-labs.com authdom=3Doutside.plan9.bell-labs.com # # because the public demands the name localsource # ip=3D127.0.0.1 sys=3Dlocalhost dom=3Dlocalhost ipnet=3DHOME ip=3D10.0.0.0 ipmask=3D255.255.255.0 ipsubmask=3D255.255.255.0 ipgw=3D10.0.0.138 auth=3D9pi cpu=3D9pi fs=3D9pi dns=3D1.2.3.4 dns=3D8.8.8.8 dns=3D8.8.4.4 dns=3D10.0.0.138 dnsdomain=3DHOME ip=3D10.0.0.13 sys=3D9pi dom=3D9pi.HOME proto=3Dil auth=3D10.0.0.13 authdom=3D9pi.HOME term% ndb/query sys $sysname ip=3D10.0.0.13 sys=3D9pi dom=3D9pi.HOME proto=3Dil=20 Thanks !