mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -45,7 +45,7 @@ slaac private
|
||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
# static IP configuration:
|
||||
denyinterfaces wlan0
|
||||
# denyinterfaces wlan0
|
||||
|
||||
interface eth0
|
||||
static domain_name_servers=8.8.8.8 1.1.1.1
|
||||
|
@ -40,12 +40,7 @@ start_monitor_interface() {
|
||||
rfkill unblock all
|
||||
ifconfig wlan0 up
|
||||
iw dev wlan0 set power_save off
|
||||
airmon-ng check kill
|
||||
iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add wlan0mon type monitor && ifconfig wlan0mon up
|
||||
|
||||
# If wlan0 is NOT taken down after bringing up mon0, then when switching to AUTO you will get:
|
||||
# error 400: error while initializing wlan0mon to channel 1: iw: out=command failed: Device or resource busy (-16) err=exit status 240
|
||||
ifconfig wlan0 down
|
||||
airmon-ng start wlan0
|
||||
}
|
||||
|
||||
# stops mon0
|
||||
|
Reference in New Issue
Block a user