I can not manage to get the wifi works when updating my kernel to 4.x. During the installation, the Broadcom wireless driver failed to compile.
I am getting this error :
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built. Error! Bad return status for module build on kernel: 4.1.3-040103-generic (x86_64) Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.
Has anyone encounter this problem and manage to solve it ?
The answer is quite simple.
The Broadcom wireless driver from stable Ubuntu repositories does not support kernel 4.1 yet.
You can try to install bcmwl-kernel-source from
wily
repostory.It is patched for Ubuntu 15.10 and works with 4.0 kernel. May work with 4.1 as well.
Copy the file to your Home folder via terminal
and run