Server:QNAP
From RadonWiki
Install cifs Make folders to mount the shares to
sudo apt-get install cifs-utils
sudo mkdir /media/RadonNAS/homes
sudo mkdir /media/RadonNAS/Multimedia
Create a file /home/mcarter/.smbcredentials to store the credentials
username=msusername
password=mspassword
Add the mounts to file /etc/fstab so that these get mounted on restarts
//radonnas/homes /media/RadonNAS/homes cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials,iocharset=utf8,sec=ntlm,user 0 0
//radonnas/Multimedia /media/RadonNAS/Multimedia cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials,iocharset=utf8,sec=ntlm,user 0 0
The above started to produce an error, and so modified to the following to edit , use command "sudo gedit /etc/fstab" to re-mount use command "sudo mount -a"
//radonnas/homes /media/RadonNAS/homes cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials
//radonnas/Multimedia /media/RadonNAS/Multimedia cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials