Wednesday, October 23, 2013

Debian Wheezy: mounting windows shared folder

First of all install cifs-utils smbclient packets, to browse and mount net folders..
So from command line:
apt-get install smbclient cifs-utils

Then you need to create a local folder to map remote folder
mkdir /home/username/example_folder

Then you can mount the remote folder by executing this:
mount -t cifs -o username=remote_pc_username //remote_pc_ip_address/remote_folder_shared_name /home/username/example_folder

Where:
remote_pc_username is the username of remote pc
remote_pc_ip_address is the remote ip address
remote_folder_shared_name is the name that the shared folder has into the local net.

Example 2:
mount -t cifs -o username=pippo //192.168.1.2/shared /home/pluto/example_folder


Terminal will prompts to you the password request....
Give it and then you will have correctly mapped your remote folder into your local example_folder


Bye..


No comments:

Post a Comment