Monday, March 30, 2015

Mount Synology Nas share folder Ubuntu 14.04

#A short memo on how to mount a Synology NAS share folder to Ubuntu 14.04
#Used new Sinology 3635xs Nas

#First install cifs-utils
sudo apt-get install cifs-utils

#Make a file containing user name and password for log into the NAS
nano ~/.3635xsCredentials
#add following information

#change the permission and only allows the owner to read and write
chmod 600 ~/.3635xsCredentials

#create a mounting point
sudo mkdir /mnt/FastAccess

#Add the information to fstab file 
sudo nano /etc/fstab

#add following line
// /mnt/FastAccess cifs credentials=/home/me/.3635xsCredentials,iocharset=utf8,sec=ntlm 0 0

#Check whether error occurs 
sudo mount -a

#you should be able to get into the NAS
cd /mnt/FastAccess 
ls -al