On Wednesday 30 October 2002 03:54 am, you wrote:
> Hello again,
<snip>
Hmm, lemme just walk thru some stuff on mine and maybe it will help point you
in the right direction:
Client computer:
3 main files to edit: /etc/exports, /etc/hosts.allow, /etc/hosts.deny
I'm using /home/darklord/tmp as my export here.
My /etc/exports file looks like this:
#
/home/darklord/tmp 192.168.0.2(rw)
/home/darklord/tmp 192.168.0.3(rw)
(if you make any changes to /etc/exports on a running system, don't forget to
update it with exportfs -ra)
My hosts.deny and hosts.allow are blank. The point here is just make sure
that you aren't blocking out your own computers.
If you wanted to restrict access to your comps, then /etc/hosts.allow should
look something like this (fill in your IPs', of course):
portmap: 192.168.0.1 , 192.168.0.2
and /etc/hosts.deny would be:
portmap:ALL
All of these (daemons) should be running, on client and server, I think:
rpc.portmap
rpc.mountd, rpc.nfsd
rpc.statd, rpc.lockd (if necessary), and rpc.rquotad
(I think nfs-utils does the above)
Make sure portmapper is doing its thing:
rpcinfo -p
should give you something like mine:
[root@darkforce darklord]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
391002 2 tcp 32769 sgi_fam
100011 1 udp 610 rquotad
100011 2 udp 610 rquotad
100011 1 tcp 613 rquotad
100011 2 tcp 613 rquotad
100005 1 udp 32770 mountd
100005 1 tcp 32770 mountd
100005 2 udp 32770 mountd
100005 2 tcp 32770 mountd
100005 3 udp 32770 mountd
100005 3 tcp 32770 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32771 nlockmgr
100021 3 udp 32771 nlockmgr
100021 4 udp 32771 nlockmgr
Client machine:
I created a directory called public on both my sons comps:
/home/zerocool/public
/home/jeremy/public
I put these lines into their /etc/fstab files (so they would automount)
darkforce:/home/darklord/tmp /home/zerocool/public nfs rw,hard,intr 0 0
darkforce:/home/darklord/tmp /home/jeremy/public nfs rw,hard,intr 0 0
If you change your /etc/fstab, then just do (as su) a "mount -a" to update.
I got all of this information (and much more!!!) from this site:
http://www.ibiblio.org/mdw/HOWTO/NFS-HOWTO/client.html
Hope this helps. :-)
--
/\
Dark< >Lord
\/
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com