Ubuntu
Distro upgrade
bash
do-release-upgrade -c
do-release-upgrade
Ubuntu server headless setup
Alternatively, you can use raspberry-pi-imager
- Flash OS
touch ssh
atboot volume
vi network-config
and add following config for Wi-Fi atboot volume
:
yaml
wifis:
wlan0:
dhcp4: true
optional: true
access-points:
$WiFiSSID:
password: $PASSWORD # string
Change repository mirror on ARM
Specify Wi-Fi band
Fix Wi-Fi keeps disconnecting
and
bash
sudo vi /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
# then change wifi.powersave to 2
# see code: <https://gist.github.com/jcberthon/ea8cfe278998968ba7c5a95344bc8b55>