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 19:35:30 +0300	[thread overview]
Message-ID: <6A6A1524-95C8-4F5E-B0BE-11A11BC83F91@cs.ioc.ee> (raw)
In-Reply-To: <AE480DAA-A8D4-4313-B856-BEA3AD81A3F6@cs.ioc.ee>

Hi,

I guess my question wasn't very well specified so I'm having another
go. I presume the problem I previously posted was because my network
configuration was broken so now I'm asking how to set it up properly.

The wiki page "Configuring a Standalone CPU Server" gives two simple
possibilites:
1. A simple example for a combined cpu/auth server, the 192.168.1.100
machine, could be:

ipnet=mynet ip=192.168.1.0 ipmask=255.255.255.0
	auth=bouncer
	cpu=cycles
	dns=lookup
	dnsdom=9fans.net

authdom=9fans.net auth=bouncer

ip=192.168.1.100 sys=bouncer dom=bouncer.9fans.net
ip=192.168.1.101 sys=cycles dom=cycles.9fans.net
ip=192.168.1.102 sys=lookup dom=lookup.9fans.net
2. If you're not setting up a whole network and just want drawterm
access to the combined cpu and auth server you're configuring, addding
the single line

authdom=some.domain auth=cycles
to /lib/ndb/local will suffice if you also add the line

sysname=cycles
I would like something in between. I would like the configuration in 1
but without specifying the ip addresses. I want more than just
drawterm; I would like some real plan 9 terminals. I want both the
server (combined cpu/auth/fossil) and the terminals to get ip
addresses from dhcp (from my wireless router). I tried option 2 and
also this:
ipnet=mynet ip=192.168.1.0 ipmask=255.255.255.0
	auth=cycles
	cpu=cycles
	dns=192.168.1.254
	dnsdom=lan

sys=cycles dom=cycles.home.net
sys=bouncer dom=bouncer.home.het

authdom=home.net auth=cycles
with sysname=cycles/bouncer in their respective plan9.inis
But I still get the same problem as before: I can drawterm (as
hostowner or other user) and boot bouncer using the root of cycles (as
hostowner or other user). However having booted the terminal in this
way I can only cpu to bouncer if I booted as bootes (the host owner)
otherwise I get the following error message:
> "cpu: can't authenticate: (server ip): auth_proxy rpc write: bootes:
> cs: can't translate address: dns: resource does not exist"


Firstly, is what I'm trying to do possible or do cpu/auth/file servers
have to have static ips?

Secondly, can anybody suggest what I'm doing wrong? Or can you tell me
where to look to try to fix it.

Or am I barking up the wrong tree completely?

James Chapman





  reply	other threads:[~2009-09-07 16:35 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 [this message]
2009-09-07 17:52   ` erik quanstrom
2009-09-07 19:46     ` James Chapman
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=6A6A1524-95C8-4F5E-B0BE-11A11BC83F91@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).