-
Change hostname
The default host name is Ubuntu.
sudo vim /etc/hosts
sudo vim /etc/hostname
sudo reboot
Upgrade packages
Run
htop
to see ifunattended-upgrades
is running… Or if you seeWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3467 (unattended-upgr)
,unattended-upgrades
is running… You’ll need to wait for a few minutes as it’s holding the apt lock.sudo apt update apt list --upgradable sudo apt upgrade
Set timezone:
sudo dpkg-reconfigure tzdata
Turn off prompt to upgrade to Ubuntu 20.04 for ssh login:
If you install 18.04 after 20.04 is out, you may not want to upgrade 20.04 to avoid breaking changes from the newer packages.
sudo sed -i 's/Prompt=.*/Prompt=never/' /etc/update-manager/release-upgrades
Set up Wi-Fi:
vim /etc/netplan/50-cloud-init.yaml
Append
wifis: wlan0: access-points: "SSID": password: "PASSWORD" addresses: [] dhcp4: true nameservers: {}
sudo netplan --debug apply
*You may need to restart your router if you cannot ping you raspberry pi (i.e., Destination Host Unreachable).
Set up swap:
Search
dphys-swapfile
on https://varhowto.com/install-ros-noetic-raspberry-pi-4/BTW, how to install Ubuntu 18.04 on Raspberry Pi 3 B+
- Download “Raspberry Pi 3 (64-bit ARM) preinstalled server image” on http://cdimage.ubuntu.com/releases/18.04/release/
- As of Dec 3 2020, the url is http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.5-preinstalled-server-arm64+raspi3.img.xz
- Write the image
- On Ubuntu, you can double click the downloaded file, and it should open “Disks”. A dialog will guide you write it to a MicroSD card.
- On Windows, install Raspberry Pi Imager at https://www.raspberrypi.org/software/
0 - Download “Raspberry Pi 3 (64-bit ARM) preinstalled server image” on http://cdimage.ubuntu.com/releases/18.04/release/
- You must be logged in to reply to this topic.