Small fixes

This commit is contained in:
Jeroen Oudshoorn
2024-01-17 18:22:57 +01:00
parent 63f0a761c1
commit 649e8a4222
3 changed files with 9 additions and 6 deletions

View File

@ -39,10 +39,8 @@ reload_brcm() {
start_monitor_interface() {
rfkill unblock all
ifconfig wlan0 up
sleep 3
iw dev wlan0 set power_save off
iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add wlan0mon type monitor
sleep 2
rfkill unblock all
ifconfig wlan0 down
ifconfig wlan0mon up