Ask Your Question

roscore launch failed saying "You must specify a valid interface name"

asked 2013-05-30 05:38:54 -0500

Jingru gravatar image

I installed ros groovy recently, and now I got this error frequently when I use command "roscore":

... logging to /home/jingru/.ros/log/52f1ef44-c93e-11e2-8e1d-648099590658/roslaunch-Jingru-Lenovo-11463.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://Jingru-Lenovo:38033/ ros_comm version 1.9.44


PARAMETERS * /rosdistro * /rosversion


You must specify a valid interface name.

After a system reboot, I can launch it successfully. Please help! Thank you in advance.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-06-24 05:20:52 -0500

Ed Venator gravatar image

Solved this with

sudo pip install --upgrade netifaces

(Similar to Jochen's answer above, this upgrades python netifaces.)

edit flag offensive delete link more

answered 2013-06-14 04:18:23 -0500

I've had the same problem on Ubuntu 12.04 and fixed it by installing python-netifaces from 12.10.



edit flag offensive delete link more


I had the same problem but I already installed python-netifaces from 12.04. But I still got the same question. How did you install python-netifaces from 12.10?

Lucien gravatar image Lucien  ( 2013-07-08 23:56:20 -0500 )edit

answered 2013-06-03 12:29:15 -0500

JV gravatar image

I have the same error in my application. I am using CAN (Controller Area Network) interface with peak system. When I try to use only the roscore command with the peak connected on the USB port it give the same error: "You must specify a valid interface name." On the other hand, when I run roscore without connecting the peak system, it seems to be okay.

I saw this post but didn't help.

Any other ideas how it could be solved?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-05-30 05:38:54 -0500

Seen: 1,019 times

Last updated: Jun 24 '13