Ubuntu 19.10 install (summary)

xzcat ubuntu-19.10-preinstalled-server-arm64+raspi3.img.xz | sudo dd of=/dev/mmcblk0 bs=32M

Connect to the pi

ssh ubuntu@< ip >

Connect to wireless network
wpa_passphrase your-ESSID your-passphrase | sudo tee /etc/wpa_supplicant.conf

sudo cp /lib/systemd/system/wpa_supplicant.service /etc/systemd/system/wpa_supplicant.service

Edit /etc/systemd/system/wpa_supplicant.service
...
ExecStart=/sbin/wpa_supplicant -u -s -c /etc/wpa_supplicant.conf -i wlan0
...

...
#Alias=dbus-fi.w1.wpa_supplicant1.service
...

Enable wireless dhcp (and static ethernet) on boot via netplan. Edit /etc/netplan/x0-xxx
network:
    version: 2
    renderer: networkd
    ethernets:
        eth0:
            addresses:
                - 10.0.0.2/24
            optional: true
        wlan0:
            dhcp4: true
            optional: true

Disable the slow motd message when at login over ssh:

#session    optional     pam_motd.so  motd=/run/motd.dynamic
#session    optional     pam_motd.so noupdate

Update /etc/hostname, /etc/hosts, ... and reboot

Quick install - Raspbian-nspawn-64

A combined 32/64 bit "repackaging" of Raspian/Buster. 64 bit kernel with 32 bit Raspbian, with on top of that a 64 bit Debian Buster running in a nspawn container, more info at https://github.com/sakaki-/raspbian-nspawn-64

Can be installed with a single command from the Internet on to a USB stick...
curl -L https://github.com/sakaki-/raspbian-nspawn-64/releases/download/v1.3.0/raspbian-nspawn-64.img.xz | xzcat > /dev/sdX && sync

(not so) Quick Install - Raspian Lite

Download latest Raspbian Lite

wget https://downloads.raspberrypi.org/raspbian_lite_latest

Post Flash

Fix the annoying Perl warnings, edit /etc/ssh/sshd_config

#AcceptEnv LANG LC_*

Enable ZRAM swap
apt install zram-tools

Disable and remove swapfile
dphys-swapfile swapoff
dphys-swapfile uninstall
update-rc.d dphys-swapfile remove
apt purge dphys-swapfile

Disable and remove bluetooth
apt purge bluez bluez-firmware pi-bluetooth
Topic revision: r7 - 10 Nov 2019, AdminUser
This site is powered by FoswikiCopyright © by Eddy Vervest