Hi all,
Just looking to see if there is something fundamental that differs between Linux Mint and Ubuntu.
On my Mint machine I use FSTAB and a .credentials file in /root to mount my NAS, called nas2.
I wanted to achieve the same on my Ubuntu 14.04 machine, so I copied the line into fstab:
Code:
//192.168.1.76/nas2 /mnt/nas2 cifs credentials=/root/.nas2cred,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777
When I use sudo mount -a, I get this:
Code:
$ sudo mount -a
mount: wrong fs type, bad option, bad superblock on //192.168.1.76/nas2,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
Code:
$ sudo chmod 600 .nas2cred
I can browse the network using Nautilus and add bookmarks, but for certain programs I really need it permanently mounted in my /mnt directory.
I got it working on the Mint machine with the above entries more by luck than judgement, so by no means fully understand about users and permissions etc.. (ie: I may need a little hand-holding!)
Thanks, Scott.
برچسب:
نویسنده: استخدام کار