From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: new termrc From: "Russ Cox" Date: Mon, 30 Apr 2007 11:09:29 -0400 In-Reply-To: <1177892013.171851.236980@u30g2000hsc.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20070430150927.D8ED31E8C1F@holo.morphisms.net> Topicbox-Message-UUID: 534b40b4-ead2-11e9-9d60-3106f5b1d025 > I need an advice. I have a standalone plan9 computer, and if I use > the /rc/bin/termrc, then my $sysname is blank. It's, obviously, > because I use DHCP to set my ip address and other parameters, and I > use those settings as part of my network database. But at the time > when /rc/bin/termrc sets $sysname, network is not started yet and all > those parameters aren't available yet. ndb/cs sets $sysname when it starts up by looking for an entry in the ndb with the right ethernet address (cat /net/ether0/addr). if you add ether=010203040506 (with your ethernet address) to the entry for your system then $sysname should get set. russ