0

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 ?

  • Why do you need this kernel? – Pilot6 Jul 16 '15 at 12:22
0

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
  • This model can have various wireless adapters. It your case it won't work with wl driver. – Pilot6 Jul 16 '15 at 12:32
  • @hg8 I updated the answer. Normal wl from stable repositories does not, but the one from wily does. – Pilot6 Jul 16 '15 at 12:38
  • 1
    Thanks, I will try as soon as I can and report the result. – hg8 Jul 16 '15 at 12:49
  • Thanks! It worked great. This solution github.com/longsleep/bcmwl-ubuntu worked too (for future reference) – hg8 Jul 16 '15 at 15:58
  • 1
    @hg8 - You rule the world! Just quickly installed, and got WiFi! Thanks! – valk Aug 31 '15 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.