DEV Community

brlikhon
brlikhon

Posted on

Troubleshooting Wi-Fi Adapter Detection in Kali Linux

Introduction:
In this guide, we'll walk you through the steps to resolve the issue of a Wi-Fi adapter not being detected in Kali Linux. We'll start by downloading and installing the necessary drivers to enable your Wi-Fi adapter. This process involves unloading and reloading services and installing compatible drivers to ensure you can connect to available Wi-Fi networks.

Step 1: Download the Compatible Drivers
Visit the following website to download a suitable version of compatible drivers for your system: dev.gateworks.com/sources.
Image description
Step 2: Open the Terminal and Navigate to the Download Directory
After downloading the drivers, open your terminal and navigate to the directory where the downloaded file is located. You can use the 'ls' command to list the files in that folder:

cd /path/to/your/download/directory
ls
Enter fullscreen mode Exit fullscreen mode

Step 3: Decompress the Downloaded File
Decompress the downloaded file using the 'tar' command. Replace with the actual filename. For example:

tar -jxvf <name of the file>
# For example:
tar -jxvf compat-wireless-2010-07-06.tar.bz2
Enter fullscreen mode Exit fullscreen mode

Step 4: Move to the Decompressed Directory
Navigate to the directory where the files have been decompressed. Replace with the actual directory name. For example:

cd <name of the directory>
# For example:
cd compat-wireless-2010-07-06

Enter fullscreen mode Exit fullscreen mode

Step 5: Unload Services
To prepare for driver installation, unload the services using the following command:

sudo make unload
Enter fullscreen mode Exit fullscreen mode

Step 6: Load Services
Activate the services again with the following command:

sudo make load
Enter fullscreen mode Exit fullscreen mode

Step 7: Install Required Packages
To ensure proper functionality, install the necessary packages using the following command:

sudo apt install -y linux-headers-$(uname -r) build-essential dkms git libelf-dev
Enter fullscreen mode Exit fullscreen mode

Step 8: Clone the Git Repository
Clone the Git repository containing the drivers you need for your Wi-Fi adapter:

git clone https://github.com/morrownr/8814au
cd 8814au
Enter fullscreen mode Exit fullscreen mode

Step 9: Make the Installation Script Executable
Locate the 'install-drivers.sh' file in the directory, make it executable, and run it:

sudo chmod +x install-drivers.sh
sudo ./install-drivers.sh
Enter fullscreen mode Exit fullscreen mode

Step 10: Driver Configuration and Reboot
During the driver installation process, you may be asked if you want to edit driver options. Type 'n' for no and press Enter. After the installation is complete, you will be prompted to reboot. Type 'Y' and press Enter to restart your system.

Conclusion:
After completing these steps, your Kali Linux machine should detect nearby Wi-Fi networks. You can now connect to available Wi-Fi networks and enjoy a fully functional Wi-Fi adapter.

Top comments (0)