How to Install Broadcom Wireless Drivers Offline in Ubuntu?
Tags: ubuntu
Published: 2021-12-01 16:23:27

---
title: How to Install Broadcom Wireless Drivers Offline in Ubuntu?
published: true
date: 2021-11-25 16:50:45 UTC
tags: Ubuntu
canonical_url: https://stackallflow.com/ubuntu/how-to-install-broadcom-wireless-drivers-offline-in-ubuntu/
---

<header>
<p><span style="font-size: 1.2em; color: initial;">broadcom</span><span style="font-size: 1.2em; color: initial;">drivers</span><span style="font-size: 1.2em; color: initial;">networking</span><span style="font-size: 1.2em; color: initial;">wireless</span></p>
</header>

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`:

```
vikram@vikram-Inspiron-11-3148:~$ 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
vikram@vikram-Inspiron-11-3148:~$ 

```

I did what Pilot6 suggested. Here is the output:

```
vikram@vikram-Inspiron-11-3148:~$ 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 (6.30.223.141+bdcom-0ubuntu2) ...
Selecting previously unselected package dkms.
Preparing to unpack dkms_2.2.0.3-1.1ubuntu5.14.04_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04) ...
Setting up dkms (2.2.0.3-1.1ubuntu5.14.04) ...
Setting up bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) ...
Loading new bcmwl-6.30.223.141+bdcom 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/6.30.223.141+bdcom/build/make.log for more information.
modprobe: FATAL: Module wl not found.
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-30-generic
vikram@vikram-Inspiron-11-3148:~$ 
```

#### Accepted Answer

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:

```
pool/main/d/dkms/dkms_XXXXX.deb
pool/restricted/b/bcmwl/bcmwl-kernel-source_XXXXX.deb

```

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.

The post [How to Install Broadcom Wireless Drivers Offline in Ubuntu?](https://stackallflow.com/ubuntu/how-to-install-broadcom-wireless-drivers-offline-in-ubuntu/) appeared first on [Stack All Flow](https://stackallflow.com).