Network setup

From Rsewiki
Revision as of 10:43, 24 December 2021 by Jca (Talk | contribs)

Jump to: navigation, search

Back to Robobot

Contents

Network setup

Access using ssh and username local

ssh -X local@<IP>

ask for the password (or look on the course page)

Packages to install

Install:

ntp
ntpdate
openssh-server
git
libreadline-dev

sudo apt install ntp ntpdate openssh-server git libreadline-dev

Install ros-melodic-desktop-full, follow instructions in: http://wiki.ros.org/melodic/Installation/Ubuntu up to section 2. Tutorials.

NTP

Network time protocol, to keep clocks in sync. At DTU most clock sources are blocked, the clock source needs to be configured.

At DTU, edit /etc/ntp.conf, add ntp.ait.du.dk to server pool

...
# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
# more information.
pool ntp.ait.dtu.dk
...

Sync time

sudo ntpdate -u ntp.ait.dtu.dk

Should work in and around DTU - see also NTP howto for more details.

WiFi network

Now open wpa_supplicant.conf

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

If you added an wifi access point, it probably looks something like this

network={
       ssid="device"
       key_mgmt=NONE
}

or

network={
       ssid="tdc432"
       psk="secret_password"
       key_mgmt=WPA-PSK
       id_str=home

}

You can add any number of the "network" groups for all the networks you get across If you don't like the network password to be visible, see guide below.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox