arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Extra - HowTo Linux notes

Notes and tips

circle-check

This page is a seried of helpful notes that have been gathered as a result of HoverGames and other feedback from users with NavQPlus.

hashtag
HowTo: Remove unattended upgrades

triangle-exclamation

<TODO> Add a simple explanation on why to remove unattended upgrades

hashtag
HowTo: Install nano

GNU nano is an easy to use command line text editor for Unix and Linux operating systems. It includes all the basic functionality you’d expect from a regular text editor, like syntax highlighting, multiple buffers, search and replace with regular expression support, spellchecking, UTF-8 encoding, and more.

Note: There are other text editors that can be used, Nano is a popular one. Some of the HowTo below will use Nano as the editor.

To install:

hashtag
HowTo: Edit hostname

Run the following command to change your hostname. Assuming you want to use the hostname "compcom42".

hashtag
Change the hostname in hosts file

circle-exclamation

(TODO - Clarify all the text below this point)

hashtag
HowTo: Set static ip configuration

Network manager is used for network config. See steps below

hashtag
Determine the interface to be used

From <>

hashtag
Set static ip

Wired connection 2 = 1000base-TX / eth1 Wired connection 1 = 100base-T1 / eth0

From <>

hashtag
HowTo: Install ROS

ROS is already installed on the 

See

hashtag
HowTo: Install VPN

See

https://askubuntu.com/questions/246077/how-to-setup-a-static-ip-for-network-manager-in-virtual-box-on-ubuntu-serverarrow-up-right
https://askubuntu.com/questions/246077/how-to-setup-a-static-ip-for-network-manager-in-virtual-box-on-ubuntu-serverarrow-up-right
pre-built Ubuntu 20.04 with ROS2 Galactic imagearrow-up-right
ROS2 installation script docsarrow-up-right
20220509 - Openvpn client userarrow-up-right
apt remove unattended-upgrades
sudo apt install nano
sudo nano /etc/hostname compcom42 
sudo nano /etc/hosts 

… 
127.0.1.1 compcom42 

Add the additional entries 



192.168.42.11   compcom<id> 
192.168.42.5    navq<id>-d2x 
192.168.42.2    t1eth8 
192.168.42.6    d2xmodem 
192.168.42.21   radar1 
192.168.42.22   radar2 
192.168.42.23   radar3 
nmcli con show 
nmcli con mod "Wired connection 2" 
  ipv4.addresses "192.168.42.11/24" 
  ipv4.gateway "IP_GATEWAY" (needs to be blank on static ip) 
  ipv4.dns "1.1.1.1,8.8.8.8" 
  ipv4.method "manual"