WiFi驱动程序安装失败 – SSL错误:02001002:系统库:fopen:没有这样的文件或目录:bss_file.c:175

我刚刚在我的Aspire E 15(E5-573-35Q3)上安装了16.04

我有以下所示的Qualcom Atheros:

$ lspci -vvnn 03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30) Subsystem: Lite-On Communications Inc Device [11ad:0806] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 50 Region 0: Memory at b0400000 (64-bit, non-prefetchable) [size=2M] Capabilities:  Kernel driver in use: ath10k_pci Kernel modules: ath10k_pci 

要安装驱动程序,我按照以下方式操作,就像我之前使用的disros一样:

 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 backports-4.4.2-1 make defconfig-wifi make sudo make install 

除了“make install”之外,所有都运行良好。 我收到如下消息:

 INSTALL /home/cecil/backports-4.4.2-1/compat/compat.ko At main.c:222: - SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175 - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178 sign-file: certs/signing_key.pem: No such file or directory 

对于要安装的每个.ko重复(其中123个)

然后它说:

 sign-file: certs/signing_key.pem: No such file or directory DEPMOD 4.4.0-21-generic depmod will prefer updates/ over kernel/ -- OK! Note: You may or may not need to update your initramfs, you should if any of the modules installed are part of your initramfs. To add support for your distribution to do this automatically send a patch against "update-initramfs.sh". If your distribution does not require this send a patch with the '/usr/bin/lsb_release -i -s' ("Ubuntu") tag for your distribution to avoid this warning. Your backported driver modules should be installed now. Reboot. 

然后我用以下方法获取固件:

 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。

这是新发行版中的错误,还是我必须做其他事情?

谢谢

塞西尔

我跑了dmesg |grep ath – 一无所获

我跑了lsmod |grep ath – 一无所获

我试着用sudo modprobe ath10k_pci

得到了消息:

 modprobe: ERROR: could not insert 'ath10k_pci': Required key not available 

我尝试了modprobe -r ath10k_pci以防万一,但它没有找到它删除它。


好的 – 我通过尝试安装ath10k_pci驱动程序删除了我所做的混乱:

 sudo make uninstall (in the backports.... directory) 

然后我重新启动 – lsmod发现现在安装的驱动程序:

 ath10k_pci 45056 0 ath10k_core 311296 1 ath10k_pci ath 32768 1 ath10k_core mac80211 737280 1 ath10k_core cfg80211 565248 3 ath,mac80211,ath10k_core 

dmesg|grep ath发现了我需要的固件的大量信息。 你能翻译一下:-)

 [ 13.180269] ath10k_pci 0000:03:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0 [ 13.433624] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2 [ 13.433643] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2 [ 13.433646] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-5.bin': -2 [ 13.433657] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2 [ 13.433660] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2 [ 13.433668] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2 [ 13.433670] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2 [ 13.433680] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2 [ 13.433682] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2 [ 13.433690] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2 [ 13.433692] ath10k_pci 0000:03:00.0: could not fetch firmware (-2) [ 13.433695] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2) [ 13.433699] ath10k_pci 0000:03:00.0: could not probe fw (-2) 

谢谢

AHA – 我认为这是固定的。

我看到发行版没有QCA9377驱动程序。

然后,我通过尝试编译自己的东西搞砸了大部分时间。 一旦解决了这个问题,那么通过将QCA9377驱动程序复制到/ lib / firmware …系统现在可以找到正确的驱动程序和Walllaaaa!

感谢chilli555 – 问题解决了!

加载驱动程序时出现此错误,显示makesudo make install

 sudo modprobe ath10k_pci modprobe: ERROR: could not insert 'ath10k_pci': Required key not available 

让我们卸载你从backports构建的驱动程序。 它不是必需的,因为它已经存在于Ubuntu 16.04中:

 cd ~/backports-4.4.2-1 sudo make uninstall 

重新启动并检查是否加载了默认驱动程序:

 lsmod | grep ath 

如果是这样,消息日志应该向我们显示需要什么固件,如果不是您已安装的固件。 校验:

 dmesg | grep ath 

实际上,如果缺少固件,我将编辑此答案以解释如何安装它。