Friday, November 1, 2013
6:04 PM

Installing broadcom bcm43142 Wireless driver for linux

Most of the Linux distros do not have drivers for wireless bcm43142 wireless adapter. If your system has amd64 architecture then the driver can be for debian based systems can be installed using the command



or can be downloaded from



Download the package wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb

Open a terminal and go to the directory where the above package is placed and run the command



To build the deb package yourself, download the package wireless-bcm43142_6.20.55.19.orig.tar.bz2 and run the following commands



The package wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb will be available in the folder where the .tar.bz2 file was placed which can be installed as the previous .deb package.

The files on the above link work only for amd architecture, but for i386 the driver fails to build. For i386 architecture and non debian based systems download the source files from choose the files depending on 32bit or 64 bit architecture and run the following commands





If the module is compiled successfully try inserting it into the kernel



If the module inserts without error then the wireless should start working. It might throw an error Unknown symbol

To get around the problem, we need to inert modules on which the wl module depends on which are cfg80211 lib80211. Thus insert these modules first



Now insert the module



The wireless should start working now.

To make sure that we need not do the above steps every time we boot the system we can automate it using the following steps.

Copy the wl.ko to the folder /lib/modules/$(uname -r)/kernel/net/wireless



Now to see if the wl.ko module has been recognized along with its dependencies look into the file



Thus we can see that the wl.ko has been listed along with its dependent modules.

Now remove the module wl.ko that was inserted before



Insert it again using



If the module gets inserted with out any errors than put the above command into the file /etc/rc.local to make sure that the module gets inserted every time system boots.



Put the command before exit 0



Save the file and close it. Now reboot the system and the wireless should automatically start working on reboot.
Useful links

https://wiki.debian.org/IntroDebianPackaging
http://ubuntuforums.org/showthread.php?t=2123154

0 comments:

Post a Comment