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!
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)
Any suggestions?
Last edited by Burky; October 3rd, 2009 at 03:55 PM.
Your mount line should probably look like this:
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.
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 was unable to get it to work with
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?
I think you changed the share name in the wrong place.
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.
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!
This is probably a stupid question on my part, but you never know so ...
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.
Edit:
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.
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!
My account does have Administrative privileges, it's just not the owner? And my computer is a Compaq Presorio sr1503wm.
Did you set up the external drive on a different computer perhaps? Can you unshare the share? Can you create a new folder on the drive? If so, can you share the newly created folder? If so, I HIGHLY suggest moving all the content into that folder so you have something like:
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.
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 a lot Dmizer! I got it to work, I forgot I had to unshare the folder first before I could change the name.
Bookmarks