From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <201403101441.s2AEfCe1009674@freefriends.org> References: <201403101441.s2AEfCe1009674@freefriends.org> Date: Mon, 10 Mar 2014 14:55:53 +0000 Message-ID: From: Peter Hull To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] first questions from a lurker Topicbox-Message-UUID: c73764a2-ead8-11e9-9d60-3106f5b1d025 On Mon, Mar 10, 2014 at 2:41 PM, wrote: > First questions. I'm new too but I'll have a go, then someone will correct me! > > 0. How to see my IP address? Cat a file in /net/... somewhere? cat /net/ndb > > 1. How to change the hostname - just edit /rc/bin/termrc and choose > whatever I want to echo into /dev/sysname? Will that get reflected > back out to the corporate net via DHCP? I'd edit plan9.ini - you'll need to mount the 9fat partition (either 9fat or 9fs 9fat(?)) then edit /n/9fs/plan9.ini > > 2. How to use DHCP to get to the corporate DNS servers? (This worked > pretty much OOTB on the labs dist, but I think that 9atom will be > the better match for the work we want to do.) Right now all > hostname lookups (via ping) fail. If you edit /rc/bin/termrc and uncomment the lines about ip/ipconfig then reboot it should come up networked, then try ndb/dnsquery to test your connectivity Bonus answer: to shutdown I'd do fshalt wait a bit, then close the VM Pete