mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -1,5 +0,0 @@
|
|||||||
[main]
|
|
||||||
plugins=keyfile,ifupdown
|
|
||||||
|
|
||||||
[ifupdown]
|
|
||||||
managed=true
|
|
@ -9,6 +9,7 @@ if is_crypted_mode; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
reload_brcm
|
||||||
start_monitor_interface
|
start_monitor_interface
|
||||||
|
|
||||||
if is_auto_mode_no_delete; then
|
if is_auto_mode_no_delete; then
|
||||||
|
@ -16,11 +16,6 @@ reload_brcm() {
|
|||||||
|
|
||||||
# starts mon0
|
# starts mon0
|
||||||
start_monitor_interface() {
|
start_monitor_interface() {
|
||||||
rfkill unblock all
|
|
||||||
modprobe -r brcmfmac
|
|
||||||
sleep 1
|
|
||||||
modprobe brcmfmac
|
|
||||||
sleep 1
|
|
||||||
ifconfig wlan0 up
|
ifconfig wlan0 up
|
||||||
sleep 3
|
sleep 3
|
||||||
iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add wlan0mon type monitor
|
iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add wlan0mon type monitor
|
||||||
|
Reference in New Issue
Block a user