Create the shared folder in windows:
Install cifs tools to mount:
sudo apt-get install cifs-utils
Install ssh-server to connect:
sudo apt-get install openssh-server
If there are problems try to install samba:
sudo apt-get install samba
catkin_make
source devel/setup.bash
roslaunch server_node Mount_Client.launch shared_folder:=" " folder:=" " sudo_password:=" "
Arguments:
- shared_folder is the path of the folder that you create in ubuntu.
- folder is the path of the folder that you want to share between ubuntu and windows.
- sudo_password is the password of your account in ubuntu , it's important to execute sudo commands.
Example:
roslaunch server_node Mount_Client.launch shared_folder:="/home/asus/Desktop/Testing" folder:="/home/asus/Desktop/Catkin_ws/src/server_node/Backup" sudo_password:="Playtec981"
Open the file Testing.exe that is in the Client folder.
Variables:
- IP del servidor : IP of ubuntu , if you want to visualize type this command.
sudo apt install net-tools
ifconfig
Then search your ip address.
In this case the server ip is "192.168.172.130"
- Nombre de la carpeta compartida : The name of the shared folder
- Username: This is the username of the ubuntu server
- Password: This is the password of ubuntu
- Local IP: This is the IP address of the windows computer. You can see it , just type in cmd "ipconfig" and search your ip address.
Example:
If there are problems try to verify the connection.