9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: new termrc
Date: Mon, 30 Apr 2007 11:09:29 -0400	[thread overview]
Message-ID: <20070430150927.D8ED31E8C1F@holo.morphisms.net> (raw)
In-Reply-To: <1177892013.171851.236980@u30g2000hsc.googlegroups.com>

> 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



  reply	other threads:[~2007-04-30 15:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 23:15 [9fans] " geoff
2007-04-30  8:29 ` [9fans] " Alex Brainman
2007-04-30 15:09   ` Russ Cox [this message]
2007-04-30 15:23     ` Lucio De Re
2007-04-30 15:32       ` erik quanstrom
2007-04-30 15:41         ` Lucio De Re
2007-04-30 15:42       ` Russ Cox
2007-04-30 19:49       ` Steve Simon
2007-04-30 20:00         ` Devon H. O'Dell
2007-05-01  9:39         ` matt
2007-05-02  8:36       ` Alex Brainman
2007-05-02  8:36       ` Alex Brainman
2007-05-02  8:36   ` Alex Brainman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070430150927.D8ED31E8C1F@holo.morphisms.net \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).