Skip to content

Instantly share code, notes, and snippets.

@kvutien
Created September 15, 2021 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kvutien/9de3084614ea90c6e1aed504e10e09b3 to your computer and use it in GitHub Desktop.
Save kvutien/9de3084614ea90c6e1aed504e10e09b3 to your computer and use it in GitHub Desktop.
network-config for Ubuntu 64-bit on Raspberry Pi
# This file contains a netplan-compatible configuration which cloud-init
# will apply on first-boot. Please refer to the cloud-init documentation and
# the netplan reference for full details:
#
# https://cloudinit.readthedocs.io/
# https://netplan.io/reference
#
# Some additional examples are commented out below
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: true
optional: true
wifis:
wlan0:
dhcp4: true
dhcp6: true
optional: true
access-points:
"your SSID":
password: "password to connect to your Wifi"
# myworkwifi:
# password: "correct battery horse staple"
# workssid:
# auth:
# key-management: eap
# method: peap
# identity: "me@example.com"
# password: "passw0rd"
# ca-certificate: /etc/my_ca.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment