Page 1 of 1

[How To:] Build Bcmwl-kernel-source Package For Kernel 4.2.x

Posted: Wed Jul 29, 2015 3:26 am
by kelebek333
You can build and install bcmwl-kernel-source package (for wl driver) with following steps.

First, you can install requirements

Code: Select all

sudo apt-get install git git-buildpackage pristine-tar build-essential dh-modaliases debhelper
Download source from github with following command after installing requirements.

Code: Select all

git clone https://github.com/longsleep/bcmwl-ubuntu.git bcmwl-broadcom
Now you can build bcmwl-kernel-source package with following commands.

Code: Select all

cd bcmwl-broadcom
gbp buildpackage -b -uc -us
Finally, you can install bcmwl-kernel-source package.

Code: Select all

sudo dpkg -i ../bcmwl*.deb
Then you can enable and control wl driver with following commands.

Code: Select all

modinfo wl
sudo modprobe wl
modinfo wl
filename: /lib/modules/4.2.3-040203-generic/updates/wl.ko
license: MIXED/Proprietary
srcversion: 3F8570547EE3A2BA3D5D734
alias: pci:v*d*sv*sd*bc02sc80i*
depends: cfg80211
vermagic: 4.2.3-040203-generic SMP mod_unload modversions
parm: passivemode:int
parm: wl_txq_thresh:int
parm: oneonly:int
parm: piomode:int
parm: instance_base:int
parm: nompc:int
parm: intf_name:string
I sucsesfully install wl driver with above method on kernel 4.2.3.

Source

----

Alternative : You can install from PPA repo.

Code: Select all

sudo add-apt-repository ppa:longsleep/bcmwl
sudo apt-get update
sudo apt-get install bcmwl-kernel-source