mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -51,13 +51,13 @@ interface eth0
|
|||||||
static domain_name_servers=8.8.8.8 1.1.1.1
|
static domain_name_servers=8.8.8.8 1.1.1.1
|
||||||
metric=202
|
metric=202
|
||||||
|
|
||||||
interface bnep0
|
|
||||||
metric 203
|
|
||||||
|
|
||||||
interface usb0
|
interface usb0
|
||||||
static ip_address=10.0.0.2/24
|
static ip_address=10.0.0.2/24
|
||||||
static routers=10.0.0.1
|
static routers=10.0.0.1
|
||||||
static domain_name_servers=10.0.0.1 8.8.8.8 1.1.1.1
|
static domain_name_servers=10.0.0.1 8.8.8.8 1.1.1.1
|
||||||
|
metric=203
|
||||||
|
|
||||||
|
interface bnep0
|
||||||
metric=204
|
metric=204
|
||||||
|
|
||||||
interface lo
|
interface lo
|
@ -37,7 +37,6 @@ reload_brcm() {
|
|||||||
|
|
||||||
# starts mon0
|
# starts mon0
|
||||||
start_monitor_interface() {
|
start_monitor_interface() {
|
||||||
rfkill unblock all
|
|
||||||
ifconfig wlan0 up
|
ifconfig wlan0 up
|
||||||
iw dev wlan0 set power_save off
|
iw dev wlan0 set power_save off
|
||||||
airmon-ng check kill
|
airmon-ng check kill
|
||||||
|
@ -460,6 +460,12 @@
|
|||||||
regexp: '(.*)$'
|
regexp: '(.*)$'
|
||||||
line: '\1 modules-load=dwc2,g_ether'
|
line: '\1 modules-load=dwc2,g_ether'
|
||||||
|
|
||||||
|
- name: rfkill unblock all at boot
|
||||||
|
lineinfile:
|
||||||
|
dest: /boot/cmdline.txt
|
||||||
|
insertafter: EOF
|
||||||
|
line: "systemd.restore_state=0 rfkill.default_state=1"
|
||||||
|
|
||||||
- name: Add pwnlog alias
|
- name: Add pwnlog alias
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /home/pi/.bashrc
|
dest: /home/pi/.bashrc
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = '2.4.9'
|
__version__ = '2.5.0'
|
||||||
|
Reference in New Issue
Block a user