Before mounting shares on other systems, it is necessary to have Samba installed (also kernel support, but if you are using a binary distribution, your kernel should be automatically configured for this).
To get Samba, open a terminal and type:
sudo apt-get install smbfs
- this will grab and install Samba from the Ubuntu repositories.
The network share on the other system will mount to a directory on the local system. Create the directory in the required location:
mkdir /home/andym/stuff
- where stuff is the directory I will map the share to. This is known as a mountpoint.
Next type the command (as a regular user) to map the network share on the other system to the local directory:
smbmount //servername/sharename /home/andym/stuff -o user=myusername
- where servername is the name of the remote server and sharename is the name that the directory on the remote server is shared as. If the remote share is found, you should then be prompted for a password. Note that the username and password supplied are the credentials on the remote server (or domain), not local ones.
You should now be able to access files stored on the remote share at the mountpoint you specified (screenshot).
- A.
This comment form is powered by GentleSource Comment Script. It can be included in PHP or HTML files and allows visitors to leave comments on the website.