Kamis, 26 Januari 2012

Instructions to access Windows shared folder on a remote computer using native kernel modules.

Use the following terminal command to mount a remote folder, replacing IP_OR_NAME with the IP or the computer name, Shared with the the Shared folder name and /home/data with the local folder you want to link with.

1. Make a target directory:

$ mkdir /home/data

2. Mount the remote share:

$ mount -t cifs //IP_OR_NAME/Shared /home/data

3. If you need credentials to access the remote folder, use the following :

 mount -t cifs //IP_OR_NAME/Shared /home/data -o "username=shared_pc_name, passwd=password"

4. You can also specify if the share is read/write (rw), read only (ro) or write only (wo) with the -o parameter. Here is a complete working example :

 mount -t cifs //IP_OR_NAME/Shared /home/data -o "rw, username=shared_pc_name, passwd=password"


0 comments:

Posting Komentar

Subscribe to RSS Feed Follow me on Twitter!