Installing WIFI Driver’s in Kali Linux and in other Linux Distribution’s
A step-by-step guide explaining the installation of WiFi Drivers in Kali Linux.
Whenever we switch to any of the Linux OS the first thing that we need to do is to update and upgrade the distribution of the OS. So that it will not create any issues in the future and also we can use the new features that were released.
To update and upgrade the distributions use the following commands in your terminal.
$ sudo apt-get update$ sudo apt-get dist-upgrade
Once you update and upgrade the OS restart the machine and check the wifi connection and other features like sound, graphics, and ethernet are working fine.
If still, the wifi connectivity problem persists then we can follow the below operations:
- Open NetworkManager.conf file in any text editor with root user
- To grant permission as the root user :
sudo su
- To open the file:
vim /etc/NetworkManager/NetworkManager.conf
- Add the next two lines:
[device]
wifi.scan-rand-mac-address=no
- Execute:
sudo systemctl restart NetworkManager
nmcli r wifi off
→To turn off WiFi
nmcli r wifi on
→ To turn on WiFi
nmcli d wifi list
→ To check the available WiFi networks
If you don’t know for sure if the password you provided is right, connect again:
nmcli dev wifi con "wifi name" password "wifi password"
Nota bene: Don’t forget the ""
on the name and the password.
Or try to reconnect to the WiFi: nmcli con up <wifi name>
If still the wifi connectivity problem doesn’t get resolved then we need to install the Wifi drivers for the wifi devices. To download the wifi drivers follow the below steps
BroadcomInstaller2021
Automated Shell Script Install WiFi Driver ( Broadcom ) for Kali Linux 2021
#Broadcom Wifi Driver (802.11n) Broadcom 802.11n Network Adapter is a software program developed by Broadcom.
The software is designed to connect to the Internet and adds a Windows Firewall exception in order to do so without being interfered with.
Download Broadcom Installer :
https://github.com/TadakaSuryaTeja/BroadcomInstaller2021.git
usage :
$ cd Desktop git clone https://github.com/TadakaSuryaTeja/BroadcomInstaller2021.git
$ cd BroadcomInstaller2021 chmod +x ./Broadcom.sh
$ ./Broadcom.sh
- Install Wifi Driver
- Show Commands
- Quit Please enter your choice:
Note: Once installation is done it will restart your system
If still the problem persists then follow the below link and download the wifi driver for the device you are using.