Skip to content

Instantly share code, notes, and snippets.

@torresashjian
Last active May 13, 2023 12:36
  • Star 21 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
How to install Broadcom BCM43142 Drivers on Kali Linux
apt-get update
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl
@gabok
Copy link

gabok commented Aug 7, 2017

It worked, thank you !!

@Balaji2682
Copy link

Thank you !!. Finally its worked .

@eduls91nl
Copy link

Thank you so much!! Problem solved!

@sandyy2211
Copy link

modprobe: FATAL: Module wl not found in directory /lib/modules/4.9.0-kali3-amd64

@ismuhadi15
Copy link

i have a linux-headers-686-pae is already the newest version (3.16+63).
broadcom-sta-dkms is already the newest version (6.30.223.248-3).
linux-image-686-pae is already the newest version (4.9+79+kali2).
but at me launch "modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
& modprobe wl"

i get notice "modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl"

please someone :(

@tonmoygs
Copy link

tonmoygs commented Feb 5, 2018

Whenever I run that line,
apt-get install linux-image-$(uname -r|sed 's,[^-]-[^-]-,,') linux-headers-$(uname -r|sed 's,[^-]-[^-]-,,') broadcom-sta-dkms
It gives me unable to locate broadcom-sta-dkms.
Where is the problem and what is solution??

@best-tech
Copy link

best-tech commented Feb 13, 2018

apt update && apt dist-upgrade
apt install gdebi linux-headers-4.14.0-kali3-amd64
wget http://ftp.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-7_all.deb
gdebi broadcom-sta-dkms_6.30.223.271-7_all.deb
modprobe wl
2018.1

before airmon-ng it turned out wlan0mon and now wlan0 and prism0 how to fix it?

@sheep-wreck
Copy link

I tried all the above and nothing works. Two days now I try and nothing.. Please help

Copy link

ghost commented Feb 20, 2018

Ya last one works for me on 2018.1 but previous versions are support 1st one,Thanks i try lot time to do update and restart again and again

@karencho777
Copy link

Hello can you please help me, i have installed Kali linux 2018.1 on my USB with 16 GB sd card , so it is working but there is no installed Broadcom driver ... now i have tried everything you write above but always get the same error : modprobe: ERROR: could not insert 'wl': Unknown symbol in module, or unknown parameter (see dmesg).... please help

@aadi01
Copy link

aadi01 commented Apr 2, 2018

hello,
i have installed kali and even after updating it always shows this
Package linux-headers-4.14.0-kali3-amd64 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-4.14.0-kali3-amd64' has no installation candidate.
please help me to install headers and wlan available to me.

@Burnedghost
Copy link

If you cant apt update try disabling you anti-virus.
I couldnt get it to update because my anti-virus on my real pc was blocking the website it needs to connect to on my VM.

@k1br1a
Copy link

k1br1a commented Apr 16, 2018

Hey there, I am also facing the same problem with 2018.1. I think installing with USB has something to do with this. Can you share your sources.list file with us here? I know there is one in the kali.org official site but I want to see one yours. I am also getting the no installation candidate error. Help plz.

@ramesh88patel
Copy link

guys facing the same issues since i m using kali linux. all the above mentioned solution didn't work for me. using by vbox. please help for wifi driver install.

@aurora-anon
Copy link

Worked brilliantly on my Kali.
Both my WiFi and Bluetooth are now working.

@qnagr
Copy link

qnagr commented Nov 17, 2018

apt update && apt dist-upgrade
apt install gdebi linux-headers-4.14.0-kali3-amd64
wget http://ftp.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-7_all.deb
gdebi broadcom-sta-dkms_6.30.223.271-7_all.deb
modprobe wl
2018.1

before airmon-ng it turned out wlan0mon and now wlan0 and prism0 how to fix it?

Is this what works now for the latest Kali version? Trying it out now.

@narendrajb
Copy link

I have found a way to download the packages on a different laptop and install them on the Kali Linux 2019 laptop to fix the WIFI driver issue for Broadcom BCM43142

download dkms package from https://packages.debian.org/sid/all/dkms/download
download the Broadcom BCM43142 drivers from https://debian.pkgs.org/10/debian-nonfree-amd64/broadcom-sta-dkms_6.30.223.271-10_all.deb.html

Copy the Packages to the Kali Linux laptop and install them

sudo dpkg -i dkms_2.7.1-1_all.deb
sudo dpkg -i broadcom-sta-dkms_6.30.223.271-10_all.deb

I have wasted a lot of time on this and hope this helps someone solve their problems faster!

@okertatilus
Copy link

2019.4 worked thanks.
2020.1 cant worked.

@chrismoranpy
Copy link

took me 2 days to figure the problem and find you - your an absolute legend thanks man

@salaiaungmyintmyat
Copy link

It worked on 2020.2 Kali Linux using Broadcom (BCM43142) wifi card.
The commands I used is the upper one. Thank you for this command!

apt-get update
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl

If it get this error when typing "modprob wl"...

modprobe: FATAL: Module wl not found in directory /lib/modules/n.n.n-kalin-amd64

Then, for my laptop, it just need to reboot PC and it successfully installed on the PC.
Problem solved!

@Lebsasha
Copy link

For Debian Buster, it also works as well. Thank you for these commands!

@SAIKIRAN-MADALA
Copy link

It worked on 2020.2 Kali Linux using Broadcom (BCM43142) wifi card.
The commands I used is the upper one. Thank you for this command!

apt-get update
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl

If it get this error when typing "modprob wl"...

modprobe: FATAL: Module wl not found in directory /lib/modules/n.n.n-kalin-amd64

Then, for my laptop, it just need to reboot PC and it successfully installed on the PC.
Problem solved!

Thanks it worked for me

@JuanOsDu
Copy link

that worked for me, it just needed a reboot

@jusserande
Copy link

It worked for me as well. No need to reboot or any additional operation. Thank you so much!

@xxrenato
Copy link

Grateful!

@H-Sorkatti
Copy link

Thanks a lot. Worked like a charm.

@m0nster-kali
Copy link

cant thank you enough, finally worked, i tried like 7 different ways before this, hope you have a wonderful day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment