Skip to content

Instantly share code, notes, and snippets.

@torresashjian
Last active March 20, 2024 19:56
  • Star 26 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
Save torresashjian/7a89ee428d47ff747b3114b0d686de0a to your computer and use it in GitHub Desktop.
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
@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

@noxvx
Copy link

noxvx commented Jun 9, 2023

Its work thanks alot

@sohanatrana
Copy link

Thanks. it works in 2023

@Johananjaratiana
Copy link

What can I do with kali 2023?

@SAHILDUDHAL21
Copy link

SAHILDUDHAL21 commented Sep 29, 2023

wl not not found
Kali 2023.3

Edit:
It solved I installed.
firmware-b43-installer

And wifi in working

@Aleisistan
Copy link

Hello:
type this for the Kali 2023.3
sudo apt install kali-tools-wireless

@coldsud
Copy link

coldsud commented Jan 11, 2024

Jan 2024
I installed Kali linux from a usb stick which caused some issues.
In order for for the below commands to work on my installation of kali linux i first had to follow this guide (https://stackoverflow.com/a/61695922)
and then utilized the below commands to get my asus PCE-AC68 wireless adapter (Broadcom BCM4360 ) to work properly. Thank you so much!

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

@daniele777
Copy link

apt-get install linux-image-$(uname -r|sed 's,[^-]-[^-]-,,') linux-headers-$(uname -r|sed 's,[^-]-[^-]-,,') broadcom-sta-dkms

unable to locate broadcom-sta-dkms help

@washingtonbjj
Copy link

I need this wireless network driver brcm 4364b3 for macbook pro 2019

@samannan20
Copy link

samannan20 commented Mar 7, 2024

which repository do you guys add to sources.list to install broadcom-sta-dkms?

@samannan20
Copy link

wget http://ftp.de.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-10_all.deb
should get it for you

@samannan20
Copy link

samannan20 commented Mar 7, 2024

finally figured out for broadcom 43142 users
sudo su
cd
apt update
apt-get install gdebi linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
wget http://ftp.de.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23_all.deb
gdebi broadcom-sta-dkms_6.30.223.271-23_all.deb
modprobe wl

@kantoAymeric
Copy link

finally figured out for broadcom 43142 users sudo su cd apt update apt-get install gdebi linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') wget http://ftp.de.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23_all.deb gdebi broadcom-sta-dkms_6.30.223.271-23_all.deb modprobe wl

i have teat it but nothing does matter pleas explain me why?

@samannan20
Copy link

finally figured out for broadcom 43142 users sudo su cd apt update apt-get install gdebi linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') wget http://ftp.de.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23_all.deb gdebi broadcom-sta-dkms_6.30.223.271-23_all.deb modprobe wl

i have teat it but nothing does matter pleas explain me why?

cd /etc/NetworkManager
nano NetworkManager.conf
change "managed" to true

also try installing some kali network firmwares
apt install firmware-b43-installer

@samannan20
Copy link

finally figured out for broadcom 43142 users sudo su cd apt update apt-get install gdebi linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') wget http://ftp.de.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23_all.deb gdebi broadcom-sta-dkms_6.30.223.271-23_all.deb modprobe wl

i have teat it but nothing does matter pleas explain me why?

You should first know the chipset you're using

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