Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-22 18:26:12 +02:00
parent 71c71fcee0
commit 72c47aae30
2 changed files with 1 additions and 6 deletions

View File

@ -37,6 +37,7 @@ 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

View File

@ -463,12 +463,6 @@
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