sudo ip link set wlan0 up
If lsusb shows a different ID (like ID 0cf3:1006 or a Realtek ID starting with 0bda ), install atheros ar9271 driver kali linux
If the standard package doesn't work, you can manually move the firmware binary to your system's firmware directory. sudo ip link set wlan0 up If lsusb
sudo apt install firmware-atheros
Final checklist: