diff --git a/builder/data/usr/bin/pwnlib b/builder/data/usr/bin/pwnlib index b50fb07a..adf1e978 100755 --- a/builder/data/usr/bin/pwnlib +++ b/builder/data/usr/bin/pwnlib @@ -37,6 +37,7 @@ reload_brcm() { # starts mon0 start_monitor_interface() { + rfkill unblock all ifconfig wlan0 up iw dev wlan0 set power_save off airmon-ng check kill diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml index 531cccc0..3a89ac57 100644 --- a/builder/pwnagotchi.yml +++ b/builder/pwnagotchi.yml @@ -463,12 +463,6 @@ regexp: '(.*)$' 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 lineinfile: dest: /home/pi/.bashrc