I have all hardware virtualized in ESXi 6.5...
Synology DSM 5.2-5644
Ubuntu 16.04
On your fresh install on Ubuntu 16.04:
- Click the Connections icon on the top bar
- Goto
Edit Connections
- Find your connection and click
Edit
- Goto
IPv4 Settings
and change it fromDHCP
toManual
- Click the
Add
button and add a free static IP address - Then click
Save
and reboot
- Goto
Control Panel
- Click
Shared Folder
and find your share you want to mount - Click
Edit
- Goto
NFS Permissions
- Click create and add your static IP from the Ubuntu box and the desired permissions
Make sure to note the Mount path
from the bottom of the window
- Open Terminal and type
sudo apt-get install nfs-common -y
- Then make the dir you want to mount to with
sudo mkdir /mnt/media
-- replace/mnt/media
with whatever you want - Then type
sudo gedit /etc/fstab
- On the bottom of the page add this line, replacing the require parts with what yours is
# automount from synology box
192.168.1.120:/volume2/Media /mnt/media nfs nouser,rsize=8192,wsize=8192,atime,auto,rw,dev,exec,suid 0 0
Where 192.168.1.120
is the static IP of the Synology box
and /volume2/Media
is your mount path you noted earlier
and /mnt/media
is the folder you created in step 2
- Save and then type
sudo mount -a
in the terminal or reboot.
Navigate to the folder you created in Step 2 and your files should be there.
Thanks for the info, created a new repository giving you credit
https://github.com/Kidney-Science/synology_nas_ubuntu_mount