Saturday, December 9, 2017

Unable to compile Broadcom wireless driver on kernel 4.x update



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



cd

wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu3_amd64.deb


and run



sudo dpkg -i bcmwl*.deb

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...