最近,我将Ubuntu16.04安装在带有双引导的MSI GS63VR笔记本电脑上(使用Windows 10)。这台笔记本电脑有Killer 1535 Wi适配器(带有QCA6174芯片)。我在他们的官方网站上跟踪了使用说明:
Ubuntu16.04内置的驱动程序应该可以正常工作,但您可能需要更新您的无线固件: wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.162_all.deb sudo dpkg -i linux-固件*..deb sudo may -r ath10k_pci && sudo mod探头ath10k_pci。
不过,有一点需要注意-- 所述档案已经不存在了,因此信息有点过时了。因此,我检查了整个名单并使用了最新版本(1.164)。
即使是Wi网络也是可见的,不幸的是我无法连接到我的家庭Wi。我检查了密码多次,这是肯定的。
奇怪的是,我可以连接到智能手机上的Android接入点。此外,家里的其他设备也可以在没有任何问题的情况下连接到这个Wi上,而且在同一台笔记本电脑上的同一台笔记本电脑上,在相同的距离上工作也很好。因此,我被迫使用Android访问点作为临时解决方案。
路由器放置在大厅(安装在墙上约1米半的地板)。距离是:客厅-我的房间(大约8-9米).如果我接近路由器,我可以立即连接到家庭Wi和速度是相当好的。即使在我的房间里,如果我来到门口(离我的工作台大约1米半),我就能连接起来,速度也很好。笔记本电脑放在工作台上,我根本无法连接,或者如果我幸运地连接(很少发生)网络是不可用的。如果我把笔记本电脑移到我的床上,连接的机会会更高一些,但是速度非常慢,所以它也是不可用的。
移动路由器(或我自己更接近它)现在对我来说不是一个选项,这也将只在本地解决这个问题(仅针对我的环境)。
所以我认为原因要么是驱动程序的原因,要么是Ubuntu特定的设置,因为在Windows 10上,使用这台笔记本电脑的距离是一样的。
重要注意事项:在发布这篇文章之前,我搜索了很多,并尝试了类似问题中的建议。这些建议对我都没有用。
有关产出:
sudo lshw -c network是:
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:3e:00.0
logical name: wlp62s0
version: 32
serial: **:**:**:**:**:**
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.8.0-36-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 ip=***.***.**.* latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:132 memory:df200000-df3fffff产出:
dmesg | grep ath10k是:
[ 3.086898] ath10k_pci ****:**:**.*: enabling device (0000 -> 0002)
[ 3.087198] ath10k_pci ****:**:**.*: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 3.372179] ath10k_pci ****:**:**.*: Direct firmware load for ath10k/pre-cal-pci-****:**:**.*.bin failed with error -2
[ 3.372184] ath10k_pci ****:**:**.*: Direct firmware load for ath10k/cal-pci-****:**:**.*.bin failed with error -2
[ 3.372360] ath10k_pci ****:**:**.*: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 3.372361] ath10k_pci ****:**:**.*: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 3.373277] ath10k_pci ****:**:**.*: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[ 3.373277] ath10k_pci ****:**:**.*: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 3.373623] ath10k_pci ****:**:**.*: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
[ 3.436610] ath10k_pci ****:**:**.*: board_file api 2 bmi_id N/A crc32 8c15898f
[ 5.561030] ath10k_pci ****:**:**.*: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 5.656429] ath10k_pci ****:**:**.* wlp62s0: renamed from wlan0下面是与Android接入点的连接日志:
[ 107.007374] wlp62s0: authenticate with **:**:**:**:**:**
[ 107.057897] wlp62s0: send auth to **:**:**:**:**:** (try 1/3)
[ 107.059728] wlp62s0: authenticated
[ 107.061296] wlp62s0: associate with **:**:**:**:**:** (try 1/3)
[ 107.064661] wlp62s0: RX AssocResp from **:**:**:**:**:** (capab=0x411 status=0 aid=1)
[ 107.067985] wlp62s0: associated
[ 107.068042] IPv6: ADDRCONF(NETDEV_CHANGE): wlp62s0: link becomes ready这是连接到家庭Wi的日志:
[ 101.628172] wlp62s0: authenticate with **:**:**:**:**:**
[ 101.674946] wlp62s0: send auth to **:**:**:**:**:** (try 1/3)
[ 101.679850] wlp62s0: send auth to **:**:**:**:**:** (try 2/3)
[ 101.684955] wlp62s0: send auth to **:**:**:**:**:** (try 3/3)
[ 101.690259] wlp62s0: authentication with **:**:**:**:**:** timed out
[ 102.308700] IPv6: ADDRCONF(NETDEV_UP): wlp62s0: link is not ready我用:
dmesg | grep wlp62s0命令检索此信息。
一些建议建议替换来自kvalo/ath10k固件 repo的固件文件,所以我决定尝试一下:
cd ~/programs/
git clone https://github.com/kvalo/ath10k-firmware.git
sudo rm -rf /lib/firmware/ath10k/QCA6174/
sudo cp -r ath10k-firmware/QCA6174 /lib/firmware/ath10k/
cd /lib/firmware/ath10k/QCA6174/hw2.1/
sudo mv firmware-5.bin_SW_RM.1.1.1-00157-QCARMSWPZ-1 firmware-5.bin
cd ../hw3.0
sudo mv firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 firmware-4.bin
sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci
reboot不幸的是,这也于事无补。
以下是我另外尝试过的:
1)我使用IPv6禁用了这种方法。现在,这些错误-- "IPv6: ADDRCONF(NETDEV_UP):wlp62s0: link尚未准备好“--已经消失,但身份验证仍在超时:
2)按照Jeremy31在这个答案中的建议,改变电源管理设置。现在,这个过程有时会进一步发展:
[ 76.352810] wlp62s0: authenticate with **:**:**:**:**:**
[ 76.400120] wlp62s0: send auth to **:**:**:**:**:** (try 1/3)
[ 76.405250] wlp62s0: authenticated
[ 76.407644] wlp62s0: associate **:**:**:**:**:** (try 1/3)
[ 76.418128] wlp62s0: RX AssocResp from **:**:**:**:**:** (capab=0x431 status=0 aid=2)
[ 76.421150] wlp62s0: associated
[ 122.364346] wlp62s0: deauthenticating **:**:**:**:**:** by local choice (Reason: 3=DEAUTH_LEAVING)在其他情况下,我得到超时,如更新1。
3)改变路由器设置,使其仅使用WPA2加密。试验了其他设置,如模式,信道,信道带宽。尝试按提供程序的建议手动设置连接属性(地址、网络、网关和DNS)。
4)将无线监管域设置为我国代码(KZ,代表哈萨克斯坦)。
应用后的日志内容:
[ 5.958257] ath: EEPROM regdomain: 0x6c
[ 5.958258] ath: EEPROM indicates we should expect a direct regpair map
[ 5.958259] ath: Country alpha2 being used: 00
[ 5.958259] ath: Regpair used: 0x6c
[ 5.963073] ath10k_pci 0000:3e:00.0 wlp62s0: renamed from wlan05)尝试更改skip_otp选项:
echo "options ath10k_pci skip_otp=y" > /etc/modprobe.d/ath10k.conf这没有帮助,还在日志中给出了这一行:
[ 3.381182] ath10k_pci: unknown parameter 'skip_otp' ignored6)尝试使用其他固件版本,例如1.157.9。
我在Ubuntu论坛上也问了同样的问题,但仍然没有成功。这对我来说是最大的问题,因为如果没有良好的网络连接,我就无法正常工作。
如有任何帮助和建议,我们将不胜感激。如果你需要更多的信息,请告诉我。
发布于 2018-04-16 01:11:57
不过,当这个问题发布时,QCA6174还存在一些bug,它们已经被修复了。当然,新的问题可能还会发生。要修复这些旧bug,请使用:
sudo apt update
sudo apt upgrade新安装不会有上面列出的旧错误,也不需要做任何事情来修复旧的bug。
与您在网络管理器节电上的链接相反,我的卡设置方式相反:
$ cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[connection]
wifi.powersave = 3
# Slow sleep fix: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1670041
#wifi.powersave = 2发布于 2017-05-07 18:14:42
你试过使用在.deb上提出的https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940/comments/153吗?
http://people.canonical.com/~sforshee/lp1436940/linux-firmware_1.157+lp1436940v201605310852_all.deb
看起来它适用于使用同一张卡的其他人。或者,项目的GitHub链接似乎是:https://github.com/kvalo/ath10k-firmware
发布于 2018-01-05 18:27:00
来自dmesg的输出表明:
无法获取固件文件‘ath10k/ not 6174/hw3.0/固件-5.bin’
但是,使用kvalo固件解决此问题的尝试将固件-5.bin文件放置在/lib/firmware/ath10k/QCA6174/hw2.1/中,而不是..../ath10k/QCA6174/hw3.0/它希望在那里找到它。除此之外的一切都可能是多余的,因为所请求的固件是找不到的。
https://askubuntu.com/questions/905363
复制相似问题