-
-
Save speeddragon/2d4ea420a8a53407cb8218fa28c2a74b to your computer and use it in GitHub Desktop.
# Update and install necessary packages | |
apt-get update | |
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') | |
# Download some extra packages, that do the trick for "wl module not found" | |
wget http://http.kali.org/kali/pool/main/l/linux-tools/linux-kbuild-4.3_4.3.1-2kali1_amd64.deb | |
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.3.0-kali1-common_4.3.3-5kali4_amd64.deb | |
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.3.0-kali1-amd64_4.3.3-5kali4_amd64.deb | |
# Install with correct order | |
dpkg -i linux-kbuild-4.3_4.3.1-2kali1_amd64.deb | |
dpkg -i linux-headers-4.3.0-kali1-common_4.3.3-5kali4_amd64.deb | |
dpkg -i linux-headers-4.3.0-kali1-amd64_4.3.3-5kali4_amd64.deb | |
# Install broadcom drivers | |
apt-get install broadcom-sta-dkms | |
# Enable modules and disabled unnecessary ones | |
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma | |
modprobe wl | |
# Done :) | |
echo "WI-FI work now!" | |
echo "Don't forget to enable network-manager: nano /etc/NetworkManager/NetworkManager.conf to true and restart the service." |
Thanks, It's works :)
thanks (y)
I was trying to get this working on kali 4.17, running in VirtualBox on my MacBook Pro, and then suddenly my hopes were crushed...
https://www.quora.com/How-do-I-use-a-Mac-internal-wireless-card-for-Kali-Linux-running-on-Oracle-VirtualBox-to-use-Aircrack-ng
Almost willing to try these suggested adapters, though...
https://www.wirelesshack.org/backtrack-compatible-adapters
I updated the links, converted to variables, moved modprobe -r ...
to the start, added apt-get -y --fix-broken install
, and made it so it will stop if there's an error.
https://gist.github.com/magnusviri/f0f60879e1643eba03d3ba9b2e63663b
I have been trying different solutions and all disappointed me,, this worked. thank you
It worked for me in kali linux 2020.3 version.
I download linux-kbuild-5.7_5.7.6-1kali2_amd64.deb
linux-headers-5.7.0-kali1-common_5.7.6-1kali2_all.deb
linux-headers-5.7.0-kali1-amd64_5.7.6-1kali2_amd64.deb
from http://http.kali.org/kali/pool/main/l/linux/
manually just by clicking not by wget
to my ~/home
directory(it can be any directory )
and then
Install with correct order
sudo dpkg -i linux-kbuild-5.7_5.7.6-1kali2_amd64.deb
sudo dpkg -i linux-headers-5.7.0-kali1-amd64_5.7.6-1kali2_amd64.deb
sudo dpkg -i linux-headers-5.7.0-kali1-common_5.7.6-1kali2_all.deb
Install broadcom drivers
sudo apt-get install broadcom-sta-dkms
Enable modules and disabled unnecessary ones
sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
sudo modprobe wl
Thanks. I just use this part to solve slow connection issue on kali 2020.3 with BCM4313
Install broadcom drivers
apt-get install broadcom-sta-dkms
Enable modules and disabled unnecessary ones
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl
Hi everyone,
I found an other option to reinstall everything only using the version number, so you won't have to look for url in kali.
Type :
uname -r
Then :
sudo apt-get install linux-headers- "yourversion"
example for me :
sudo apt-get install linux-headers- 5.16.0
Then follow the rest :
Install broadcom drivers
sudo apt-get install broadcom-sta-dkms
Enable modules and disabled unnecessary ones
sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
sudo modprobe wl
Wifi works after that for me.
Ok, here's what you need to do in order to find your CORRECT wireless drivers for your Mac. Open Terminal and run:
uname -r
This will give you the version you will need to look for in the Kali repository. In Firefox ESR, browse to http://http.kali.org/kali/pool/main/l/linux/ Find the files with your version found with the uname -r command and copy and replace the ones in the wget and dpkg sections of the above with the files you find.
Here was how mine was for the latest Kali 2017.2 amd64 version on my Mid 2013 MacBook Air
wget http://http.kali.org/kali/pool/main/l/linux/linux-kbuild-4.12_4.12.13-1kali2_amd64.deb wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.12.0-kali1-common_4.12.6-1kali6_all.deb wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.12.0-kali1-amd64_4.12.6-1kali6_amd64.deb dpkg -i linux-kbuild-4.12_4.12.13-1kali2_amd64.deb dpkg -i linux-headers-4.12.0-kali1-common_4.12.6-1kali6_all.deb dpkg -i linux-headers-4.12.0-kali1-amd64_4.12.6-1kali6_amd64.deb apt-get install broadcom-sta-dkms modprobe -r b44 b43 b43legacy ssb brcmsmac bcma modprobe wl
After that I was able to get mine working properly and also works after a reboot. I just created a shell script to download the files and dpkg them. I had to manually run the modprobe commands after the shell script finished.
Hope this helps.
-B0rk
THANK YOU SO MUCH!!
Since I had to do that too and the dependencies are annoying but this thread seems to be the go to.
Kali 6.5.0 on a late 2013 macbook pro retina.
Here basically the updated installation Order. Just do sudo wget -> sudo dpkg -i for each entry, the dpkg entry obviously just the name.
DH-DKMS and DKMS need to be the same version, that is why the dkms version is not the latest, since I overlooked it. you can probably get away with making sure both have the latest version which is currently 3.0.12 but 3.0.6 worked for me.
http://http.kali.org/kali/pool/main/l/linux/linux-kbuild-6.5.0-kali3_6.5.6-1kali1_amd64.deb
http://http.kali.org/kali/pool/main/l/linux/linux-headers-6.5.0-kali3-common_6.5.6-1kali1_all.deb
(Dependency for "linux headers")
http://http.kali.org/kali/pool/main/l/linux/linux-compiler-gcc-13-x86_6.5.6-1kali1_amd64.deb
http://http.kali.org/kali/pool/main/l/linux/linux-headers-6.5.0-kali3-amd64_6.5.6-1kali1_amd64.deb
(Dependency for "dkms")
https://kali.download/kali/pool/main/d/dctrl-tools/dctrl-tools_2.24-3+b1_amd64.deb
http://old.kali.org/kali/pool/main/d/dkms/dh-dkms_3.0.6-4_all.deb
(Dependency for broadcom-sta-dkms)
http://old.kali.org/kali/pool/main/d/dkms/dkms_3.0.6-4_all.deb
http://http.kali.org/kali/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23_all.deb
Here is the full procedure in 3 steps:
sudo wget http://http.kali.org/kali/pool/main/l/linux/linux-kbuild-6.5.0-kali3_6.5.6-1kali1_amd64.deb ; sudo wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-6.5.0-kali3-common_6.5.6-1kali1_all.deb ; sudo wget http://http.kali.org/kali/pool/main/l/linux/linux-compiler-gcc-13-x86_6.5.6-1kali1_amd64.deb ; sudo wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-6.5.0-kali3-amd64_6.5.6-1kali1_amd64.deb ; sudo wget https://kali.download/kali/pool/main/d/dctrl-tools/dctrl-tools_2.24-3+b1_amd64.deb ; sudo wget http://old.kali.org/kali/pool/main/d/dkms/dh-dkms_3.0.6-4_all.deb ; sudo wget http://old.kali.org/kali/pool/main/d/dkms/dkms_3.0.6-4_all.deb ; sudo wget http://http.kali.org/kali/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23_all.deb
sudo dpkg -i linux-kbuild-6.5.0-kali3_6.5.6-1kali1_amd64.deb ; sudo dpkg -i linux-headers-6.5.0-kali3-common_6.5.6-1kali1_all.deb ; sudo dpkg -i linux-compiler-gcc-13-x86_6.5.6-1kali1_amd64.deb ; sudo dpkg -i linux-headers-6.5.0-kali3-amd64_6.5.6-1kali1_amd64.deb ; sudo dpkg -i dctrl-tools_2.24-3+b1_amd64.deb ; sudo dpkg -i dh-dkms_3.0.6-4_all.deb ; sudo dpkg -i dkms_3.0.6-4_all.deb ; sudo dpkg -i broadcom-sta-dkms_6.30.223.271-23_all.deb
sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma ; sudo modprobe wl
7/09/2018 and works with version:
uname -a
Linux kali 4.17.0-kali1-amd64 #1 SMP Debian 4.17.8-1kali1 (2018-07-24) x86_64 GNU/Linux
Update and install necessary packages
apt-get update
apt-get install linux-image-$(uname -r|sed 's,[^-]-[^-]-,,') linux-headers-$(uname -r|sed 's,[^-]-[^-]-,,')
Download some extra packages, that do the trick for "wl module not found"
wget http://http.kali.org/kali/pool/main/l/linux/linux-kbuild-4.17_4.17.17-1kali1_amd64.deb
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.17.0-kali1-common_4.17.8-1kali1_all.deb
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.17.0-kali1-amd64_4.17.8-1kali1_amd64.deb
Install with correct order
dpkg -i linux-kbuild-4.17_4.17.17-1kali1_amd64.deb
dpkg -i linux-headers-4.17.0-kali1-common_4.17.8-1kali1_all.deb
dpkg -i linux-headers-4.17.0-kali1-amd64_4.17.8-1kali1_amd64.deb
Install broadcom drivers
apt-get install broadcom-sta-dkms
Enable modules and disabled unnecessary ones
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl
Done :), now Works again