Robotics StackExchange | Archived questions

Ubuntu Workstation in Virtualbox, Problem resolving IP for Turtlebot

Hi all,

I have a virtual machine with Ubuntu 10.04. I have the diamonback turtlebot desktop setup. I have followed the instructions on how to setup the network via the tutorial.

I get the following when I run the bringup on the Turtlebot and roscore on the workstation.

Unable to contact my own server at [http://192.168.1.102:49606/]. This usually means that the network is not configured properly.

A common cause is that the machine cannot ping itself. Please check for errors by running:

    ping 192.168.1.102

For more tips, please see

    http://www.ros.org/wiki/ROS/NetworkSetup

From what I can guess, I don't think the routing is correct. I have a access point, that I connect the workstation to, and the Turtlebot to. The Turtlebot's IP is 192.168.1.102, and the IP of Ubuntu in VM is 10.0.2.15 (something internal to the VM I guess). My workstation in this case is a Macbook Pro running OSX. Can someone give me some pointers, on how I should possibly be setting up my network configuration to allow visibility?

Asked by osuairt on 2011-11-01 07:02:34 UTC

Comments

Have you tried following the directions in the link provided? http://www.ros.org/wiki/ROS/NetworkSetup please include the output of the debugging commands in your question.

Asked by tfoote on 2011-11-06 08:11:35 UTC

Answers

Hi, I have the same configuration running and it is working perfectly... Please check the VM-Interface and try the bridge mode.

BTW: whats the IP of your Mac ?

Asked by Chrimo on 2011-11-01 19:42:18 UTC

Comments

It would be helpfull to know the addresses of all your devices...

Please run:

ifconfig -a netstat -r

Asked by Chrimo on 2011-11-01 19:45:21 UTC

Comments