Skip to content

Instantly share code, notes, and snippets.

@enrialonso
Last active October 8, 2021 21:36
Show Gist options
  • Save enrialonso/63d93c844fabb929b124007cb3c05bcb to your computer and use it in GitHub Desktop.
Save enrialonso/63d93c844fabb929b124007cb3c05bcb to your computer and use it in GitHub Desktop.

Url tutorial:

https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#1-overview

Set Wifi before install:

Edit the file on system boot before put the memory on the raspberry: network-config

Content file:

wifis:
  wlan0:
    dhcp4: true
    optional: true
    access-points:
      <wifi network name>:
        password: "<wifi password>"

Commands for enable Wifi:

sudo netplan --debug try
sudo netplan --debug generate
sudo netplan --debug apply
reboot

Launch and enable SSH:

sudo apt update -y
sudo apt upgrade -y
sudo apt install openssh-server -y
sudo service ssh enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment