ubuntu16.04 The wireless network card is not connected properly

Source: Internet
Author: User

Background: The initial connection of the wireless network card can be normal Internet access, but the use of a moment will be unable to access the internet situation

Version: Ubuntu 16.04

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] jello 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

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 has not been responding, then interrupt it), directly replace the original/usr/share/misc/pci.ids file, 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-i Nstaller Firmware-b43-installer 14e4:4306 Firmware-b43-installer firmware-b43-install Er 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-insta Ller 14e4:4311 Firmware-b43-installer Firmware-b43-installer 14e4:4311 Rev Firmware-b 43-installer Firmware-b43-installer 14e4:4312 Firmware-b43-installer firmware-b43-ins           Taller 14e4:4313 Firmware-b43-installer Firmware-b43-installer 14e4:4315 Firmware-b43-installer           Firmware-b43-installer 14e4:4315 Rev Firmware-b43-installer firmware-b43-installer14e4:43 Firmware-b43-installer Firmware-b43-installer 14e4:4318 Rev Firmware-b43-inst Aller Firmware-b43-installer 14e4:4319 Firmware-b43-installer firmware-b43- Installer 14e4:4320 Rev Firmware-b43-installer Firmware-b43-installer 14e4:43 Rev. Firmware-b43-installer Firmware-b43-installer 14e4:4321 Firmware-b43-installe R Firmware-b43-installer 14e4:4324 Firmware-b43-installer Firmware-b43-installer 1 4e4:4325 Firmware-b43-installer Firmware-b43-installer 14e4:4328 Firmware-b43-installe        R 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-ke Rnel-source 14e4:432c bcmwl-kernel-source bcmwl-kernel-source 14e4:432d BC Mwl-kernel-source Bcmwl-kernel-source 14e4:4331 Firmware-b43-installer firmware-b           43-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-source14e4: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-source14e4:43ae Rev 02        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-k Ernel-source 14e4:4727 Rev Bcmwl-kernel-source Bcmwl-kernel-source 14e4:a962 F Irmware-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

ubuntu16.04 The wireless network card is not connected properly

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.