Subject: Re: NFS Setup
To: Brian Heath <brian_heath@mac.com>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: port-mac68k
Date: 11/20/2001 23:48:45
--xFAlB6MquX7/xpZD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 20, 2001 at 11:35:19PM -0500, Brian Heath wrote:
> 1) Add some lines to the /etc/exports file.

You might want to look at using /etc/netgroup. (It'll make
/etc/exports look a little cleaner.)

> 2) Run rpcbind
> 3) Run mountd
> 4) Run nfsd -tun 4

Sure, but setting nfs_server=3DYES in /etc/rc.conf will make your life
easier in the long run. And you can just do /etc/rc.d/{rpcbind,nfsd,mountd}
start, provided you've made that setting in /etc/rc.conf already.
(If you haven't changed the setting, the rc scripts will refuse to
start the daemons.)

> Am I missing something, am I doing things out of order? Are there other=
=20
> files I need to setup? Or is there something that needs to be in my=20
> rc.conf file? I saw something in all the searching I've been doing about=
=20
> running portmap. But I don't have any portmap on my machine. Is that a=20
> problem?

You read an out of date reference. We don't do portmap any more.
(Don't recall exactly when that went away.) mountd takes care of
the RPC business business these days. (Erm, somebody correct me if
I'm blatantly wrong here...)

> P.S. I'm running NetBSD 1.5.2 with the Generic kernel and trying to=20
> connect to it from a Mac OS X machine.

Should work fine, I've spun out /mp3 on my 1.5.2 macppc machine to
a friend's Mac OS X machine similarly.

What you have to do on the Mac OS X end is a separate issue. Use the
(NeXTStep-derived, so if it really raises your hackles email me and
I'll play with the one on my turbocube, which I've been meaning to
do anyhow) NFS Manager to set that up.

> Man I hate being clueless!

You're doing fine so far. :^>

--=20
       ~ g r @ eclipsed.net

--xFAlB6MquX7/xpZD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjv7Mi0ACgkQ9ehacAz5CRo/HwCfcLGrFtUGA/yorxn9c3KIY3gm
5l0An0I9i3k/HLE+7oRKu/GFrr9FrXKI
=UKaI
-----END PGP SIGNATURE-----

--xFAlB6MquX7/xpZD--