configs/raspberry/netplan-config.yaml
raspberry/netplan-config.yamlRaw
1# static ip configuration
2
3network:
4 ethernets:
5 eth0:
6 dhcp4: true
7 optional: true
8 wifis:
9 wlan0:
10 dhcp4: no
11 dhcp6: no
12 addresses: [192.168.1.150/24]
13 gateway4: 192.168.1.1
14 nameservers:
15 addresses: [1.1.1.1, 8.8.8.8]
16 access-points:
17 "wifiname":
18 password: "password"
19 version: 2
20