Kapisi/roles/ShadowArch/templates/raspbian-static.j2

21 lines
495 B
Plaintext
Raw Permalink Normal View History

2022-01-25 23:54:43 -06:00
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface {{ ipinterface }} inet static
address {{ ip }}/{{ netmask }}
2022-01-25 23:54:43 -06:00
gateway {{ router }}
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf