| 4 | |
| 5 | === Install Linux === |
| 6 | Get https://ubuntu.com/download/raspberry-pi/thank-you?version=20.04&architecture=arm64+raspi (Ubuntu Server 20.04 for 64-bit arm) |
| 7 | flash it to sdcard and boot. |
| 8 | After first boot login as ubuntu/ubuntu (takes a while until you can do this), change password |
| 9 | ==== Wifi ==== |
| 10 | * ls /sys/class/net |
| 11 | on RP3 the wifi interface is the wlan0 |
| 12 | * sudo nano /etc/netplan/50-cloud-init.yaml |
| 13 | {{{ |
| 14 | # network: {config: disabled} |
| 15 | network: |
| 16 | ethernets: |
| 17 | eth0: |
| 18 | dhcp4: true |
| 19 | optional: true |
| 20 | version: 2 |
| 21 | wifis: |
| 22 | wlan0: |
| 23 | optional: true |
| 24 | access-points: |
| 25 | "ESSID-of-the-Accesspoint": |
| 26 | password: "your-password" |
| 27 | dhcp4: true |
| 28 | }}} |
| 29 | ==== user ==== |
| 30 | * sudo useradd mycroft -g users |
| 31 | * sudo mkdir /home/mycroft |
| 32 | * sudo chown mycroft:users /home/mycroft |
| 33 | * sudo nano /etc/group |
| 34 | (add mycroft to all groups like ubuntu) |