We want to point, and mount, this folder, in read/write mode, on our Debain system.
We need the smbfs and samba-common packages.
apt-get install smbfs samba-common
echo 'smbfs' >> /etc/modules
mkdir /home/pippo/empty_directory mount -t smbfs -o username=pippo //windows_machine_ip/remote_and_shared_folder /home/pippo/empty_directory
or
mount -t smbfs -o username=pippo,password=pluto //windows_machine_ip/remote_and_shared_folder /home/pippo/empty_directory
If you want that the folder should be mounted automatically at the system startup edit the /etc/fstab file and
insert the below line:
//windows_machine_ip/remote_and_shared_folder /home/pippo/empty_directory smbfs defaults,user,noauto,username=pippo,password=pluto 0 0For a most detailed guide refer to this page
No comments:
Post a Comment