First, you need to install the smbfs package
# Aptitude the install smbfs
If you do not install this package, the following error when mount the shared partition
smbfs: mount_data version 1919251317 is not supported.
Then the command to mount windows share
mount-t smbfs / / ip / share name the-o username = user name, password = password, iocharset = utf-8, dmask = 777. fmask = 777 / media / the smb
To the next parameter,
ip, share name, to access the Windows shared resources the user name, password, username and password in the windows system.
dmask = 777, by. fmask = 777, read and write permissions for the shared partition, here set to 777. change it according to their needs.
/ Media / smb shared partition mounted local path.
/ Etc / fstab the wording in the / etc / fstab inside, add the following line:
/ / Ip / share name / media / smbf smbfs defaults, username = user name, password = password, iocharset = utf-8, dmask = 777. Fmask = 777 0 1
Meaning of the parameters with the use of the mount command.
Google to some places on the Web to write the smbmount command, this command does not know which release inside with at least the debian inside (now refers to the debian lenny version), direct mount and then mount the share specified smbfs format on the line.
ps. if you just want to view in the x inside the windows share in nautilus inside the file -> connect to the server inside to connect to a windows share.
Reference article:
A step in learning Linux and Windows shared files Samba (v0.2b)
2 Mounting remote filesystems with smbfs (English)







