Save as setup_ar9271.sh :
You should see an output similar to: Bus 001 Device 004: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n . install atheros ar9271 driver kali linux
echo "[+] Restarting network services..." sudo systemctl restart NetworkManager Save as setup_ar9271
If the default Kali drivers are causing kernel panics or failing to inject packets (a rare but possible occurrence on bleeding-edge kernels), you may need to compile the drivers from source. install atheros ar9271 driver kali linux