Created
September 15, 2021 16:09
-
-
Save kvutien/9de3084614ea90c6e1aed504e10e09b3 to your computer and use it in GitHub Desktop.
network-config for Ubuntu 64-bit on Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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