Showing posts with label wireless. Show all posts
Showing posts with label wireless. Show all posts

Thursday, May 14, 2015

[Centos] How to install Broadcom BCM43142 wifi driver on Centos 6.6

Last night, I just installed Centos 6.6 on my Dell Inspirion 15R 5520. Everything works fine except the wireless device. So here is the steps:

Step 1

[root@blackhat /]# yum groupinstall "Development Tools" 

Step 2

[root@blackhat /]# yum install gcc* compact-* install kernel-devel-$(uname -r) kernel-headers redhat-lsb kernel-abi-whitelists
 

Step 3 : create new directory

[root@blackhat /]# mkdir bcm43142 
[root@blackhat /]# cd bcm43142 

Step 4 : Download the driver from Broadcom official website (https://www.broadcom.com/support/802.11/linux_sta.php) and untar the file


32 bit driver
wget https://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz

64 bit driver
[root@blackhat bcm43142]# wget https://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz

Untar the downloaded file
[root@blackhat bcm43142]# tar -xzvf hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
 

Step 5 : Build the driver

[root@blackhat bcm43142]# make

* When the build completes, it will produce a wl.ko file in the top level directory.

Step 6 : Insmod the driver

[root@blackhat bcm43142]# modprobe lib80211
[root@blackhat bcm43142]# modprobe cfg80211
[root@blackhat bcm43142]# insmod wl.ko

Step 7 : load the wireless device at boot time

[root@blackhat bcm43142]# cp wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless 
[root@blackhat bcm43142]# depmod -a

That's it, hope it'll help others

REFERENCE
https://www.broadcom.com/docs/linux_sta/README_6.30.223.248.txt