diff --git a/builder/data/etc/dhcpcd.conf b/builder/data/etc/dhcpcd.conf index 95c71a3a..2bdc46b1 100644 --- a/builder/data/etc/dhcpcd.conf +++ b/builder/data/etc/dhcpcd.conf @@ -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 diff --git a/builder/data/usr/bin/pwnlib b/builder/data/usr/bin/pwnlib index adf1e978..d53d52fb 100755 --- a/builder/data/usr/bin/pwnlib +++ b/builder/data/usr/bin/pwnlib @@ -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