0 Members and 1 Guest are viewing this topic.
gedit /home/graeme/.smbcredentials
sudo chown root:root /home/graeme/.smbcredentials
sudo chmod 600 /home/graeme/.smbcredentials
graeme@Linux1 ~ $ sudo chown root:root /home/graeme/.smbcredentials[sudo] password for graeme: graeme@Linux1 ~ $ sudo chmod 600 /home/graeme/.smbcredentialsgraeme@Linux1 ~ $
sudo gedit /etc/fstab
//192.168.2.100/multimedia /mnt/freenas/multimedia cifs iocharset=utf8,credentials=/home/graeme/.smbcredentials,file_mode=0777,dir_mode=0777 0 0
sudo umount /mnt/freenas/multimedia
sudo mount -a
nautilus /mnt/freenas/multimedia
# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass>proc /proc proc nodev,noexec,nosuid 0 0# / was on /dev/sda5 during installationUUID=a7715f4e-7c36-4ac5-be8f-c08d3c543263 / ext4 errors=remount-ro 0 1# swap was on /dev/sda6 during installationUUID=ec721573-a290-4adb-a5fd-45915a9ccf5f none swap sw 0 0//192.168.2.100/multimedia /mnt/freenas/multimedia cifs iocharset=utf8,credentials=/home/graeme/.smbcredentials,file_mode=0777,dir_mode=0777 0 0
//192.168.2.100/multimedia /mnt/freenas/multimedia cifs credentials=/home/graeme/.smbcredentials,iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
cd /mnt/freenas
sudo mkdir utilities graeme family-tree movies pat
ls -a /mnt/freenas