Velodyne VLP16 installation guide: ifconfig seems to be deprecated. Is there a new procedure to connect and install?

asked 2019-12-18 13:54:33 -0500

RayROS gravatar image

I am following the official guide to properly install and connect a Velodyne-VLP-16 via terminal on my Ubuntu 18.04 using ros-melodic. However part of the guide is not valid anymore at point 1.2 of the guide as the instruction ifconfig seems to be deprecated as also explained here. It is still possible to use it but the instruction sudo apt install net-tools should be executed. However, it is strongly advised to pass to the ip notation.

1.2) Power the LIDAR via the included adapter Connect the LIDAR to an Ethernet port on your computer. Statically assign an IP to this port in the 192.168.3.x range.

sudo ifconfig eth0 192.168.3.100

Alsways from the same post it is advised to use the notation ip a as a replacement. I tried in many different ways to assign a static IP address trying different ways, the best one (not working) so far is the following:

emanuele@pc:~$ sudo ip a eth0 192.168.3.100

Command "eth0" is unknown, try "ip address help".

Other than this problem, is the guide the same or additional instruction should be added due to new versions of ubuntu?

Thank you very much for pointing in the right direction.

edit retag flag offensive close merge delete