Adding Synology Storage in Ubuntu
1 minute read
- Update system and install dependencies
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y smbclient cifs-utils
- Create Synology credentials file
nano /etc/.synology
With:
username=Synology_USERNAME
password=Synology_PASSWORD
- Mount Storage Automaticly on boot
sudo nano /etc/fstab
And add at the end of the file:
//Synology_IP/storage_name /mnt/synology cifs credentials=/etc/.synology,vers=3.0,uid=1000,gid=1000 0 0
Save and run (or reboot)
sudo mount -a
//Synology_IP/storage_name | your Synology IP |
/storage_name | your Synology Storage Name |
/mnt/synology | where you want it to mount |
/mnt/synology | where you want it to mount |
uid=1000 | userID check with ID |
gid=1000 | groupID check with ID |
I feedback.
Let me know what you think of this article on twitter @Sthope_dev or leave a comment below!
Let me know what you think of this article on twitter @Sthope_dev or leave a comment below!
comments powered by Disqus