If you've enabled netbios name resolution as outlined in my howto, you should also try this:
Code://netdrive/PUBLIC\40DISK\401 /media/landisk cifs credentials=/root/.smbcredentials,nounix,iocharset=utf8,file_mode=07 77,dir_mode=0777 0 0
If you've enabled netbios name resolution as outlined in my howto, you should also try this:
Code://netdrive/PUBLIC\40DISK\401 /media/landisk cifs credentials=/root/.smbcredentials,nounix,iocharset=utf8,file_mode=07 77,dir_mode=0777 0 0
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Hi Dmizer,
I tried, but without success
It seems there are more people on the net who have this problem can't solve it. I've been looking for mount error 6 cifs specific.
The strange thing is, I can access the samba drive via places-network-netdrive but it didnt ask for a login so I don't have any rights. This is the reason why I want to perma mount this drive with password access.
I will try by removing credentials to add it but that will get me back to the beginning of why i wanted to have this perma mount....
>> nope didn't work, in the end i still get the mount error 6.
If you can access the drive fine without credentials, then your NAS drive is configured to share files without password protection. This is why you're getting the error 6. Ubuntu is attempting to send a username and password, but your NAS is not responding.
Does this work?
Code://netdrive/PUBLIC\40DISK\401 /media/landisk cifs guest,rw,nounix,iocharset=utf8,file_mode=07 77,dir_mode=0777 0 0
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
SOLUTION FOUND!!!!!!!!!!!!!!!!!!
sorry, i'm extremely happy
ok problem is i found out after more investigations on the interwebs is that for spaces in sharename you need to use \040 not \40
so, it works now
thanks for all the help Dmizer! I'm not sure if your tutorial has \40 or \040 but it is the latter that needs to be used!
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Thanks to the OP! This worked flawlessly on the first try. I just skipped the netbios part and substituted the IP address for my own needs. Now I have my shared media from my Vista box mounted at bootup. Awesome.
Hi, following your guide got me up and running, however the shares do not mount at boot, rather I have to run 'sudo mount -a' in terminal to get the shares to appear (after which they work flawlessly).
Here is my fstab:
Any help would be much appreciated as you can see I added '_netdev' in the hope it would fix my problem but alas, it wasn't the case.Code://familydesktop/c /media/familyc cifs iocharset=utf8,credentials=/home/family/.smbcredentials,uid=1000,_netdev 0 0 //familydesktop/media /media/media cifs iocharset=utf8,credentials=/home/family/.smbcredentials,uid=1000,_netdev 0 0 //familydesktop/music /media/music cifs iocharset=utf8,credentials=/home/family/.smbcredentials,uid=1000,_netdev 0 0
ThinkPad X201 - i5-520M - 8GB DDR3 RAM - Intel HD Graphics - 1GB GeForce 560 Ti eGPU - Xubuntu 14.04/Windows 8 Pro
Gaming PC - i5-4670 - 16GB DDR3 RAM - 3GB Radeon R9 280X - Windows 8 Pro
Try editing /etc/rc.local and add "mount -a" to the file like so:
Code:sudo nano /etc/rc.localCode:#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. mount -a exit 0
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
I tried that.. on reboot, still nothing mounts automatically.
Any other ideas?
ThinkPad X201 - i5-520M - 8GB DDR3 RAM - Intel HD Graphics - 1GB GeForce 560 Ti eGPU - Xubuntu 14.04/Windows 8 Pro
Gaming PC - i5-4670 - 16GB DDR3 RAM - 3GB Radeon R9 280X - Windows 8 Pro
What Ubuntu release are you using (Hardy, Ibex ...)?
Please post the contents of /etc/network/interfaces
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Bookmarks