Skip to content

Instantly share code, notes, and snippets.

@torresashjian
Last active April 16, 2024 15:40
Show Gist options
  • Save torresashjian/7a89ee428d47ff747b3114b0d686de0a to your computer and use it in GitHub Desktop.
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
@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!

@Susmithap3
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