9front - general discussion about 9front
 help / color / mirror / Atom feed
From: arisawa <arisawa@ar.aichi-u.ac.jp>
To: 9front@9front.org
Subject: Re: [9front] non-9front dhcp server -> /lib/ndb/local ignored?
Date: Tue, 29 Dec 2015 09:20:35 +0900	[thread overview]
Message-ID: <E3326881-600C-4824-BE83-2AEF3232CD97@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <3054d91ebbb74cc775f990e0a4a93ac6@cb.inri.net>

hello,

sorry if I misunderstand what you said.

I have cpu server and auth server which I want to use from both home and internet.
those names are:
(1) hebe (or hebe.local) in home and hebe.nyx.link from internet
(2) grid (or grid.local) in home and grid.nyx.link form internet

I have plan9 terminal on virtualbox on macbook.
that is, I use the terminal in two types of environment.
(a) local wifi in my home with plan9 based DHCP and DNS.
(b) mobile router wifi with mobile ISP based DHCP and DNS.

of course we need fqdn in accessing from internet.
however /lib/ndb/local is not ignored.

the relevant parts of /lib/ndb/local of the terminals and servers are like this:

dom=nyx.link
	auth=hebe.nyx.link

dom=local soa=
	refresh=3600 ttl=3600
	ns=hebe.loca
	auth=hebe

ipnet=local ip=192.168.0.0 ipmask=255.255.255.0
	ipgw=192.168.0.1
	proto=tcp
	ntp=ntp.jst.mfeed.ad.jp
	auth=hebe
	fs=hebe
	dns=hebe
	dnsdomain=local

[snip]

sys=hebe
	dom=hebe.local
	ether=6805ca0a0bf2
	ip=192.168.0.6
	ip=2402:6b00:22cd:bf80::6

sys=grid
	dom=grid.local
	ether=74d435876245
	ip=192.168.0.9
	ip=2402:6b00:22cd:bf80::9
	bootf=/amd64/9bootpxe		# 9front

[snip]


> 2015/12/29 5:34、sl@stanleylieber.com のメール:
> 
> At my job we have a free wifi access point that I connect
> to from 9front like this:
> 
> 	; ip/ipconfig	# NOTE: DHCP server is not Plan 9.
> 
> This gets me on the Internet. Everything works.
> 
> Except, values configured in /lib/ndb/local all seem to
> be ignored. No sys= or auth= entries are recognized. In
> order to successfully cpu/import remote Plan 9 machines,
> I have to manually add auth= authdom= entries for the
> corresponding auth servers in /net/ndb, and then refer
> to them by the FQDNs.
> 
> At home, I use an identical /lib/ndb/local. All home
> machines either PXE or TCP boot from the same file
> server where the ndb file is stored. All of these
> machines can successfully refer to local sys= entries,
> even those that are in separate ipnets.
> 
> From all of this, it seems like Plan 9 machines that get
> DHCP from a non-Plan 9 machine ignore /lib/ndb/local.
> 
> What's going on?
> 
> sl



  reply	other threads:[~2015-12-29  0:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-28 20:34 sl
2015-12-29  0:20 ` arisawa [this message]
2015-12-29  1:09 [9front] " sl
2015-12-29  2:31 ` Steve Simon
2015-12-29  3:56 ` arisawa
2015-12-29  5:04 ` cinap_lenrek
2015-12-29  2:55 sl
2015-12-29 19:14 sl
2016-01-04 17:47 ` Ethan Grammatikidis

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=E3326881-600C-4824-BE83-2AEF3232CD97@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --cc=9front@9front.org \
    /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).