Network configuration problem: connecting the master and slave.
i got two laptops, A and B. i need to control a turtlesim node in B(slave) from A(Master) using teleops node.
Laptop A: I am using a virtual machine (UBUNTU 14.04) in windows 10. Wifi.
Laptop B : Jetson TK1, embedded computer. Ethernet
i set up the connections by exporting the IP address from both and making A as the master. When i run any node on B, nth appears other than a blinking cursor on the next line.
I tried pinging to each com but to no avail. I tried running roswtf and it just says that ros master isnt connected.
So i am assuming there is some error in network configuration between the two.
Does that mean i should use VPN/OpenVPN? if so, how to establish this connection and ensure that there is bidirectional networking between A and B.
New to ROS family:)
Asked by Azhar on 2016-09-08 04:16:53 UTC
Comments
Just making sure: have you checked the wiki/ROS/NetworkSetup and the wiki/ROS/Tutorials/MultipleMachines pages?
Asked by gvdhoorn on 2016-09-08 04:30:23 UTC
Yeap i have but i cant even seem to ping/ssh etc. Do you think it is something to do with me not on the same network? How do i fix that?
is there any way to check that i am on the same network?
Asked by Azhar on 2016-09-08 04:48:37 UTC
If you can't ping between the hosts, then that is the first thing to fix. Make sure your VM is on a bridged network connection, not NAT-ted.
Asked by gvdhoorn on 2016-09-08 05:34:26 UTC
hey gvdgoorn, once i change the settings in my oracle virtual machine from NAT to bridged adapters, i cant connect to the internet once i start the virtual machine.
Asked by Azhar on 2016-09-09 03:50:55 UTC
Your VM can't connect to the internet, or your host machine can't connect to the internet?
Asked by gvdhoorn on 2016-09-09 04:06:41 UTC
my vm cant connect to the internet. i am really lost sorry.
Asked by Azhar on 2016-09-09 05:33:09 UTC
You probably don't have a DHCP server on the network connected to the interface that you bridge into your VM (or the DHCP server doesn't hand out IPs to your VM). You can try setting up the interface in the VM yourself (ie
eth0
in Ubuntu). host only would also not allow i'net usage in the VM.Asked by gvdhoorn on 2016-09-09 05:55:06 UTC
Which interface did you choose to bridge your VM nic to? How does your Windows machine get its IP?
Asked by gvdhoorn on 2016-09-09 05:55:47 UTC
i just did a dual boot and it works fine!
Asked by Azhar on 2016-12-20 23:44:07 UTC