9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: James Chapman <james@cs.ioc.ee>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] problem logging into a combined auth/cpu/fileserver
Date: Mon,  7 Sep 2009 22:46:14 +0300	[thread overview]
Message-ID: <AC2A155F-8DC8-4290-AC87-168CCF5B72CF@cs.ioc.ee> (raw)
In-Reply-To: <14efc521ec54434e976b6c7ae5e0ae1b@quanstro.net>

Hi Erik,

Thanks for the reply. I added the authdom and this is what I have now
in /lib/ndb/local:

[snip]

ipnet=mynet ip=192.168.1.0 ipmask=255.255.255.0
	auth=carp
	cpu=carp
	authdom=home.net
	dns=192.168.1.254
	dnsdom=lan

authdom=home.net auth=carp

ip=192.168.1.68 sys=carp dom=carp.lan
#sys=carpet dom=carpet.lan

If I remove the ip address for carp I get the same error as before.

With these settings the terminal (carpet) knows carp's address (which
it didn't before):

term% ndb/csquery
 > net!carp!9fs
/net/tcp/clone 192.168.1.68!564

and I can cpu to carp by:

term% cpu -h carp

or

term% cpu -h 192.168.1.68

If I remove carp's ip from /lib/ndb/local I get the weird error when I
try to

term% cpu -h 192.168.1.68

But I can still do this:

term% cpu -h 192.168.1.68 -u bootes

This works for now, but as carp's ip is from dhcp it might change. I'd
like this to be more robust so that I can use it on other networks
which serve dhcp without changing anything. A bit of zeroconf/
rendezvous would be nice but I'm happy to look up the address on the
cpu server console and then type it in manually on the terminal.

> are you running auth/factotum (factotum(4))?

I think so. ps | grep factotum returns two entries and /mnt/factotum
is populated.

James



  reply	other threads:[~2009-09-07 19:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-06 17:24 James Chapman
2009-09-07 16:35 ` James Chapman
2009-09-07 17:52   ` erik quanstrom
2009-09-07 19:46     ` James Chapman [this message]
2009-09-07 22:13       ` erik quanstrom
2009-09-07 22:34         ` James Chapman
2009-09-07 22:42           ` erik quanstrom

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=AC2A155F-8DC8-4290-AC87-168CCF5B72CF@cs.ioc.ee \
    --to=james@cs.ioc.ee \
    --cc=9fans@9fans.net \
    /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).