Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kali Linux fix for "modprobe: FATAL: Module wl not found"
# 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."
@subokita

This comment has been minimized.

Copy link

@subokita subokita commented Nov 17, 2016

Sadly I don't think those kbuild, common, and amd64 links are there anymore.

@and123w

This comment has been minimized.

Copy link

@and123w and123w commented Dec 7, 2016

Unfortunately it no longer works - any idea how to fix this broadcom issue?

@ychenbioinfo

This comment has been minimized.

Copy link

@ychenbioinfo ychenbioinfo commented Dec 8, 2016

Here are some updates that I made it work, I had some errors when I run "dpkg -i linux-headers-4.6.0-kali1-amd64_4.6.4-1kali1_amd64.deb", but it actually works...

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.6_4.6.4-1kali1_amd64.deb
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.6.0-kali1-common_4.6.4-1kali1_amd64.deb
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.6.0-kali1-amd64_4.6.4-1kali1_amd64.deb

Install with correct order

dpkg -i linux-kbuild-4.6_4.6.4-1kali1_amd64.deb
dpkg -i linux-headers-4.6.0-kali1-common_4.6.4-1kali1_amd64.deb
dpkg -i linux-headers-4.6.0-kali1-amd64_4.6.4-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 :)

echo "WI-FI work now!"
echo "Don't forget to enable network-manager: nano /etc/NetworkManager/NetworkManager.conf to true and restart the service."

@Susanou

This comment has been minimized.

Copy link

@Susanou Susanou commented Aug 20, 2017

The packages supposed to fix the wl not found don't seem to exist anymore. Do you have any other solution either to find them or to fix the problem again?

@kunal4145

This comment has been minimized.

Copy link

@kunal4145 kunal4145 commented Sep 5, 2017

Try these:

wget http://http.kali.org/kali/pool/main/l/linux/linux-kbuild-4.9_4.9.18-1kali1_amd64.deb
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.9.0-kali3-common_4.9.18-1kali1_all.deb
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.9.0-kali3-amd64_4.9.18-1kali1_amd64.deb

dpkg -i linux-kbuild-4.9_4.9.18-1kali1_amd64.deb
dpkg -i linux-headers-4.9.0-kali3-common_4.9.18-1kali1_all.deb
dpkg -i linux-headers-4.9.0-kali3-amd64_4.9.18-1kali1_amd64.deb

apt-get install broadcom-sta-dkms

modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl

@ktec

This comment has been minimized.

Copy link

@ktec ktec commented Sep 14, 2017

👍 💯 🥇

@konscht

This comment has been minimized.

Copy link

@konscht konscht commented Sep 19, 2017

@kunal4145
You are my saviour!

@m0len

This comment has been minimized.

Copy link

@m0len m0len commented Sep 20, 2017

Thank you very much!! Trust me, I was stucked all night and THIS is the ONLY SOLUTION!!

@bobbybdennis

This comment has been minimized.

Copy link

@bobbybdennis bobbybdennis commented Oct 5, 2017

is anyone else having a problem with this? I tried the most recent answer that seems to have other people getting it to work but i am still getting a error 404.

@llwwbbpp

This comment has been minimized.

Copy link

@llwwbbpp llwwbbpp commented Oct 6, 2017

@bobbybdennis; same here =/

@gagaltotal

This comment has been minimized.

Copy link

@gagaltotal gagaltotal commented Oct 20, 2017

link error?
http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.9.0-kali3-common_4.9.18-1kali1_all.deb
http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.9.0-kali3-amd64_4.9.18-1kali1_amd64.deb

fuckk !! report developer

just one path that should be done guys, you have to upgrade the kernel
and reinstall linux-header versions according to your new kernel

solved run in virtualbox

@Dipenluitel03

This comment has been minimized.

Copy link

@Dipenluitel03 Dipenluitel03 commented Oct 22, 2017

what about solution for kali linux 4.13.0

@lakty

This comment has been minimized.

Copy link

@lakty lakty commented Nov 4, 2017

And now what?
I need Kali on my mac!!

@B0rk

This comment has been minimized.

Copy link

@B0rk B0rk commented Nov 5, 2017

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

@paulaolmedo

This comment has been minimized.

Copy link

@paulaolmedo paulaolmedo commented Nov 5, 2017

This also works on Asus notebooks (with Broadcom BCM43142) ... if anyone wanted to know.
Thanks @B0rk!!

@ryan111199

This comment has been minimized.

Copy link

@ryan111199 ryan111199 commented Nov 6, 2017

Thanks @B0rk

@jkryanchou

This comment has been minimized.

Copy link

@jkryanchou jkryanchou commented Nov 22, 2017

Why The 4.9.0 version packages does't exists in the pool any more?

@unruly1

This comment has been minimized.

Copy link

@unruly1 unruly1 commented Nov 27, 2017

the 4.6.0 and the 4.9.0 and the 4.12.0 packages no longer exist so all potential solutions in this thread no longer work.
I attempted substituting the 4.13.0 packages for the 4.12.0 packages since I installed kali linux 2017.3 in a dual boot configuration on my 11 inch 2015 Macbook air but they don't match perfectly and it resulted in module wl not found.

anyone have any updated instructions for 4.13 or have access to the 4.12 packages to get B0rk's solution to work?
thanks

@mmaul8

This comment has been minimized.

Copy link

@mmaul8 mmaul8 commented Dec 14, 2017

how to solve it help me please

dpkg -i linux-headers-4.13.0-kali1-amd64_4.13.10-1kali2_amd64.deb

Selecting previously unselected package linux-headers-4.13.0-kali1-amd64.
(Reading database ... 339118 files and directories currently installed.)
Preparing to unpack linux-headers-4.13.0-kali1-amd64_4.13.10-1kali2_amd64.deb ...
Unpacking linux-headers-4.13.0-kali1-amd64 (4.13.10-1kali2) ...
dpkg: dependency problems prevent configuration of linux-headers-4.13.0-kali1-amd64:
linux-headers-4.13.0-kali1-amd64 depends on linux-compiler-gcc-6-x86; however:
Package linux-compiler-gcc-6-x86 is not installed.

dpkg: error processing package linux-headers-4.13.0-kali1-amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-4.13.0-kali1-amd64

i got install linux-compiler-gcc-6-x86_4.13.10-1kali2_amd64.deb, but new troble is coming

dpkg -i linux-compiler-gcc-6-x86_4.13.10-1kali2_amd64.deb

Selecting previously unselected package linux-compiler-gcc-6-x86.
(Reading database ... 346695 files and directories currently installed.)
Preparing to unpack linux-compiler-gcc-6-x86_4.13.10-1kali2_amd64.deb ...
Unpacking linux-compiler-gcc-6-x86 (4.13.10-1kali2) ...
dpkg: dependency problems prevent configuration of linux-compiler-gcc-6-x86:
linux-compiler-gcc-6-x86 depends on gcc-6; however:
Package gcc-6 is not installed.

dpkg: error processing package linux-compiler-gcc-6-x86 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-compiler-gcc-6-x86

@pallidium

This comment has been minimized.

Copy link

@pallidium pallidium commented Dec 15, 2017

i install it, we need manually download from http://http.kali.org/kali/pool/main/l/linux/
broadcom-sta-dkms_6.30.223.271-3~16.04.2_all.deb
linux-compiler-gcc-6-x86_4.13.10-1kali2_amd64.deb
linux-compiler-gcc-6-x86_4.13.13-1kali1_amd64.deb
linux-headers-4.13.0-kali1-all_4.13.10-1kali2_amd64.deb
linux-headers-4.13.0-kali1-all-amd64_4.13.10-1kali2_amd64.deb
linux-headers-4.13.0-kali1-all-amd64_4.13.13-1kali1_amd64.deb
linux-headers-4.13.0-kali1-amd64_4.13.13-1kali1_amd64.deb
linux-headers-4.13.0-kali1-common_4.13.10-1kali2_all.deb
linux-headers-4.13.0-kali1-common_4.13.13-1kali1_all.deb
linux-kbuild-4.13_4.13.10-1kali2_amd64.deb

then apt install ./
dpkg -i
apt --fix
then next instal

@lakty

This comment has been minimized.

Copy link

@lakty lakty commented Dec 15, 2017

@pallidium KALI 2017.3 ???

@makakin

This comment has been minimized.

Copy link

@makakin makakin commented Dec 21, 2017

not working on Kali 2017.3 T^T

@XSkid420X

This comment has been minimized.

@nikhil0269

This comment has been minimized.

Copy link

@nikhil0269 nikhil0269 commented Feb 3, 2018

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

@MooHiu

This comment has been minimized.

Copy link

@MooHiu MooHiu commented Feb 5, 2018

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

@ccamol

This comment has been minimized.

Copy link

@ccamol ccamol commented Feb 20, 2018

@nikhil0269
have you found a solution for 4.14 kali ?

@mkmorsin

This comment has been minimized.

Copy link

@mkmorsin mkmorsin commented Feb 26, 2018

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)

@bereska

This comment has been minimized.

Copy link

@bereska bereska commented Apr 15, 2018

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!)

@k1br1a

This comment has been minimized.

Copy link

@k1br1a k1br1a commented Apr 16, 2018

Can someone help me with the issue. I am stuck. I use 2018.1 amd64 and getting the modeprobe wl error

@haza1608

This comment has been minimized.

Copy link

@haza1608 haza1608 commented Apr 24, 2018

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)

@kaushtuk

This comment has been minimized.

Copy link

@kaushtuk kaushtuk commented Apr 25, 2018

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

@josete-kali

This comment has been minimized.

Copy link

@josete-kali josete-kali commented Sep 9, 2018

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

@ramazans

This comment has been minimized.

Copy link

@ramazans ramazans commented Sep 24, 2018

Thanks, It's works :)

@k-amin07

This comment has been minimized.

Copy link

@k-amin07 k-amin07 commented Sep 27, 2018

thanks (y)

@sodonnell

This comment has been minimized.

Copy link

@sodonnell sodonnell commented Oct 11, 2018

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

@magnusviri

This comment has been minimized.

Copy link

@magnusviri magnusviri commented Oct 18, 2018

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

@melvin-hacked

This comment has been minimized.

Copy link

@melvin-hacked melvin-hacked commented Jul 6, 2020

I have been trying different solutions and all disappointed me,, this worked. thank you

@recherche-shafeeq

This comment has been minimized.

Copy link

@recherche-shafeeq recherche-shafeeq commented Aug 6, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.