Here is what worked for me to restore WiFi functionality...

1. Run Software & Udpates from the launcher. In the Developer Options
tab, check the box for Pre-released updates. This will require your
admin password and will update the cache.

2. Run Software Updater from the launcher. It will present you with lots
of options of stuff to update. Because I did not want to beta test the
whole proposed release at this moment, but just fix my WiFi, I unchecked
all of the updates except the Broadcom wireless driver. Then I installed
this update, which did not require a reboot.

3. I tested the WiFi by unplugging the internet cable and connecting to
wireless, which worked. A reboot was not requested so I didn't reboot.

4. Run Software & Udpates from the launcher. In the Developer Options
tab, uncheck the box for Pre-released updates. This will require your
admin password, again. It will update the cache. I did this because I
don't want to install any further updates from the Proposed (pre-
release) repository, just the one I needed to make WiFi work again.

My computer is a very old Dell Inspiron with Ubuntu 16.04. The wireless
was working until I updated the OS this morning and the update failed
due to a Broadcom driver problem, as described in this post and also
here: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1777646. The
above procedure corrected the problem without introducing any new
problems. Thanks to everyone who contributed the fix! Much appreciated.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1757008

Title:
  Broadcom wireless drivers failed to build [error: implicit declaration
  of function ‘init_timer’]

Status in Broadcom 802.11 Linux STA driver:
  New
Status in bcmwl package in Ubuntu:
  Confirmed
Status in broadcom-sta package in Ubuntu:
  Confirmed

Bug description:
  The module fails to build, as it is missing the necessary patches for
  the latest HWE kernel.

  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In 
function ‘wl_init_timer’:
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2359:2: 
error: implicit declaration of function ‘init_timer’ 
[-Werror=implicit-function-declaration]
    init_timer(&t->timer);
    ^

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.2
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  Uname: Linux 4.13.0-36-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  DKMSKernelVersion: 4.15.0-13-generic
  Date: Mon Mar 19 15:02:46 2018
  DuplicateSignature: 
dkms:bcmwl-kernel-source:6.30.223.271+bdcom-0ubuntu1~1.2:/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2359:2:
 error: implicit declaration of function ‘init_timer’ 
[-Werror=implicit-function-declaration]
  InstallationDate: Installed on 2017-06-05 (287 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
  PackageVersion: 6.30.223.271+bdcom-0ubuntu1~1.2
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.4
   apt  1.2.26
  SourcePackage: bcmwl
  Title: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.2: bcmwl kernel 
module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/broadcom-sta/+bug/1757008/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to