Computer-driven installation of Ubuntu system (WiFi wireless card)

Source: Internet
Author: User

I installed a new Ubuntu 16.04 for my laptop today, but after installing it, I found that WiFi could not be enabled. This explains the resolution process.

First of all, most of the online tutorial is to Select "System Settings", click "Software and Updates" Click "Additional Driver", this time the system will automatically monitor the local applicable additional drivers, including your wireless card driver.

However, following the above steps, you do not see the hardware that requires the driver to be installed. But I found this blog on the Internet:Ubuntu 16.04 under the wireless network card can not be properly connected

I. Analysis:

1. Use the Ifconfig command to find that the wireless network card is not displayed, indicating that the wireless card is closed, the author output The following information:

[Email protected]:~$ ifconfig

eth0 Link ENCAP: Ethernet Hardware Address 16:03:71:93:64:22
inet Address: 192.168.100.3 Broadcast: 192.168.100.255 Mask: 255.255.255.0
Inet6 Address: fe80::1a03:73ff:fe92:632e/64 Scope:link
Up broadcast RUNNING multicast mtu:1500 hop count: 1
Receive packet: 295308 Error: 0 Discard: 0 Overload: 0 Number of frames: 0
Send packet: 208860 error: 1 Discard: 0 Overload: 0 Carrier: 0
Collisions: 0 Send Queue Length: 1000
Receive bytes: 394951279 (394.9 MB) Send bytes: 19510963 (19.5 MB)

Lo Link encap: local loopback
inet Address: 127.0.0.1 Mask: 255.0.0.0
Inet6 Address::: 1/128 scope:host
Up LOOPBACK RUNNING mtu:65536 metric: 1
Receive packet: 943526 Error: 0 Discard: 0 Overload: 0 Number of frames: 0
Send packet: 943526 error: 0 Discard: 0 Overload: 0 Carrier: 0
Collisions: 0 Send Queue Length: 1
Receive bytes: 464924375 (464.9 MB) Send bytes: 464924375 (464.9 MB)

2. Use the LSHW command to output information (only the information related to the wireless card is posted) as follows:

[Email protected]:~$ lshw

*-network DISABLED
Description:wireless interface
Physical Id:2
Logical Name:wlan0 1
Serial:92:31:e3:4a:75:f2
Capabilities:ethernet Physical Wireless
Configuration:broadcast=yes driver=brcmsmac driverversion=4.1.0-78-generic firmware=102.304 ip=192.168.100.131 Link =no Multicast=yes wireless=ieee 802.11BGN

From the 2nd "*-network DISABLED" This line can be clear that the wireless card is disabled on the hardware

3. Turn on the hardware switch, but tried many times did not succeed, through the Rfkill output information to determine:

[Email protected]:~$ sudo rfkill list all
[sudo] linuxidc password:
0:phy0:wireless LAN
Soft Blocked:no
Hard Blocked:yes

From the "Hard Blocked:yes" line, you can see that the wireless network card is block

If it is soft blocked:yes, you can open it by FN+F2 (notebook)

4. The 3rd question is whether the driver of the wireless card is properly installed.

Two. Install the Wireless card driver:

1. Uninstall the previously installed wireless card driver (if you have previously installed it, ignore it):

sudo apt-get purge Firmware-b43-installer

sudo apt-get purge Bcmwl-kernel-source

2. Get the pci.id of the Wireless network card (the author's wireless network card brand is Broadcom, so the designated manufacturer code is 14E4)

[Email protected]$ lspci-nn-d 14e4:
09:00.0 network Controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)

The key information obtained from the above information is: [14e4:4727] (rev 01)

The-NN option is to display only the device that corresponds to the specified vendor code

The-D option is to display the vendor and device codes, along with numbers and names

3. Update the Ubuntu pci.ids list:

3.1sudo apt-get update (update package index first)

3.2sudo update-pciids (if it is not responding, break it), replace the original/usr/share/misc/pci.ids file directly, the command is as follows:

cd/usr/share/misc/

sudo mv Pci.ids Pci.ids.orig

Then download the latest Pic.ids file from http://pci-ids.ucw.cz/

Copy the downloaded Pci.ids file to the/usr/share/misc/directory (because the author believes that the current wireless card hardware is not very new, so the information of the wireless network card is present in the original Pci.ids file, so there is no manual to update the Pci.ids file)

4. Install the corresponding wireless card driver, the corresponding driver package name can be obtained from the following table
Pci.id 16.04 LTS 17.10+
------------------------------------------------------------------------------------
14e4:0576 Special Case #1 UNKNOWN
14e4:4301 Firmware-b43-installer Firmware-b43-installer
14e4:4306 Firmware-b43-installer Firmware-b43-installer
14e4:4306 Rev Firmware-b43-installer Firmware-b43-installer
14e4:4306 Rev Firmware-b43-installer Firmware-b43-installer
14e4:4307 Firmware-b43-installer Firmware-b43-installer
14e4:4311 Firmware-b43-installer Firmware-b43-installer
14e4:4311 Rev Firmware-b43-installer Firmware-b43-installer
14e4:4312 Firmware-b43-installer Firmware-b43-installer
14e4:4313 Firmware-b43-installer Firmware-b43-installer
14e4:4315 Firmware-b43-installer Firmware-b43-installer
14e4:4315 Rev Firmware-b43-installer Firmware-b43-installer
14e4:4318 Firmware-b43-installer Firmware-b43-installer
14e4:4318 Rev Firmware-b43-installer Firmware-b43-installer
14e4:4319 Firmware-b43-installer Firmware-b43-installer
14e4:4320 Rev Firmware-b43-installer Firmware-b43-installer
14e4:4320 Rev Firmware-b43-installer Firmware-b43-installer
14e4:4321 Firmware-b43-installer Firmware-b43-installer
14e4:4324 Firmware-b43-installer Firmware-b43-installer
14e4:4325 Firmware-b43-installer Firmware-b43-installer
14e4:4328 Firmware-b43-installer Firmware-b43-installer
14e4:4329 Bcmwl-kernel-source Bcmwl-kernel-source
14E4:432A Bcmwl-kernel-source Bcmwl-kernel-source
14e4:432b Bcmwl-kernel-source Bcmwl-kernel-source
14e4:432c Bcmwl-kernel-source Bcmwl-kernel-source
14e4:432d Bcmwl-kernel-source Bcmwl-kernel-source
14e4:4331 Firmware-b43-installer Firmware-b43-installer
14e4:4335 Firmware-b43-installer Firmware-b43-installer
14e4:4350 Firmware-b43-installer Firmware-b43-installer
14e4:4353 Special Case #1 UNKNOWN
14e4:4353 Rev Special Case #1 UNKNOWN
14e4:4357 Special Case #1 UNKNOWN
14e4:4358 Bcmwl-kernel-source Bcmwl-kernel-source
14e4:4359 Bcmwl-kernel-source Bcmwl-kernel-source
14e4:4360 Bcmwl-kernel-source Bcmwl-kernel-source
14e4:4365 Bcmwl-kernel-source Bcmwl-kernel-source
14e4:4365 Rev Bcmwl-kernel-source Bcmwl-kernel-source
14e4:43a0 Bcmwl-kernel-source Bcmwl-kernel-source
14e4:43ae Rev UNKNOWN UNKNOWN
14E4:43B1 Bcmwl-kernel-source Bcmwl-kernel-source
14E4:43B1 Rev Bcmwl-kernel-source Bcmwl-kernel-source
14E4:43C3 Rev UNKNOWN Special Case #2
14e4:4727 Bcmwl-kernel-source Bcmwl-kernel-source
14e4:4727 Rev Bcmwl-kernel-source Bcmwl-kernel-source
14e4:a962 Firmware-b43-installer Firmware-b43-installer
------------------------------------------------------------------------------------
4.1 You can see from the table above that the Bcmwl-kernel-source corresponds to 14e4:4727 rev 01, so the installation command is as follows:
sudo apt-get install Bcmwl-kernel-source
4.2 Restart

Personally think that the above red font is the main one.

sudo apt-get update

sudo update-pciids

After the above two steps are completed, then Select "System Settings", click "Software and Updates" click on "Additional Driver", this time the system will automatically monitor the local applicable additional drivers, including your wireless card driver.

You can see the hardware you need to install the driver, click Install.

Computer-driven installation of Ubuntu system (WiFi wireless card)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.