WiFi DELL XPS 13 9360 不断与 QCA6174 802.11ac 无线网络适配器断开连接

WiFi DELL XPS 13 9360 不断与 QCA6174 802.11ac 无线网络适配器断开连接

我有一台双启动(非安全模式)的 DELL XPS 13 9360,装有 Windows 10 和 Ubuntu 16.04。我在 Ubuntu 中通过 WiFi 丢失了互联网连接。它说我仍有 WiFi 连接,但当我尝试加载网页时它不起作用。重新连接 WiFi 后它又可以正常工作了。

我在 Windows 下没有发现任何问题,但我也不经常使用它。

我收到以下错误消息:

$ dmesg | grep ath10k
[    4.205120] ath10k_pci 0000:3a:00.0: enabling device (0000 -> 0002)
[    4.208595] ath10k_pci 0000:3a:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[    4.451852] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/cal-pci-0000:3a:00.0.bin failed with error -2
[    4.452298] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    4.452302] ath10k_pci 0000:3a:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    6.685390] ath10k_pci 0000:3a:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 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
[    6.685394] ath10k_pci 0000:3a:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    6.770465] ath10k_pci 0000:3a:00.0 wlp58s0: renamed from wlan0
[   31.785831]  drbg ansi_cprng ctr ccm arc4 rfcomm ax88179_178a usbnet mii bnep hid_multitouch i2c_designware_platform i2c_designware_core dell_wmi dell_laptop dcdbas snd_hda_codec_hdmi dell_led nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul snd_hda_intel ghash_clmulni_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm aesni_intel snd_seq_midi snd_seq_midi_event snd_rawmidi aes_x86_64 lrw gf128mul snd_seq glue_helper snd_seq_device ablk_helper ath10k_pci snd_timer cryptd ath10k_core ath mac80211 serio_raw snd soundcore cfg80211 uvcvideo rtsx_pci_ms videobuf2_vmalloc memstick videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common input_leds joydev videodev media btusb idma64 btrtl virt_dma mei_me mei shpchp
[  333.016018] ath10k_pci 0000:3a:00.0: failed to stop wmi scan: -11
[  333.016023] ath10k_pci 0000:3a:00.0: failed to stop scan: -11
[  333.016025] ath10k_pci 0000:3a:00.0: failed to start hw scan: -110
[  337.016326] ath10k_pci 0000:3a:00.0: failed to start hw scan: -11
[  341.016440] ath10k_pci 0000:3a:00.0: failed to start hw scan: -11
[  342.066875] ath10k_pci 0000:3a:00.0: firmware crashed! (uuid 62bfa4a8-1fa3-4e94-9aba-362b8e591c7b)
[  342.066947] ath10k_pci 0000:3a:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 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
[  342.066964] ath10k_pci 0000:3a:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  342.068995] ath10k_pci 0000:3a:00.0: firmware register dump:
[  342.069013] ath10k_pci 0000:3a:00.0: [00]: 0x05030000 0x000015B3 0x009860FA 0x00955B31
[  342.069021] ath10k_pci 0000:3a:00.0: [04]: 0x009860FA 0x00060730 0x00000004 0x0040E8A0
[  342.069027] ath10k_pci 0000:3a:00.0: [08]: 0x00498110 0x00955A00 0x0000000B 0x00400000
[  342.069033] ath10k_pci 0000:3a:00.0: [12]: 0x00000009 0x00000000 0x00952CD0 0x00952CE6
[  342.069039] ath10k_pci 0000:3a:00.0: [16]: 0x00952CC4 0x0091080D 0x00000000 0x0091080D
[  342.069047] ath10k_pci 0000:3a:00.0: [20]: 0x409860FA 0x0040E7E8 0x00000000 0x0041E0DC
[  342.069057] ath10k_pci 0000:3a:00.0: [24]: 0x800B5A1D 0x0040E848 0x000FFFFF 0xC09860FA
[  342.069064] ath10k_pci 0000:3a:00.0: [28]: 0x809B3230 0x0040E948 0x00000018 0x004313DC
[  342.069070] ath10k_pci 0000:3a:00.0: [32]: 0x809B2992 0x0040E998 0x0040E9C0 0x00429548
[  342.069077] ath10k_pci 0000:3a:00.0: [36]: 0x8091D252 0x0040E9B8 0x00000000 0x00000002
[  342.069083] ath10k_pci 0000:3a:00.0: [40]: 0x809FF05D 0x0040EA68 0x0043A380 0x00429C10
[  342.069089] ath10k_pci 0000:3a:00.0: [44]: 0x809FCFDB 0x0040EA88 0x0043A380 0x00000001
[  342.069096] ath10k_pci 0000:3a:00.0: [48]: 0x80911210 0x0040EAD8 0x00000010 0x004041D0
[  342.069102] ath10k_pci 0000:3a:00.0: [52]: 0x80911154 0x0040EB28 0x00400000 0x00000000
[  342.069109] ath10k_pci 0000:3a:00.0: [56]: 0x8091122D 0x0040EB48 0x00000000 0x00400600
[  342.069203] ath10k_pci 0000:3a:00.0: failed to start hw scan: -108
[  344.512357] ath10k_pci 0000:3a:00.0: device successfully recovered
[ 2346.814762]  drbg ansi_cprng ctr ccm arc4 rfcomm ax88179_178a usbnet mii bnep hid_multitouch i2c_designware_platform i2c_designware_core dell_wmi dell_laptop dcdbas snd_hda_codec_hdmi dell_led nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul snd_hda_intel ghash_clmulni_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm aesni_intel snd_seq_midi snd_seq_midi_event snd_rawmidi aes_x86_64 lrw gf128mul snd_seq glue_helper snd_seq_device ablk_helper ath10k_pci snd_timer cryptd ath10k_core ath mac80211 serio_raw snd soundcore cfg80211 uvcvideo rtsx_pci_ms videobuf2_vmalloc memstick videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common input_leds joydev videodev media btusb idma64 btrtl virt_dma mei_me mei shpchp
[ 4457.132991] ath10k_pci 0000:3a:00.0: failed to stop wmi scan: -11
[ 4457.132998] ath10k_pci 0000:3a:00.0: failed to stop scan: -11
[ 4457.133002] ath10k_pci 0000:3a:00.0: failed to start hw scan: -110
[ 4461.133068] ath10k_pci 0000:3a:00.0: failed to start hw scan: -11
[ 4465.133108] ath10k_pci 0000:3a:00.0: failed to start hw scan: -11
[ 4466.258813] ath10k_pci 0000:3a:00.0: firmware crashed! (uuid 04fb9fb0-095b-4470-8de4-7228e15e1861)
[ 4466.258832] ath10k_pci 0000:3a:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 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
[ 4466.258836] ath10k_pci 0000:3a:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 4466.260838] ath10k_pci 0000:3a:00.0: firmware register dump:
[ 4466.260845] ath10k_pci 0000:3a:00.0: [00]: 0x05030000 0x000015B3 0x009860FA 0x00955B31
[ 4466.260848] ath10k_pci 0000:3a:00.0: [04]: 0x009860FA 0x00060730 0x00000004 0x0040E8A0
[ 4466.260855] ath10k_pci 0000:3a:00.0: [08]: 0x00498110 0x00955A00 0x0000000B 0x00400000
[ 4466.260857] ath10k_pci 0000:3a:00.0: [12]: 0x00000009 0x00000000 0x00952CD0 0x00952CE6
[ 4466.260859] ath10k_pci 0000:3a:00.0: [16]: 0x00952CC4 0x00910712 0x00000000 0x0091080D
[ 4466.260861] ath10k_pci 0000:3a:00.0: [20]: 0x409860FA 0x0040E7E8 0x00000000 0x0041E0DC
[ 4466.260863] ath10k_pci 0000:3a:00.0: [24]: 0x800B5A1D 0x0040E848 0x000FFFFF 0xC09860FA
[ 4466.260864] ath10k_pci 0000:3a:00.0: [28]: 0x809B3230 0x0040E948 0x00000018 0x004313DC
[ 4466.260866] ath10k_pci 0000:3a:00.0: [32]: 0x809B2992 0x0040E998 0x0040E9C0 0x00429548
[ 4466.260869] ath10k_pci 0000:3a:00.0: [36]: 0x8091D252 0x0040E9B8 0x00000000 0x00000002
[ 4466.260873] ath10k_pci 0000:3a:00.0: [40]: 0x809FF05D 0x0040EA68 0x0043A380 0x00429C10
[ 4466.260877] ath10k_pci 0000:3a:00.0: [44]: 0x809FCFDB 0x0040EA88 0x0043A380 0x00000001
[ 4466.260881] ath10k_pci 0000:3a:00.0: [48]: 0x80911210 0x0040EAD8 0x00000010 0x004041D0
[ 4466.260883] ath10k_pci 0000:3a:00.0: [52]: 0x80911154 0x0040EB28 0x00400000 0x00000000
[ 4466.260885] ath10k_pci 0000:3a:00.0: [56]: 0x8091122D 0x0040EB48 0x00000000 0x00400600
[ 4466.260928] ath10k_pci 0000:3a:00.0: failed to start hw scan: -108
[ 4468.699722] ath10k_pci 0000:3a:00.0: device successfully recovered

我尝试从 hw3.0 文件夹重新安装驱动程序这里

您还可以找到无线信息日志这里,在另一次撞机事故后拍摄。

答案1

我将禁用 wifi 电源管理

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

将无线路由器上的加密更改为仅 WPA2,无 WEP、TKIP 或普通 WPA,根据路由器的不同,它可能称为 WPA2-PSK、WPA2-AES 或 WPA2 Personal。

重新安装 linux-firmware 包

sudo apt-get install --reinstall linux-firmware

重启

答案2

我认为我已经解决了这个问题。问题可能源自我的路由器设置。当我从 802.11n+g+b 更改为 802.11n+g 时,连接似乎很稳定。虽然随着时间的推移,我在 Ubuntu 和路由器中更改了相当多的设置,但这似乎起了作用。


编辑 1/7/17:后来我发现了另一个必须取消选中才能使其正常工作。在我的 Fritzbox 路由器中,它被称为:

已启用无线局域网共存

在频繁使用的无线环境中,可用的信道宽度以最佳方式在参与者之间分配。

我认为此选项有时会改变信号的带宽。发生这种情况时,我的笔记本电脑和路由器之间的连接就会丢失。如果我没记错的话,在/var/log/syslog文件中我还看到了类似以下内容:。bandwidth changed, connection lost

答案3

您可以尝试删除并重新添加 wifi 驱动程序的内核模块

lsmod |grep wifi

在我的计算机上我得到了以下信息:

iwlwifi               200704  1 iwlmvm
cfg80211              565248  3 iwlwifi,mac80211,iwlmvm

然后:

sudo modprobe -r iwlwifi && sudo modprobe iwlwifi

答案4

我在 Ubuntu 20.10 上尝试了新固件和许多其他不同的解决方案,但都无济于事。固件崩溃和断开连接仍然不断发生。

最后,我写了以下 bash 脚本,在启动时运行。当连接丢失时,它将自动重新连接到 AP。也许它也会对你有所帮助。

您可能需要安装 fping 实用程序

sudo apt install fping

在第 2 行编辑您的 WLAN 接口的名称并运行脚本如下:

#!/bin/bash
interface=wlp58s0;
ping_interval=5

while /bin/true; do
    connect=`iwconfig $interface | grep ESSID:off`
    if [ "${connect}" ]; then
            echo "Connect to some AP first.";
            sleep 10;
    else
            startdate=`date`;
            ip=`ip route show 0.0.0.0/0 dev $interface | cut -d\  -f3`
            reconnect=0
            essid=`iwgetid $interface -r`
            
            echo -e "Monitoring WLAN connection \n WLAN interface: $interface \n ESSID: $essid \n Default gateway: $ip \n Ping interval: $ping_interval s"

            while /bin/true; do
            up=`fping -r 1 $ip | grep alive`
            connect=`iwconfig $interface | grep ESSID:off`
            if [ -z "${up}" ] && [ -z "${connect}" ]; then
                    echo "Warning: connection lost at $(date)"
                    ((reconnect=$reconnect+1))
                    echo "Reconnecting..." &&
                    nmcli dev connect $interface &&
                    echo "Done! Connection on at $(date)"
                    echo -e "Reconnected $reconnect times from $startdate. \n"
            fi
            sleep $ping_interval
            done
    fi
done

相关内容