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