#!/bin/bash wlan='wlp0s20f3mon' airmon-ng check kill ifconfig $wlan down iwconfig $wlan mode managed ifconfig $wlan up service NetworkManager restart