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

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
kelebek333
Level 4
Level 4
Posts: 418
Joined: Sat Jun 25, 2011 11:57 am

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

Post 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
Post Reply

Return to “Tutorials”