Merge pull request #78 from caquino/caquino/add-interface-lo
add wlan0 and lo interfaces
This commit is contained in:
commit
7e256353d0
@ -201,6 +201,20 @@
|
|||||||
fi
|
fi
|
||||||
/root/pwnagotchi/scripts/startup.sh &
|
/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
|
- name: configure usb interface
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/network/interfaces.d/usb0-cfg
|
path: /etc/network/interfaces.d/usb0-cfg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user