mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
Add netplan static ip config example
This commit is contained in:
20
raspberry/netplan-config.yaml
Normal file
20
raspberry/netplan-config.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
# static ip configuration
|
||||
|
||||
network:
|
||||
ethernets:
|
||||
eth0:
|
||||
dhcp4: true
|
||||
optional: true
|
||||
wifis:
|
||||
wlan0:
|
||||
dhcp4: no
|
||||
dhcp6: no
|
||||
addresses: [192.168.1.150/24]
|
||||
gateway4: 192.168.1.1
|
||||
nameservers:
|
||||
addresses: [1.1.1.1, 8.8.8.8]
|
||||
access-points:
|
||||
"wifiname":
|
||||
password: "password"
|
||||
version: 2
|
||||
|
||||
Reference in New Issue
Block a user