-
-
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." |
I've just got it working on my MBAir running 4.13. I think 4.14 is similar in process. You'd need the 4.14 version of the files, and perhaps the gcc-7 versions (I'm not sure).
Download these files (you can use a web browser to download them)
http://old.kali.org/kali/pool/main/g/gcc-6/cpp-6_6.4.0-9_amd64.deb
http://old.kali.org/kali/pool/main/g/gcc-6/gcc-6-base_6.4.0-9_amd64.deb
http://old.kali.org/kali/pool/main/l/linux/linux-compiler-gcc-6-x86_4.13.10-1kali2_amd64.deb
http://old.kali.org/kali/pool/main/l/linux/linux-kbuild-4.13_4.13.10-1kali2_amd64.deb
http://old.kali.org/kali/pool/main/l/linux/linux-headers-4.13.0-kali1-common_4.13.10-1kali2_all.deb
http://old.kali.org/kali/pool/main/l/linux/linux-headers-4.13.0-kali1-amd64_4.13.10-1kali2_amd64.deb
Install the files in the above order using dpkg -i (if you don't install the cpp-6, gcc-6, and the compiler-gcc-6 in this order, you would run into the dependency problem)
Download and install the broadcom files (observe the order)
http://http.kali.org/pool/main/d/dkms/dkms_2.3-3_all.deb
http://http.kali.org/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-7_all.deb
install the files using dpkg -i
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl
@nikhil0269
have you found a solution for 4.14 kali ?
I just recently installed the latest version of Kali on a machine with a Broadcom (BCM43142) internal wifi card, and I too encountered a great deal of frustration, but I succeeded with all of the great advice above. I independently tracked down the files (like described above) from this directory: https://http.kali.org/kali/pool/
Here are the list of the names of the files I used in order to get my machine up and running for the kali 4.14.0-amd64:
http://http.kali.org/kali/pool/main/g/gcc-6/cpp-6_6.4.0-12_arm64.deb
http://http.kali.org/kali/pool/main/g/gcc-6/gcc-6-base_6.4.0-12_amd64.deb
http://http.kali.org/kali/pool/main/l/linux/linux-compiler-gcc-7-x86_4.14.13-1kali1_amd64.deb
http://http.kali.org/kali/pool/main/l/linux/linux-kbuild-4.14_4.14.13-1kali1_amd64.deb
http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.14.0-kali3-common_4.14.17-1kali1_all.deb
http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.14.0-kali3-all-amd64_4.14.13-1kali1_amd64.deb
http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.14.0-kali3-amd64_4.14.13-1kali1_amd64.deb
http://http.kali.org/pool/main/d/dkms/dkms_2.3-3_all.deb
http://http.kali.org/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-8_all.deb
I'm a noob at best, but Pallidium's protocol helped me walk through the procedure once I obtained these files. A special thanks to all who helped me solve this, cheers!
(Edited to fix links)
thanks, all
a few nights of frustration finally paid off ... @pallidium, @mkmorsin and @MooHiu solutions combined together did work for me even with some dependencies errors!
MacBook Air 2014 booted on Kali Linux Live USB (actually SD) with persistence (uname -r 4.14.0-kali3-amd64) / Broadcom BCM4360
note that some of those packages were moved to http://old.kali.org/kali/pool/main/l/linux/
time to rock-and-roll!)
Can someone help me with the issue. I am stuck. I use 2018.1 amd64 and getting the modeprobe wl error
Is there an update for this tried a combination of all of these but getting modprobe: ERROR: could not insert 'wl': Unknown symbol in module, or unknown parameter (see dmesg)
Hi all ,
I created a live USB persistence encrypted on 4.14.0 version 2018.1, and tried installing these on my MacBook air 2013:
gcc-6-base
cpp-6_6.4.0
linux-compiler-gcc-7
linux-compiler-gcc-6
kbuild-4.14.17
header-common-4.14.17
header-amd64-4.14.17
dkms-2.3
broadcom-sta-dkms
it all got through, but after module wl it showed:
modprobe: ERROR: could not insert 'wl': Unknown symbol in module, or unknown parameter (see dmesg)
dmesg shows :
unknown symbol : __x86_indirect_thunk_rax
help me please, I have stuck for a week now
Thanks
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
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
All these are not found. I face a lot of problem while installing wifi driver.
Help me.
Any solutions for-> 4.14.0-kali3-amd64