RoPod/Tutorials/Installing Ubuntu (Linux Part)

From Control Systems Technology Group
Jump to navigation Jump to search

Setup network connection

If not done yet, plug in a networkcable or setup your network settings as follows (using your own username and password):

Figure 1. Wi-Fi settings.

An entire overview to setup the wireless TUe-WPA2 connections is given here.

Rename ethernet device

In Ubuntu 16.04 the ethernet naming convention changed. To avoid possible incompatibilities with the examples and tutorials used in the project, we can rename the ethernet device to the standard name “eth0”. Get the MAC address of your ethernet device:

Figure 2. MAC address.

If you see eth0 listed in your devices, then you do not have to change it. Otherwise, create the following file “/etc/udev/rules.d/10-rename-network.rules”:

 sudo gedit /etc/udev/rules.d/10-rename-network.rules 

with the following content: (Replace ff:ff:ff:ff:ff:f by the MAC address of your device.)

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ff:ff:ff:ff:ff:ff", NAME="eth0"

You need then to restart your computer. Verify that the name indeed changed running ifconfig again.

Several tips for customizing Ubuntu are given on this page of the Embedded Motion Control course.

Once you have Linux up-and-running, we are going to install GitHub.