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:~$ 
share|improve this question
    
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
up vote 36 down vote accepted

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 are using Ubuntu 14.04.2 installation media the driver will not build

If you have 14.04.2, then download 64-BIT DRIVER FROM UBUNTU REPOSITORY or 32-BIT DRIVER, copy it to your home folder and run the same command. But you still need dkms_XXXXX.deb file from installation disk. Or you you can download it from HERE.

Ubuntu 14.04.2 has 3.16 kernel, but the installation image contains an old driver, which does not build for that kernel.

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

share|improve this answer
    
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
    
excellent answer – Jad Chahine Oct 29 '15 at 20:29
    
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

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.