Hi Alexis,<br><br>Personally, I'm stumped. This doesn't appear to be just a ROS network configuration issue. For some reason, your machine appears to be unable to resolve localhost, which should work even when you're not connected. I'm not aware of any reason why your ROS should work when you are plugged in versus unplugged, if in both cases you are using 'localhost'. Is it the case that you can ping localhost even when you're not connected? <br>

<br> - Ken<br><br><div class="gmail_quote">On Mon, May 10, 2010 at 3:20 PM, Alexis Cheng <span dir="ltr"><<a href="mailto:acheng_1221@hotmail.com">acheng_1221@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div>
<p dir="ltr">Hi Ken,</p>
<p dir="ltr"> </p>
<p dir="ltr">I changed ROS_IP to 127.0.0.1, but the problem is persisting. Are there any steps/procedures to ensure the proper network configuration for ROS besides those outlined in the wiki?</p><div><div></div><div class="h5">


<p dir="ltr"> </p>
<p dir="ltr">Thanks!</p>
<p dir="ltr"> </p>
<p dir="ltr">Alexis Cheng</p>
<p dir="ltr">Electrical Engineering</p>
<p dir="ltr">University of British Columbia</p>
<blockquote dir="ltr" style="margin-right: 0px;">
 <br>
Hi Alexis,<br><br>For some reason 'localhost' isn't resolving on your machine. I would recommend trying using <br><br>ROS_IP=127.0.0.1<br><br>instead of ROS_HOSTNAME=localhost. NOTE: this will disable your ability to connect to remote machines with ROS.<br>

<br> - Ken<br><br><br>
<div class="gmail_quote">On Mon, May 10, 2010 at 3:09 PM, Alexis Cheng <<a href="mailto:acheng_1221@hotmail.com" target="_blank">acheng_1221@hotmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi all,<br> <br>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.<br>

 <br>-----<br> <br>Roscore responds with:<br> <br>[ERROR] 1273528178.429037000: [registerService] Failed to contact master at [localhost:11311]. Retrying...<br> <br>Rosrun responds with:<br> <br>Couldn't find an AF_INET address for [localhost]<br>

[ERROR] 1273528740.753778000: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying...<br> <br>-----<br> <br>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.<br>

 <br>Has anyone encountered this problem before and managed to correct it?<br> <br>Thanks!<br><font color="#888888"> <br>Alexis Cheng<br>Electrical Engineering<br>University of British Columbia<br></font>
<div> <br><br>
<hr>
30 days of prizes: Hotmail makes your day easier! <a href="http://go.microsoft.com/?linkid=9729705" target="_blank">Enter now</a></div></div><br>_______________________________________________<br>ros-users mailing list<br>

<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br><a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank"><font color="#840284">https://code.ros.org/mailman/listinfo/ros-users</font></a><br>

</blockquote></div></blockquote>                                        <br><hr></div></div>Win a $10,000 shopping spree from Hotmail! Enter now <a href="http://go.microsoft.com/?linkid=9729706" target="_blank">Enter now</a></div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>