Skip to content

Instantly share code, notes, and snippets.

@kmajetic
Created January 28, 2012 00:10
Show Gist options
  • Save kmajetic/1691719 to your computer and use it in GitHub Desktop.
Save kmajetic/1691719 to your computer and use it in GitHub Desktop.
Switch Broadcom wireless driver
lspci -vvnn | grep 14e4
sudo apt-get install firmware-b43-lpphy-installer
echo "blacklist wl" >> /etc/modprobe.d/blacklist
modprobe -r wl
modprobe b43
Installation:
- Install the Firmware:
Code:
sudo apt-get install build-essential
sudo apt-get install b43-fwcutter
- Download Compat-Wireless patched:
http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.0.0/
- Create new directory:
Code:
sudo mkdir /usr/src/drivers
cd /usr/src/drivers
- Now disconnect Internet and unload all your driver (use rmmod command)
sudo make unload to unload all: wireless, bluetooth and ethernet modules
sudo make wlunload to unload wireless modules
sudo make btunload to unload bluetooth module
- Move/copy the Compat-Wireless patched in /usr/src/drivers directory and unpack the drivers:
Code:
sudo tar -xjvf compat-wireless-${filedate}.tar.bz2
cd compat-wireless-${filedate}
wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
patch ./net/wireless/chan.c channel-negative-one-maxim.patch
sudo ./scripts/driver-select b43
sudo make && sudo make install && sudo make unload && sudo depmod -a && sudo update-initramfs -u
Blacklist the wl driver: (STA driver)
Code:
echo "blacklist wl" | sudo tee -a /etc/modprobe.d/blacklist.conf
- And reboot your System:
Code:
sudo shutdown -r now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment