Last active
July 10, 2024 09:09
-
-
Save lidgnulinux/a71efa9e1651167c97d5b89c460b0b5b to your computer and use it in GitHub Desktop.
Netplan Example.
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
network: | |
wifis: | |
YOUR_WIRELESS_INTERFACE: | |
dhcp4: yes | |
dhcp6: yes | |
access-points: | |
"YOUR_SSID": | |
password: "YOUR_PASSWORD" | |
"YOUR_SSID": | |
auth: | |
key-management: eap | |
password: "YOUR_PASSWORD" | |
identity: "YOUR_EMAIL" | |
ethernets: | |
USB_TETHER_INTERFACE: | |
dhcp4: yes | |
dhcp6: yes | |
version: 2 | |
renderer: networkd | |
# Apply your config with this command : | |
# $ sudo netplan apply your_config.yaml |
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
network: | |
wifis: | |
YOUR_WIRELESS_INTERFACE: | |
dhcp4: no | |
dhcp6: no | |
addresses: | |
- x.x.x.x/24 | |
routes: | |
- to: default | |
via: x.x.x.x | |
access-points: | |
"YOUR_SSID": | |
password: "YOUR_PASSWORD" | |
"YOUR_SSID": | |
auth: | |
key-management: eap | |
password: "YOUR_PASSWORD" | |
identity: "YOUR_EMAIL" | |
version: 2 | |
renderer: networkd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment