Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Still fighting to get my nas (dlink) to mount in 12.04, same message as most other folks I see, I've tried a bunch of fstab stuff and i've tried to use samba, not getting it. Is there a step by step for this yet, I can see it, and the files with upnp inspector but cannot play any thing I'm getting desperate!

The nas was setup with my win 7 computer but that computer blew up so got a new one, installed 12.04 on it, the only other computer on the network is my XP laptop, the nas shows up when I browse network by itself and in my windows network icon too but still get the unable to mount location - failure to retrieve share list from server message. I've installed samba thru the software cente, and the nas is at called dlink-034273 and the shared folder is called Volume_1

When I go to the address of the nas in a browser the login screen is setup as admin and I dont put a passwrd or username in, just click login and I get all the nas management

share|improve this question

first check if the share is there:


then create a file /home/user/.smb



sudo mkdir /mnt/Volume_1
sudo mount -t cifs -o credentials=/home/user/.smb // /mnt/Volume_1
share|improve this answer
I seem to be able to mount directories with sudo mount -t cifs -o credentials=/home/user/.smb //<IP>/<folder> /mnt/Volume_1. Yet that is requiring manual edits. Etc. for each dir I need to specify which folder to mount and access it with dir name in Files>Connect to Server. If I need to access another dir, then I need to umount it before I mount the other dir. I need a better way to pre mount all dirs, so I don't need to manually do it. Link to my question – nicoX Apr 30 '14 at 13:06
The credentials in the .smb file are in plain text. Is there a way to crypt the passwd? – nicoX Apr 30 '14 at 13:08
Do I need to do something to include our own domain which isn't WORKGROUP in the .smb file? – nicoX May 1 '14 at 9:57
you can pass username and password through command line instead of through file. Also you can create a set of different files with credentials and use different mount points - in that way you can have all paths mounted simultaneously. You can't encrypt passwords (as far as I know), but you can make passwords owned by root and set permissions like 600 - files to be visible only by root. For the domain - you don't need to add anything – jet May 1 '14 at 10:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.