Created
March 12, 2020 09:12
-
-
Save tpiekarski/8db04d8eec05ed879a8df8bb53f35a3c to your computer and use it in GitHub Desktop.
Example netplan configuration for static IP
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: # No NetworkManager entry | |
version: 2 | |
wifis: | |
some-wifi-device: | |
dhcp4: no | |
dhcp6: no | |
addresses: [192.168.0.42/24] | |
gateway4: 192.168.0.1 | |
nameservers: | |
addresses: [8.8.8.8, 8.8.4.4] # Google DNS Service | |
access-points: | |
"SomeSSID": | |
password: "somePassword" # Clear-text password :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment