Nfs – fstab entry to mount NFS with password

fstabmountnfs

i need mount at boot a disk using NFS, to mount manually from console i type:

mount //192.168.0.1/NASShare -o username=administrator,password=pass /mnt/NAS

To /etc/fstab i added this line:

192.168.0.1:/NASShare  /mnt/NAS  nfs user=administrator,password=pass  0 0

But at reboot the disk is not mounted, where is the error?

Best Answer

I found the error, i need insert username instead of user

192.168.0.1:/NASShare  /mnt/NAS  nfs username=administrator,password=pass  0 0