9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] nfsserver problems
Date: Mon, 28 Apr 2003 11:16:16 -0400	[thread overview]
Message-ID: <bc6f8e4df70d9aa2f92981fb0e238eb6@plan9.bell-labs.com> (raw)
In-Reply-To: <7e4737ea4b.micken@privat.utfors.se>

By default, kfs does not allow connections from ``none''
unless someone else has already authenticated on the
connection.  Nfsserver connects as none (NFS has no
real authentication, so there's not much choice here)
on a fresh connection, hence the authentication fails.

You can run

	disk/kfscmd noneattach

to allow none to attach on fresh connections, but you'll
still only be none.  I use this to start an NFS server on my
local VMware network, so that my Linux VM can mount
files from Plan 9.

	#!/bin/rc

	rfork n
	slay nfsserver|rc
	slay portmapper|rc
	9fs boot
	rm -f /srv/nfs
	srvfs nfs /n/boot
	aux/portmapper
	aux/nfsserver -Cc /lib/ndb/nfs -f /srv/nfs

Russ



      reply	other threads:[~2003-04-28 15:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-28  9:11 Michael Grunditz
2003-04-28 12:06 ` Michael Grunditz
2003-04-28 15:16   ` Russ Cox [this message]

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=bc6f8e4df70d9aa2f92981fb0e238eb6@plan9.bell-labs.com \
    --to=rsc@plan9.bell-labs.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).