9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Tiit Lankots" <t.lankots@aprote.ee>
To: <9fans@cse.psu.edu>
Subject: RE: [9fans] ndb/cs pcauth pcf
Date: Mon,  1 Mar 2004 10:20:50 +0200	[thread overview]
Message-ID: <81132473206F3A46A72BD6116E1A06AE056161@black.aprote.com> (raw)

> sysname=`{ndb/query ether `{cat /net/ether0/addr} sys}

cs ought to do this automagically. I ran into this one last November
and there was some discussion on the list (look for "ndb & cs").

>Basically, what I found out was that
>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. 
>I did it.
>2) Write the ip I get from the dhcp server into /lib/ndb/local.
>I did it too.


             reply	other threads:[~2004-03-01  8:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01  8:20 Tiit Lankots [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-28 22:33 David Tolpin
2004-02-28 22:50 ` andrey mirtchovski
2004-02-28 22:59   ` David Tolpin
2004-03-01  3:40     ` ron minnich
2004-02-28 23:52 ` 9nut

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=81132473206F3A46A72BD6116E1A06AE056161@black.aprote.com \
    --to=t.lankots@aprote.ee \
    --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).