Wifi adapter not working Kali linux
Solution 1
I got the solution. We just have to upgrade our distro and kali now has provided the fix.
apt-get -yf install dist-upgrade now this will take some time and your problem will be fixed.
Solution 2
Nearly all of hp laptops have this issue , it's the wifi adapter which only has one antenna and so you need to install a different firmware. I have to do it again and again so I made a script. Plug an Ethernet connection using USB tethering and
make a file fixwifi.sh using
nano fixwifi.sh
Copy the contents
apt install linux-headers-$(uname -r) git build-essential dkms
git clone git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
sudo dkms add ./rtlwifi_new
sudo dkms install rtlwifi-new/0.6
sudo modprobe -r rtl8723de && sudo modprobe rtl8723de
echo "options rtl8723de ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723de.conf
Save the file with
Ctrl+s and Ctrl+x
Execute it using
chmod +x fixwifi.sh && ./fixwifi.sh
and you are good to go.
Chirag
Updated on September 18, 2022Comments
-
Chirag over 1 year
I have searched alot and everywhere the issues are with the kali os ran through virtual machines. I have installed Kali linux latest version 2016.1 on my laptop. And its the single os on my laptop, still the wifi is not showing. I have checked ifconfig it shows only loopback and ethernet adapter and on iwconfig it says there are no such adapter. But my laptop has wirekess adapters. I am looking for the solution please help! I checked compat wireless, it only shows wlan0 but doesn't work.
-
GAD3R almost 8 yearsPlease add the output of
lspci -knn | grep Net -A2
-
-
Chirag almost 8 yearsHow to install those drivers? I tried but the problem wasn't solved.
-
Steven Lee - MSFT almost 8 years@Chirag The manufacture should provide the guide about how to compile and install it manually. If there is a binary package, just install it and load the module. Here is a good guide: wiki.debian.org/WiFi
-
Anubhav Gupta almost 4 yearsThe master branch of this repo is officially abandoned. If you are running a kernel newer than 5.0, use the drivers built into your kernel. That is a lot less work. git checkout origin/rtw88 -b rtw88