Working with Kali Linux Wireless networks often require connection—whether for security testing, traffic analysis, or regular internet access. However, many users encounter issues: the system doesn't detect the adapter, doesn't connect to the network, or constantly drops the connection. In this article, we'll cover all the steps—from checking hardware compatibility to fine-tuning configuration files.
Peculiarity Kali Linux The problem is that it is optimized for pentesting, not for everyday use. This means that some Wi-Fi adapter drivers may not be present out of the box, and network managers (e.g., NetworkManager) sometimes work unstable. We'll show you how to bypass these limitations and achieve a stable connection, including rare cases where manual driver compilation is required.
Important: If you use Kali Linux in a virtual machine (for example, VirtualBox or VMware), the connection process will be different—we'll cover that in a separate section. And for those working with external Wi-Fi adapters (for example, Alfa AWUS036ACH or TP-Link TL-WN722N), we will provide specific recommendations for setting up.
1. Checking Wi-Fi adapter compatibility with Kali Linux
Before attempting to connect to the network, make sure your Wi-Fi adapter is supported by the system. Many built-in adapters (especially in laptops) Dell, HP or Lenovo) require proprietary drivers that are not included in the repositories Kali by default.
To check if the system recognizes your adapter, run the following in the terminal:
lspci -knn | grep -iA3 net
For USB adapters use:
lsusb
Pay attention to the lines that mention Network controller or WirelessIf the output contains words unclaimed or Kernel driver in use: none — the driver is missing. In this case, you will need to install it (more on that in the next section).
2. Installing and updating Wi-Fi drivers
If your adapter is not detected or is unstable, the problem is most likely with the drivers. Kali Linux uses the kernel Linux, and most of the drivers are already included in it, but for some chips (eg. Broadcom or Realtek RTL88x2bu) additional packages are required.
First, update the system and kernel:
sudo apt update && sudo apt full-upgrade -y
sudo reboot
For popular adapters, use the following commands:
- 🔹 Broadcom (often found in laptops MacBook, Dell XPS):
sudo apt install firmware-b43-installer - 🔹 Realtek RTL8188EU/RTL8192EU/RTL8812AU (external adapters TP-Link, Alfa):
sudo apt install realtek-rtl8188eus-dkms - 🔹 Intel (built-in adapters in Lenovo ThinkPad, HP EliteBook):
sudo apt install firmware-iwlwifi
If your adapter is not on this list, find its model in the output lspci or lsusb and look for the driver in the repositories:
apt search firmware-|dkms | grep -i [chip_model]
⚠️ Attention: Some adapters (eg. Realtek RTL88x2bu) require manual compilation of drivers from source code. In this case, keep an eye on dependencies and kernel versions—the driver may stop working when updating the system.
3. Configuring the network via NetworkManager (GUI and CLI)
NetworkManager — a standard tool for managing networks in Kali LinuxIt supports both a graphical interface and a command line. If you prefer to work without a GUI, all actions can be performed via the terminal.
Method 1: Graphical Interface (for Kali with Desktop)
- Click on the network icon in the upper right corner (next to the clock).
- Select the desired network from the list.
- Enter your password and click
Connect.
Method 2: Command Line (Universal Method)
View the list of available networks:
nmcli dev wifi list
Connect to the network (replace SSID And password):
nmcli dev wifi connect "SSID" password "password"
If NetworkManager not working or missing, please install it:
sudo apt install network-manager
Make sure the service is running: systemctl status NetworkManager
Check the list of networks: nmcli dev wifi
Restart the service if errors occur: sudo systemctl restart NetworkManager
Update configuration: sudo nmcli con reload-->
4. Connecting to Wi-Fi without NetworkManager (wpa_supplicant)
If NetworkManager refuses to work or you are using a minimal installation Kali Linux without GUI, you can connect to the network using wpa_supplicant — a standard tool for managing Wi-Fi in Linux.
First, check the name of your wireless interface:
ip a
Usually it is wlan0, wlp3s0 or something similar. Next, create a configuration file for wpa_supplicant:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Add the following to it (replace SSID And password):
network={ssid="SSID"
psk="password"
}
Now connect to the network:
sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
sudo dhclient wlan0
The first command starts wpa_supplicant in the background, the second one receives an IP address via DHCP.
⚠️ Attention: If there is no internet access after connecting, check the routes with the commandip routeThere may be no default route - add it manually:sudo ip route add default via [gateway].
5. Solving common Wi-Fi problems
Even after a successful connection, problems may arise: slow speed, frequent connection drops, or no internet. Let's look at typical cases and their solutions.
| Problem | Possible cause | Solution |
|---|---|---|
The adapter is not detected (wlan0 absent in ip a) |
The driver is missing or the adapter is disabled in the BIOS. | Install the driver (section 2), check the BIOS settings (Wireless LAN → Enabled) |
| There is a connection, but no internet | No IP address received or no default route found | Launch sudo dhclient wlan0 or check ip route |
| Low speed or frequent breaks | Channel interference, weak signal, or incorrect power saving settings | Change the channel on your router and disable power saving: iwconfig wlan0 power off |
| Authentication error | Incorrect password or incompatible encryption type (e.g. WPA3) | Check your password, try changing the encryption type on your router to WPA2-PSK |
If the problem persists, check the system logs:
journalctl -u NetworkManager --no-pager -n 50
Or for wpa_supplicant:
sudo wpa_cli -i wlan0 log_level debug
What should I do if my Wi-Fi adapter is detected but won't connect?
Sometimes the problem lies in the conflict between NetworkManager And wpa_supplicant. Try disabling it. NetworkManager:
sudo systemctl stop NetworkManager
sudo systemctl disable NetworkManager
Then try connecting again via wpa_supplicant (Section 4) If this helps, select one network management tool and disable the other to avoid conflicts.
6. Setting up Wi-Fi in a virtual machine (VirtualBox, VMware)
If you run Kali Linux In a virtual machine, connecting to Wi-Fi requires additional steps. By default, the virtual machine uses the host's network adapter, and to access wireless networks, you need to configure bridge mode or USB forwarding.
Method 1: Bridge Mode
- Shut down the virtual machine.
- In the network settings (VirtualBox:
Settings → Network) selectNetwork Bridge. - In the field
NamePlease specify your physical network adapter (e.g.wlan0). - Start the machine and connect to the network via NetworkManager or
wpa_supplicant.
Method 2: USB forwarding (for external adapters)
If you are using an external Wi-Fi adapter (for example, Alfa AWUS036ACH):
- Connect the adapter to the host machine.
- In the virtual machine settings (VirtualBox:
Settings → USB) add the device to the forwarding list. - Launch Kali Linux — the adapter will be available as a physical device.
⚠️ Attention: IN VMware To forward USB devices, you may need to disableUSB 3.0in the virtual machine settings and useUSB 2.0.
7. Optimizing Wi-Fi for Penetration Testing (Monitor Mode)
One of the key features Kali Linux is the ability to work with Wi-Fi in monitor mode (monitor mode), which is necessary for traffic analysis, network scanning, and security testing. However, not all adapters support this mode.
To enable monitor mode, run:
sudo airmon-ng check kill
sudo airmon-ng start wlan0
Check that the interface has switched to monitoring mode (usually called wlan0mon):
iwconfig
If the adapter does not support monitor mode, you will see an error SIOCSIFFLAGS: Operation not permittedIn this case:
- 🔹 Check adapter compatibility (list of supported chips: Atheros AR9271, Ralink RT3070, Realtek RTL8187).
- 🔹 Update the driver (section 2).
- 🔹 Try a different adapter (for example, Alfa AWUS036NHA with a chip Atheros AR9271).
To return to normal mode:
sudo airmon-ng stop wlan0mon
sudo systemctl start NetworkManager
8. Alternative connection methods (tethering, USB modem)
If you can't connect to Wi-Fi, you can use alternative methods of internet access:
- 📱 USB tethering from a smartphone:
- Connect your phone to your computer via USB.
- Turn on the modem mode in your phone settings (Android:
Settings → Network & Internet → Hotspot & Tethering). - IN Kali Linux check the new network device (
usb0oreth1) and get IP:
sudo dhclient usb0
- Connect your modem (for example, Huawei E3372 or ZTE MF823).
- Install
usb-modeswitch:
sudo apt install usb-modeswitch
lsusb) and set up a connection via NetworkManager.These methods are useful if the main Wi-Fi adapter is not working or a backup connection is needed.
FAQ: Frequently Asked Questions about Wi-Fi in Kali Linux
My Wi-Fi adapter isn't detected in Kali Linux. What should I do?
First check if the adapter is detected in another OS (for example, Windows or Ubuntu). If so, the problem is with the drivers. Install them according to Section 2. If the adapter doesn't work anywhere, check its physical connection or try a different USB port (for external adapters).
After updating Kali Linux, Wi-Fi stopped working. How can I fix it?
A kernel or package update may have broken the driver. Try:
- Reinstall the driver:
sudo apt install --reinstall [driver_package_name]. - Roll back to the previous kernel version (if the problem appeared after updating it).
- Check the logs:
dmesg | grep -i wifi.
Can I use Kali Linux to hack Wi-Fi?
Using Kali Linux for unauthorized access to networks is prohibited by law in most countries, including Russia (Article 272 of the Criminal Code of the Russian Federation). This OS is designed for legitimate security testing own networks with the owner's permission. Illegal use of tools like aircrack-ng or reaver may result in criminal liability.
How to increase Wi-Fi signal strength in Kali Linux?
The transmission power is regulated by the parameter txpower. View the current value:
iwconfig wlan0 | grep "Tx-Power"
To increase the power (for example, up to 30 dBm):
sudo iwconfig wlan0 txpower 30
Please note: exceeding the permitted transmission power may violate local laws (for example, in the Russian Federation the maximum permitted power for Wi-Fi is 100 mW or 20 dBm).
Kali Linux doesn't save Wi-Fi settings after reboot. Why?
If you connected via wpa_supplicant without NetworkManager, the settings are not saved automatically. To fix this:
- Edit
/etc/wpa_supplicant/wpa_supplicant.conf(add all networks you want to connect to). - Add autostart
wpa_supplicantV/etc/rc.local:
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
dhclient wlan0