How to install broadcom b43 wireless driver on Debian/Ubuntu

This is a quick guide to download and install Broadcom wifi drivers on Debian and Ubuntu distro.

The following steps are mixed with my installation experience.

Link to original post:

https://askubuntu.com/questions/730799/installing-firmware-b43-installer-offline/730813#730813

Link to Ubuntu wiki:

https://wiki.ubuntu-it.org/Hardware/DispositiviSenzaFili/Broadcom

Guide to Broadcom b43 wireless driver

Remove old kernel source

sudo apt-get purge bcmwl-kernel-source

Download broadcom b43-fwcutter

Go to https://mirrors.edge.kernel.org/ubuntu/pool/main/b/b43-fwcutter/ and download the right version for your OS.

For example http://mirrors.kernel.org/ubuntu/pool/main/b/b43-fwcutter/b43-fwcutter_015-9_amd64.deb

Download broadcom firmware

Go to http://www.lwfinger.com/b43-firmware/

For example http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2

Install broadcom fwcutter

sudo dpkg -i b43-fwcutter_15-9_amd64.deb

Extract broadcom firmware

tar xfvj broadcom-wl-5.100.138.tar.bz2
sudo b43-fwcutter -w /lib/firmware broadcom-wl-*/linux/wl_apsta.o

Reboot

Reboot your system.

sudo modprobe b43 may not work.