Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to get Ubuntu working on old laptop. I believed it's wireless driver issue.

Output from a couple of commands:

myhost@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04.3 LTS
Release:    12.04
Codename:    precise 

myhost@ubuntu:~$ lspci | grp Network
0c:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)

myhost@ubuntu:~$ iwconfig
eth0      no wireless extensions.
lo        no wireless extensions. 

Then I google it and found article to reinstall wireless driver at How to Install Broadcom Wireless Drivers

So I did command sudo apt-get purge bcmwl-kernel-source (Done) and command sudo apt-get install bcmwl-kernel-source (Error as below lines)

Loading new bcmwl- DKMS files...
First Installation: checking all kernels...
Building only for 3.8.0-29-generic
Building for architecture x86_64
Building initial module for 3.8.0-29-generic
Error! Bad return status for module build on kernel: 3.8.0-29-generic (x86_64)
Consult /var/lib/dkms/bcmwl/ for more information.
FATAL: Module wl not found.
FATAL: Error running install command for wl

Any suggestion to fix it? Thanks First.

share|improve this question
up vote 3 down vote accepted

Please get a working ethernet connection temporarily and do:

sudo apt-get update
sudo apt-get remove --purge bcmwl-kernel-source
sudo apt-get install linux-firmware-nonfree

Detach the ethernet, reboot and give us your report.

share|improve this answer
About 1 hour ago, I plugged in network and did as your suggestion to remove and install. There was an crash report during this install of linux-firmware-nonfree. On screen it had a title: Crash report Package: bcmwl-kernel-source (not installed) Problem Type: Package Title: bcmwl-kernel-source kernel module failed to build ApportVersion: 2.0.1-0ubuntu17.4 Architecture: amd64 DKMSBuildLog: 3.8.0-29-generic Date: Mon Aug 26 02:46:48 2013 ... – user1864817 Aug 26 '13 at 1:06
Please try one at a time and give me the results: sudo apt-get remove --purge bcmwl-kernel-source I will have further suggestions after I hear your report. – chili555 Aug 26 '13 at 11:55
Chili555, I did the remove command again. Below lines are from Terminal output. //--- myhost@ubuntu:~$ myhost@ubuntu:~$ sudo apt-get remove --purge bcmwl-kernel-source [sudo] password for myhost: 正在讀取套件清單... 完成 正在重建相依關係 正在讀取狀態資料... 完成 套件 bcmwl-kernel-source 並沒有被安裝,所以也不會被移除 The following package was automatically installed and is no longer required: dkms 使用 'apt-get autoremove' 來將其移除。 升級 0 個,新安裝 0 個,移除 0 個,有 0 個未被升級。 myhost@ubuntu:~$ ^C //--- If it will help, I can change default locale. Thanks – user1864817 Aug 26 '13 at 18:20
So far, so good! Next, please do: sudo apt-get autoremove. If that goes successfully, next do: sudo apt-get install linux-firmware-nonfree – chili555 Aug 26 '13 at 21:44
Chili555, I did the autoremove command successfully. Next command to install linux-firmware and no crash report this time. It says install linux-firmware already is the newest version. With Upgrade 0, New installation 0, Remove 0, Not Upgrade 0 What is next suggestion ? Terminal Output as below: // ---------- myhost@ubuntu:~$ sudo apt-get autoremove [sudo] password for myhost: 正在讀取套件清單... 完成 正在重建相依關係 正在讀取狀態資料... 完成 下列套件將會被【移除】: dkms 升級 0 個,新安裝 0 個,移除 1 個,有 0 個未被升級。 此操作完成之後,會空出 348 kB 的磁碟空間。 是否繼續進行 [Y/n]?y – user1864817 Aug 27 '13 at 18:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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