Getting proprietary WiFi drivers to work in GNU/Linux distros can be a pain sometimes. This time we’re going to deal with such a proprietary driver for the Broadcom BCM43142 WiFi device. Let’s take a look at how to install WiFi driver for Broadcom BCM43142 WiFi device in popular GNU/Linux distros such as Debian, Ubuntu, Fedora and Arch Linux. First of all let’s make sure we’re having the Broadcom BCM43142 WiFi device. For that let’s make use of the lspci command as follows:
lspci -nn | grep -i network
If you are having the Broadcom BCM43142 WiFi device then you will get an output somewhat like follows:
0d:00.0 Network controller : Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
If you get the above output then we are good to continue.
How to install WiFi driver for Broadcom BCM43142 in Debian and Debian-based distros like Ubuntu
sudo apt-get update sudo apt-get install broadcom-sta-dkms
The advantage of using a dkms driver is that you don’t need to manually update the driver everytime you upgrade your kernel!
Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.
How to install WiFi driver for Broadcom BCM43142 WiFi device in Fedora
sudo dnf update sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm sudo dnf update && sudo dnf install kmod-wl
How to install WiFi driver for Broadcom BCM43142 WiFi device in Arch Linux
sudo pacman -S broadcom-wl-dkms
18 thoughts on “How to Install WiFi driver for Broadcom BCM43142 WiFi device in GNU/Linux Distros”
I am using HP 250 G4 laptop in which I installed Ubuntu. But, my wifi adapter is missing.
Tried for two days resolving the issue myself searching the internet but failed.
The commands given by you worked finally. Now I able to use wifi.
Thank you very much.
it doesn’t work in fedora 30 for broadcom BCM43142 anymore right?
Ok. I don’t want to be rude nor insulting…..but has no one considered, that if you’re able to UPDATE and INSTALL anything then you’re ALREADY CONNECTED? and thus activating the wifi is not much of an issue? What about when you CANNOT CONNECT to your wifi?…how are you supposed to “apt-get” ANYTHING!? I do wish that sometimes the folks who write articles would be more considerate of the newbie who is not familiar with Linux! Is there an article where someone can find out how to install this if they DON’T have wifi!?
This procedure fixed my problem so I consider it a godsend. I guess they did forget to say plug in an ethernet cable and do the apt-get, but very few people wouldn’t know to do that.
I’ve just tried this with the trial version of Ubunto 19.10 (running a live session from a USB stick drive) and it didn’t work. I followed the instruction to type: lspci -nn | grep -i network
and it came back with this result: 02:00.0 Network controller : Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
However after typing: sudo apt-get update
followed by: sudo apt-get install broadcom-sta-dkms
.. I got the following results:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package broadcom-sta-dkms
Please can you advise if there is any remedy for this?
simply share you phone net to your PC with USB tethering 🙂
that doesnt solve wifi issue 😉
Wifi works but wifi-hotspot doesn’t @ bady please look into it
Thank you so much, this did fix my issue.
Unfortunately it didn’t solve my problem. I’m trying to use WiFi on a macbook white 2008 with Linux Mint 20 Xfce. But it’s irritating. have tried many ways of solution and nothing happens.
Just in case, i’m using a MacBook White 2008, Linux Mint 20 Xfce. Broadcom BCM43142 WiFi device and newest version (126.96.36.1991-12) installed. i guess maybe the kernel version could be the problem. What do you think?
Because like myself we are using an ethernet lead : D
Most laptops and desktops have wired ethernet connector.
Else use different computer to download the *.deb file.
# To know which package to download from kali repository
uname -rv (# Gives kernel version and linux version)
# For (eg. 5.7.0-kali1-amd64 Debian 5.7.6-1kali2) download these
# You can download the packages manually by navigating on any browser to
# Install downloaded packages in correct order
sudo dpkg -i linux-kbuild-5.7_5.7.6-1kali2_amd64.deb
sudo dpkg -i linux-headers-5.7.0-kali1-common_5.7.6-1kali2_all.deb
sudo dpkg -i linux-headers-5.7.0-kali1-amd64_5.7.6-1kali2_amd64.deb
# Download and install dkms package (Google it)
sudo dpkg -i dkms_2.6.1-4_all.deb
# Download and install broaddcom-sta-dkms package
sudo dpkg -i broadcom-sta-dkms_188.8.131.521-14_all.deb
# Run the driver
sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
sudo modprobe wl
It has been useful to me. I did the first connection through usb with the iphone hotspot. Worked from the box in Debian 10.
I’m with you. I’m trying to install Manjaro on an old Toshiba Satellite that doesn’t have an ethernet port. How do I get the drivers on?