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 : 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_22.214.171.124+bdcom-0ubuntu2_amd64.deb ... Unpacking bcmwl-kernel-source (126.96.36.199+bdcom-0ubuntu2) ... Selecting previously unselected package dkms. Preparing to unpack dkms_188.8.131.52-1.1ubuntu5.14.04_all.deb ... Unpacking dkms (184.108.40.206-1.1ubuntu5.14.04) ... Setting up dkms (220.127.116.11-1.1ubuntu5.14.04) ... Setting up bcmwl-kernel-source (18.104.22.168+bdcom-0ubuntu2) ... Loading new bcmwl-22.214.171.124+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/126.96.36.199+bdcom/build/make.log for more information. modprobe: FATAL: Module wl not found. update-initramfs: deferring update (trigger activated) Processing triggers for man-db (188.8.131.52-1ubuntu1) ... 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.
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:
- From: http://www.lwfinger.com/b43-firmware/
- Extract, then sneakernet back to the original box.
./pool/main/b43-fwcutter*.debmanually from Ubuntu Disc/Flash drive.
Run the following:
sudo b43-fwcutter -w /lib/firmware broadcom-wl-*.o # write to /lib
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