When I add this to the Fstaband run sudo mount -a i get thisCode://compac/External%20(j)/ /media/sharename cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
but I know it exists because I copy and pasted it from the smbtree.Code:david@nx9010:~$ sudo mount -a retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Last edited by Burky; October 3rd, 2009 at 03:55 PM.
When looking at smbtree, you will see both the share name as well as the comment. In your case, the (j) is a comment meaning what drive letter. This is not needed in your mount command.Code://compac/External/ /media/sharename cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
If you are still unsuccessful, you will probably have to rename the share on the Windows machine so that it does not contain the parentheses.
So I got on the Compac, went to "My Network Places" found the External drive, and renamed it just "External". When I went into that machine over the network on my Ubuntu machine, it was still called "External (J)" and I still could get it to work the way you told me.Code://compac/External/ /media/sharename cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
Anything I'm doing wrong? Any Suggestions?
Open "My Computer", right click on the J drive and select "Sharing and Security", then click on the "Sharing" tab. You may see a warning that says "If you understand the risk ... click here". This is where you should change the share name.
You should probably reboot the Windows computer after making this change.
Are you sure that there's a checkmark in the "Share this folder on the network" box?
Otherwise, you're probably not signed in with a username that has the correct permissions to change the share name. You'll have to log in as an Administrator. If you don't know how, either refer to your computer's user manual, or post your computer's make and model number here.
One final thought. You may be able to un-share the folder and recreate the share under a different name. Be sure to remove the (J) automatically placed on the end of the share name for a full drive share.
Last edited by dmizer; October 4th, 2009 at 03:32 PM.
My account does have Administrative privileges, it's just not the owner? And my computer is a Compaq Presorio sr1503wm.
Where "Shared-content" is the actual shared folder rather than sharing the whole drive (which even Windows strongly suggests not doing).Code:J:/Shared-content /Music /Video /Documents /Other-data
If this is not satisfactory, I'll do some digging on your specific model. But I think the above will be the easiest solution.
Thanks a lot Dmizer! I got it to work, I forgot I had to unshare the folder first before I could change the name.