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

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
User avatar
kelebek333
Level 3
Level 3
Posts: 144
Joined: Sat Jun 25, 2011 11:57 am

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

Post by kelebek333 » Wed Jul 29, 2015 3:26 am

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”