Configuration NFS windows and RPI

por | 15 septiembre, 2013

http://ubuntuforums.org/showthread.php?t=1686544

En la parte de windows 7:

  • Start Registry Editor
  • Locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS \CurrentVersion\Default
  • Create two DWORD values namely AnonymousUid and AnonymousGid
  • Set these values to the UID and GID you would like this NFS client to use
  • Restart your Client for NFS service using the Microsoft Services for NFS MMC snap-in

En la parte del rpi

cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).

# Example for NFSv2 and NFSv3:
/rpishare    192.168.1.0/255.255.255.0(rw,insecure,sync,no_subtree_check,all_squash,anonuid=1001,anongid=1002)

Nota: el anonuid=1001,anongid=1002 es para que force al usuario por defecto