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

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 ( ...
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
  • What about using a USB modem? – Sharad Gautam May 21 '15 at 16:58
  • 1
    Please edit your question and add output of "lspci -knn | grep Net -A2" terminal command. – Pilot6 May 21 '15 at 16:59
  • @ln78 Please Edit Your title and add more info. – Sharad Gautam May 21 '15 at 17:02
  • I updated the answer. They install new kernel, but old driver. – Pilot6 May 21 '15 at 18:01
  • Possible duplicate of Installing "fimware-b43-installer" offline – Woeitg Feb 10 '16 at 10:26

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.

  • The second link is not working,can you please look into it and give an alternate place to download – SpringLearner Oct 25 '15 at 5:37
  • I updated the link. But it will be changed from time to time. – Pilot6 Oct 25 '15 at 10:00
  • I have just used this advice for Xubuntu 16.04 and installing the driver was no problem. I guess they have fixed the problem from 14.04.2. – Martin - マーチン Jul 28 '16 at 14:13
  • @Martin-マーチン This problem is specific to 14.04.2 only. It has been fixed in 14.04.3, etc. – Pilot6 Jul 28 '16 at 14:15
  • 2
    This really saved me. Thank you! – subtlearray Apr 23 '17 at 14:06

protected by Pilot6 Feb 22 '16 at 15:18

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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