Re: [ros-users] Running Roscore without internet

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Ken Conley
Date:  
To: ros-users
Subject: Re: [ros-users] Running Roscore without internet
Hi Alexis,

For some reason 'localhost' isn't resolving on your machine. I would
recommend trying using

ROS_IP=127.0.0.1

instead of ROS_HOSTNAME=localhost. NOTE: this will disable your ability to
connect to remote machines with ROS.

- Ken

On Mon, May 10, 2010 at 3:09 PM, Alexis Cheng <>wrote:

> Hi all,
>
> I have installed ROS on a single Ubuntu machine and it seems to be working
> while connected to the internet. However, roscore is unable to run without
> internet connection. Roswtf does not return any errors or warnings.
>
> -----
>
> Roscore responds with:
>
> [ERROR] 1273528178.429037000: [registerService] Failed to contact master at
> [localhost:11311]. Retrying...
>
> Rosrun responds with:
>
> Couldn't find an AF_INET address for [localhost]
> [ERROR] 1273528740.753778000: [registerPublisher] Failed to contact master
> at [localhost:11311]. Retrying...
>
> -----
>
> I have went through the network setup document on ROS wiki and it seems to
> pass the tests. I have also changed ROS_HOSTNAME to localhost.
>
> Has anyone encountered this problem before and managed to correct it?
>
> Thanks!
>
> Alexis Cheng
> Electrical Engineering
> University of British Columbia
>
>
> ------------------------------
> 30 days of prizes: Hotmail makes your day easier! Enter now<http://go.microsoft.com/?linkid=9729705>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>