Ubuntu HowTo: How to install Broadcom wireless drivers offline?

Original Source Link

I have installed Ubuntu alongside Windows 8.1. But the wifi is not working in Ubuntu (perhaps the drivers are not present), which worked fine in windows. Also I cant connect with Ethernet since my laptop does not have an Ethernet port. So is there any way for me to connect to the internet in ubuntu?
Edit: Output of the terminal command lspci -knn | grep Net -A2:

[email protected]:~$ lspci -knn | grep Net -A2
01:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
    Subsystem: Dell Device [1028:0018]
    Kernel driver in use: bcma-pci-bridge
[email protected]:~$ 

I did what Pilot6 suggested. Here is the output:

[email protected]:~$ sudo dpkg -i *.deb
[sudo] password for vikram: 
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 163804 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu2_amd64.deb ...
Unpacking bcmwl-kernel-source ( ...
Selecting previously unselected package dkms.
Preparing to unpack dkms_2.2.0.3-1.1ubuntu5.14.04_all.deb ...
Unpacking dkms ( ...
Setting up dkms ( ...
Setting up bcmwl-kernel-source ( ...
Loading new bcmwl- DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-30-generic
Building for architecture x86_64
Building initial module for 3.16.0-30-generic
ERROR (dkms apport): kernel package linux-headers-3.16.0-30-generic is not supported
Error! Bad return status for module build on kernel: 3.16.0-30-generic (x86_64)
Consult /var/lib/dkms/bcmwl/ for more information.
modprobe: FATAL: Module wl not found.
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db ( ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-30-generic
[email protected]:~$ 

You need to install wireless driver.

Insert your Ubuntu installation disk or a flash drive and copy these files from the installation disk to your Home directory:


Then run the following in terminal:

sudo dpkg -i *.deb

If you have UEFI BIOS, you need to disable Secure Boot to load the driver.

18.04 update:

The solution won’t work on 18.04, because build-essential and its dependencies are not installed by default. The dpkg command will complain that dependencies are not installed.

You can manually find the required packages on the installation media (“pool” directory sorted by alphabet) and install them the same way as the dkms package. I hope nothing is missing there.

I recently needed to install the Wifi firmware for an older repurposed iMac 9,1. It had Broadcom 4322 Wifi, and Nvidia Ethernet, neither worked with 20.04. It found the card and tried the correct module (b43) but complained via dmesg “firmware not found.”

The following steps I found online worked:

  • Find the broadcom firmware on another machine:

  • Install ./pool/main/b43-fwcutter*.deb manually from Ubuntu Disc/Flash drive.

  • Run the following:

    • sudo b43-fwcutter -w /lib/firmware broadcom-wl-*.o # write to /lib
    • sync
    • sudo modprobe -r b43 # remove
    • sudo modprobe b43 # reload

With that Network manager noticed and started up Wifi. 😀

To automate the firmware update, this can be done now that the network is up:

  • Enable multiverse in software-properties-gtk or apt/sources
  • sudo apt-get install firmware-b43-installer
Tagged : / / /

Leave a Reply

Your email address will not be published. Required fields are marked *