From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <81132473206F3A46A72BD6116E1A06AE056154@black.aprote.com> From: "Tiit Lankots" To: <9fans@cse.psu.edu> Subject: [9fans] cs & sysname Date: Tue, 25 Nov 2003 14:37:27 +0200 Topicbox-Message-UUID: 92e9e9c4-eacc-11e9-9e20-41e7f4b1d025 After setting up venti, cs stopped recognising my sysname. It was because the loopback interface got up first on boot, and because cs looks first by ip address. Now, I had two alternative ways to deal with it: 1) Poke around in /sys/src/cmd/ndb/cs.c and edit it to look by the ethernet address when by ip it did not succeed.=20 I did it. 2) Write the ip I get from the dhcp server into /lib/ndb/local. I did it too. Now it works. Basically, 2) would've sufficed. OK, now for the question: Is 2) the "standard" way of dealing with this? What to do when the ip returned by dhcp is random? Tiit