RoPod/Tutorials/Installing Ubuntu (Linux Part): Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 4: Line 4:


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


[[File:WifiSettings.png|250px|thumb|center|Figure 1. Wi-Fi settings.]]
[[File:WifiSettings.png|250px|thumb|center|Figure 1. Wi-Fi settings.]]


= Setup graphics driver and finish Linux installation=
An entire overview to setup the wireless TUe-WPA2 connections is given [http://www.quzart.com/notes/5-tue-wpa2-linux-wifi/index.xhtml here].
There are some issues with Ubuntu 16.04 abd Nvidia graphic cards. Therefore, before proceeding any further, setup the graphics card driver to avoid that Ubuntu 16.04 freezes.  
For the 2016-2017 TU/e laptops Zbooks run the following command in terminal (CTRL+ALT+T):
<pre> sudo apt-get install nvidia-common nvidia-367 </pre>
 
The computer will most probably freeze, thus keep pressed power button to restart. After restart, update and upgrade your software installation:
 
<pre> sudo apt-get update
sudo apt-get upgrade</pre>




Line 32: Line 24:
<pre> sudo gedit /etc/udev/rules.d/10-rename-network.rules </pre>
<pre> sudo gedit /etc/udev/rules.d/10-rename-network.rules </pre>


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


<pre>
<pre>
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ff:ff:ff:ff:ff:ff", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ff:ff:ff:ff:ff:ff", NAME="eth0"
Replace the orange text by the MAC address of your device.
</pre>
</pre>


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

Latest revision as of 10:51, 25 March 2021

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:

 ifconfig 
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.