CentOS users might have problems with WLAN on their laptops especially with BCM4311 802.11b/g WLAN chipsets. These can be solved by installing proprietary Linux driver by Broadcom.
Testing environment
- Laptop: Dell Vostro 1400
- Operating systems tested: CentOS 5.3, 5.4 (32 bit)
- WLAN device: Dell Wireless 1390 WLAN Mini-Card
- WLAN chipset: BCM4311 802.11b/g WLAN
Installation
By default CentOS installs WLAN hardware and associates it with internal b43 module. It fails to work with this network card (even WLAN LED won’t light up), so we need an original driver supplied by the hardware vendor. Luckily, Broadcom provides such.
Let’s download a package for appropriate architecture (in my case it’s 32 bit). Due to licencing issues CentOS community can not make a RPM package for your convenience, so we’ll have to compile and load driver ourselves. Let’s start.
Create a directory tree broadcom/driver under your home directory (e. g. ~/broadcom/driver) and unpack downloaded archive. You should then see these files and directories:
src/
Makefile[/code]
Great. We have our driver source ready. Now we must prepare our OS. By default CentOS doesn’t install Kernel development package, headers and required compiliers. We setup them running:
Let’s cd into our directory where we unpacked driver source:
And compile WLAN driver as Kernel module:
NOTE! Start here after Kernel upgrade
Copy compilied module to appropriate Kernel’s directory (this has to be done after each Kernel update):
Now we need to disable native CentOS WLAN driver called b43 running on eth1 device by default:
In case you ever tried legacy driver or ndiswrapper, make sure you remove them too:
Blacklist them by adding these lines to /etc/modprobe.d/blacklist ar the bottom:
blacklist b43
blacklist bcm43xx[/code]
Open /etc/modprobe.conf, find:
And replace with:
In the end add:
Execute:
modprobe ieee80211_crypt_tkip; modprobe wl[/code]
Reboot system. Driver ready (LED should light up), now we need NetworkManager to deal with WLANs. First of all, disable network, because it manages network connections on CentOS by default:
Instead of network we use NetworkManager which has it’s own tools to deal with WPA encryption, so wpa_supplicant must be disabled:
Make sure NetworkManager is enabled on startup:
And start it now:
Reboot your system. Enjoy fast WLAN!
This guide also available on CentOS wiki.
Leave A Comment