Sunday, May 31, 2009
Mounting windows shares
Procedures to mount Windows shares from remote machines changed so many times during lifespan of Linux, that an attempt to do a search in Google gives a mix of solutions from using "smbmount" to "mount -t smb".
Here is the latest and greates solution. Make sure you have "smbfs" package installed and do this :
% sudo mount -t cifs //192.168.1.102/share_name /media/my_share -o \ username=theuser,password=thepass,iocharset=utf8,file_mode=0777,dir_mode=0777
With option "iocharset=utf8" it ought to handle international characters in all Windows NT-based systems. If you need to mount drives from Windows 95/98/Me, different translation options will be necessary.
see this page for more detailed explanations.