Author Topic: (SOLVED) network sharing with NFS, please help  (Read 1993 times)

Offline hankcurt

  • Sr. Member
  • ****
  • Posts: 446
Re: (SOLVED) network sharing with NFS, please help
« Reply #30 on: September 25, 2010, 10:18:46 AM »
NFS uses the following daemons (background process) to handle the work of making and maintaining connections:

Quote
portmap
nfsd
statd
mountd
lockd
rquotad

portmap is always on port 111
nfsd is always on port 2049 (both TCP and UDP protocols)

The other ones get assigned port by portmapper unless a config file is set to make them use a static port.  I won't be at my PCLinuxOS computer for another 6 hours, so it is hard for me to verify where that configuration is.  On similar distributions (according to the internet), it is at /etc/sysconfig/nfs or /etc/sysconfig/nfs-common, but I can't give you real good directions right now.  Ideally, these would all be on static ports and then you would allow these ports through your firewall.

For now, you could make sure portmapper is allowed and try again.  Or perhaps someone with better information will come along.

It looks like we need to write an updated how-to for NFS :)


Bullitt

  • Guest
Re: (SOLVED) network sharing with NFS, please help
« Reply #31 on: September 25, 2010, 12:03:27 PM »
NFS uses the following daemons (background process) to handle the work of making and maintaining connections:

Quote
portmap
nfsd
statd
mountd
lockd
rquotad

portmap is always on port 111
nfsd is always on port 2049 (both TCP and UDP protocols)


The other ones get assigned port by portmapper unless a config file is set to make them use a static port.  I won't be at my PCLinuxOS computer for another 6 hours, so it is hard for me to verify where that configuration is.  On similar distributions (according to the internet), it is at /etc/sysconfig/nfs or /etc/sysconfig/nfs-common, but I can't give you real good directions right now.  Ideally, these would all be on static ports and then you would allow these ports through your firewall.

For now, you could make sure portmapper is allowed and try again.  Or perhaps someone with better information will come along.

It looks like we need to write an updated how-to for NFS :)



You pointed me in the right direction.  I just needed to add the SSH server to the ports I had open in the firewall on each computer.  My firewall settings now include: SSH server, NFS server, CUPS server, Network services auto discovery, and on my laptop Samba server (I share files with my sons Window 7 system).  I do not have the Samba sever set on my desktop machine.


Thanks again for your help.  Now this topic is really solved.
« Last Edit: September 25, 2010, 12:16:43 PM by Bullitt »

Bullitt

  • Guest
Re: (SOLVED) network sharing with NFS, please help
« Reply #32 on: September 25, 2010, 12:21:18 PM »
Yes, a step by step How-To for NFS file sharing would be very helpful, one that include what to check and needed tweaks to each computer wanting to share files.  For example, I was not aware I would be prompted for the user name and password of the computer I was trying to access.

Thanks again, it is truly exhilarating when it all comes together.

Bullitt