From d7f8feaa27eb14d56dbe59bf8ab00fada354bce0 Mon Sep 17 00:00:00 2001 From: Cassiano Aquino Date: Thu, 3 Oct 2019 09:28:47 +0100 Subject: [PATCH] add wlan0 and lo interfaces --- builder/pwnagotchi.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml index e6a988d..03f9509 100644 --- a/builder/pwnagotchi.yml +++ b/builder/pwnagotchi.yml @@ -201,6 +201,20 @@ fi /root/pwnagotchi/scripts/startup.sh & + - name: configure lo interface + blockinfile: + path: /etc/network/interfaces.d/lo-cfg + block: | + auto lo + iface lo inet loopback + + - name: configure wlan interface + blockinfile: + path: /etc/network/interfaces.d/wlan0-cfg + block: | + allow-hotplug wlan0 + iface wlan0 inet static + - name: configure usb interface blockinfile: path: /etc/network/interfaces.d/usb0-cfg