笔记本安装ubuntu 16.04,wifi无法识别

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
bang2510
帖子: 3
注册时间: 2016-12-24 19:29
系统: ubuntu 16.04

笔记本安装ubuntu 16.04,wifi无法识别

#1

帖子 bang2510 » 2016-12-24 19:53

小白一个,请大神指点,谢谢。

代码: 全选

bang@bang-pc:~$ uname -r
4.4.0-31-generic

代码: 全选

bang@bang-pc:~$ sudo lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1904] (rev 08)
	Subsystem: Dell Skylake Host Bridge/DRAM Registers [1028:06de]
00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07)
	DeviceName:  Onboard IGD
	Subsystem: Dell Skylake Integrated Graphics [1028:06de]
	Kernel driver in use: i915_bpo
	Kernel modules: i915_bpo
00:04.0 Signal processing controller [1180]: Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] (rev 08)
	Subsystem: Dell Skylake Processor Thermal Subsystem [1028:06de]
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
	Subsystem: Dell Sunrise Point-LP USB 3.0 xHCI Controller [1028:06de]
	Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
	Subsystem: Dell Sunrise Point-LP Thermal subsystem [1028:06de]
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI [8086:9d3a] (rev 21)
	Subsystem: Dell Sunrise Point-LP CSME HECI [1028:06de]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 21)
	Subsystem: Dell 82801 Mobile SATA Controller [RAID mode] [1028:06de]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port [8086:9d14] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:9d1a] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21)
	Subsystem: Dell Sunrise Point-LP LPC Controller [1028:06de]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
	Subsystem: Dell Sunrise Point-LP PMC [1028:06de]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
	Subsystem: Dell Sunrise Point-LP HD Audio [1028:06de]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
	Subsystem: Dell Sunrise Point-LP SMBus [1028:06de]
	Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection I219-LM [8086:156f] (rev 21)
	Subsystem: Dell Ethernet Connection I219-LM [1028:06de]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
01:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
	Subsystem: Dell QCA6174 802.11ac Wireless Network Adapter [1028:0310]
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
	Subsystem: Dell RTS525A PCI Express Card Reader [1028:06de]
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

代码: 全选

bang@bang-pc:~$ sudo lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0cf3:e007 Atheros Communications, Inc. 
Bus 001 Device 002: ID 0101:0007  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

代码: 全选

bang@bang-pc:~$ sudo lshw -numeric -class network
  *-network DISABLED      
       description: Wireless interface
       product: QCA6174 802.11ac Wireless Network Adapter [168C:3E]
       vendor: Qualcomm Atheros [168C]
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlp1s0
       version: 32
       serial: 68:14:01:72:98:9b
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-31-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:131 memory:e1000000-e11fffff
  *-network
       description: Ethernet interface
       product: Ethernet Connection I219-LM [8086:156F]
       vendor: Intel Corporation [8086]
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 21
       serial: 84:7b:eb:3b:a3:cb
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-3 ip=192.168.150.243 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:127 memory:e1300000-e131ffff

代码: 全选

bang@bang-pc:~$ sudo rfkill list all
0: dell-wifi: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: dell-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

代码: 全选

bang@bang-pc:~$ sudo nmcli dev status
设备       类型      状态    连接       
enp0s31f6  ethernet  已连接  有线连接 1 
wlp1s0     wifi      不可用  --         
lo         loopback  未托管  --    

代码: 全选

bang@bang-pc:~$ dmesg | grep ath10k_pci
[    8.296231] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    8.298850] ath10k_pci 0000:01:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[    8.681960] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[    8.684169] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    8.684172] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    8.790200] ath10k_pci 0000:01:00.0: failed to fetch board data for ath10k/QCA6174/hw3.0 from bus=pci,vendor=168c,device=003e,subsystem-vendor=1028,subsystem-device=0310/board-2.bin
[   10.921552] ath10k_pci 0000:01:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1028:0310) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 1 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[   10.921556] ath10k_pci 0000:01:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   13.919323] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   14.237540] ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
[   28.867696] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   34.867846] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   40.927825] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   46.927920] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   52.260049] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   58.260198] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   74.264627] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   80.264772] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   85.576901] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   91.577040] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  107.036715] ath10k_pci 0000:01:00.0: failed to set tx-chainmask: -11, req 0x3
[  110.023610] ath10k_pci 0000:01:00.0: failed to set arp ac override parameter: -11
[  116.009322] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  121.315443] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  127.314587] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  141.989379] ath10k_pci 0000:01:00.0: failed to set tx-chainmask: -11, req 0x3
[  144.989755] ath10k_pci 0000:01:00.0: failed to set arp ac override parameter: -11
[  150.990379] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  156.303146] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  162.303578] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  176.992615] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  182.992879] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  188.309073] ath10k_pci 0000:01:00.0: failed to set tx-chainmask: -11, req 0x3
[  191.308248] ath10k_pci 0000:01:00.0: failed to set arp ac override parameter: -11
[  197.306140] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  211.986260] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  217.985287] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  223.300444] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  229.299665] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  422.502373] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  428.502397] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  735.192753] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  741.192574] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[ 1427.833120] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[ 1433.833265] ath10k_pci 0000:01:00.0: could not suspend target (-11)
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 笔记本安装ubuntu 16.04,wifi无法识别

#2

帖子 vickycq » 2016-12-25 10:30

bang2510 写了:[ 8.681960] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[ 8.684169] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
尝试从这里 https://github.com/racerxdl/ath10k-firm ... 6174/hw3.0 获取固件置于 /lib/firmware/ath10k/QCA6174/hw3.0/
或参考其它类似问题
https://github.com/kvalo/ath10k-firmware/pull/4
https://askubuntu.com/questions/794218/ ... untu-16-04
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
bang2510
帖子: 3
注册时间: 2016-12-24 19:29
系统: ubuntu 16.04

Re: 笔记本安装ubuntu 16.04,wifi无法识别

#3

帖子 bang2510 » 2016-12-25 22:58

非常感谢大神指导,问题按照给出的参考链接,已经解决了。

https://askubuntu.com/questions/794218/ ... untu-16-04

代码: 全选

wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.161.1_all.deb
sudo dpkg -i linux-firmware*.deb
sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci
回复