Qualcomm Atheros Device (rev 30)Wi-Fi驱动程序安装
我买了一台Acer笔记本电脑并安装了Ubuntu 14.04LTS但是没有WiFi驱动程序。 所以我试图使用wifidocs / driver / ndiswrapper安装Windows驱动程序。
在做lspci -vvnn
,它给出:
Network controller [0280: Qualcomm Atheros Device [168c:0042] (rev 30)
然后我也禁用了atheros驱动程序。 使用lspci
和lspci -n
,我可以说PCI id是168c:0042
。 但宏碁网站有三个atheros驱动程序。 我无法弄清楚要下载哪一个但是在Windows PC上下载了一个并将zip文件粘贴到我的桌面上然后使用unzip .zip
从终端解压缩。 该页面说您必须转到控制面板系统硬件以及Windows系统上的所有硬件。 我没做这个。 Windows计算机不是我的,我恐怕不应该在其上安装任何额外的驱动程序。 解压缩后,它有一个.inx
文件和一个.bin
文件,但没有.sys
文件。 我不知道我到底是完全正确还是我错过了什么? 如果我是对的,那么如何从这里开始? 我还创建了一个新目录,并在其中复制了解压缩的.inx
和.bin
文件。 然后在那个目录中我运行了ndiswrapper -i .inf
但它说ndiswrapper
没有安装,当我做sudo apt-get install ndiswrapper-common
,我得到了ndiswrapper-common
已经是最新版本的回复。 该怎么办? 这是我的
dmesg | grep ath10k result [ 7.882758] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0 [ 8.190016] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2 [ 8.334587] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/board-2.bin failed with error -2 [ 10.140677] ath10k_pci 0000:03:00.0: qca9377 hw1.0 (0x05020000, 0x003820ff sub 105b:e09a) fw WLAN.TF.1.0-00267-1 fwapi 5 bdapi 1 htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features ignore-otp [ 10.140682] ath10k_pci 0000:03:00.0: debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
这是输出
lspci -nnk | grep -iA2 net
02:00.0以太网控制器[0200]:Realtek Semiconductor Co.,Ltd。RTL8111 / 8168/8411 PCI Express千兆以太网控制器[10ec:8168](rev 15)子系统:Acer Incorporated [ALI]设备[1025:098a]内核驱动程序使用中:r8169 03:00.0网络控制器[0280]:Qualcomm Atheros Device [168c:0042](rev 30)子系统:Foxconn International,Inc。设备[105b:e09a]正在使用的内核驱动程序:ath10k_pci
Ubuntu 16.04用户应该只需要
sudo apt-get update && sudo apt-get upgrade
并重新启动。
您不需要Windows驱动程序和ndiswrapper。
这最近已在上游修复,按照这些说明安装后移模块和所需的固件:
sudo apt-get install build-essential linux-headers-$(uname -r) git echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz tar -zxvf backports-4.4.2-1.tar.gz cd backport-4.4.2-1 make defconfig-wifi make sudo make install git clone https://github.com/kvalo/ath10k-firmware.git sudo cp -r ath10k-firmware/QCA9377 /lib/firmware/ath10k/ sudo cp /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
它应该在重启后工作。
当通过更新安装新内核时,它将失败,直到内核被修补以支持wifi。 当发生这种情况时,您需要:
cd backports-4.4.2-1 make clean make defconfig-wifi make sudo make install
然后重启。