diff --git a/builder/data/usr/bin/pwnlib b/builder/data/usr/bin/pwnlib index 0cb5aab2..8fa9fcda 100755 --- a/builder/data/usr/bin/pwnlib +++ b/builder/data/usr/bin/pwnlib @@ -18,10 +18,11 @@ reload_brcm() { start_monitor_interface() { rfkill unblock all modprobe -r brcmfmac + sleep 1 modprobe brcmfmac + sleep 1 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