我有Ubuntu20.04安装在戴尔XPS 139380(服务标签: 8SGZPV2)与高通QCA6174 wifi芯片。每隔2-5分钟,无线信号就会下降,几秒钟后就会恢复正常。这是一个新的Ubuntu桌面安装通过通常的方法(即,不是一个自定义的OS/内核构建)。最初的操作系统是Windows 10 (没有wifi问题),Ubuntu是在硬盘擦除(即,不是双引导)之后安装的。
这是我的无线硬件。
$ lspci
02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
$ dmesg | grep ath
[ 23.571480] ath10k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[ 23.579850] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 23.862206] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a
[ 23.862209] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 23.862620] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 29eb8ca1
[ 23.927110] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 4ac0889b
[ 24.000120] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[ 24.020001] ath10k_pci 0000:02:00.0: htt-ver 3.60 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 24.108647] ath: EEPROM regdomain: 0x6c
[ 24.108647] ath: EEPROM indicates we should expect a direct regpair map
[ 24.108648] ath: Country alpha2 being used: 00
[ 24.108649] ath: Regpair used: 0x6c
[ 24.115986] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[ 25.553827] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536这是我的操作系统设置。
$ lsb_release -d
Description: Ubuntu 20.04 LTS
$ uname -r
5.4.0-39-generic
$ apt list --installed | grep "linux-generic"
linux-generic-hwe-20.04/focal-updates,focal-security,now 5.4.0.39.42 amd64 [installed]我已经完成了这些步骤:QCA6174 ath10k_pci更多无线网络问题-高通Atheros
这包括:
sudo apt-get install --reinstall linux-firmware
sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf没有任何错误。我重新启动了。问题依然存在。
另一个线程(WiFi戴尔XPS 139360一直与接6174 802.11ac无线网络适配器断开连接)表示要安装自定义内核模块。我没有那样做,但我确实跑了几步,看看它是否有用。
sudo modprobe -r ath10k_pci ath10k_core
sudo modprobe ath10k_pci
sudo modprobe ath10k_core无线信号掉落和恢复的问题依然存在。
另一个线程(高通牙6174不稳定无线和蓝牙)也提到了安装自定义固件(https://github.com/thebitstick/surfacego-wifi)。
我担心,如果我尝试一个完全不同的设备,我的笔记本电脑。因此,我没有安装任何自定义内核模块或固件。这真的是答案吗?如果是,是哪一个?
请帮帮忙。
发布于 2020-11-10 10:49:20
我尝试了新的固件和许多其他不同的解决方案,但在Ubuntu20.10上没有效果。固件崩溃和断开仍在发生。
最后,我编写了在启动时运行的bash脚本。当连接丢失时,它将自动重新连接到AP。也许它也能帮到你。
您可能需要安装fping utlity。
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发布于 2020-08-17 08:53:27
我在ubuntu18.04的同一台笔记本电脑上也有无线上网问题。我没有安装20.04,但问题与您的问题相同。它只发生在我的路由器在家里。
在和戴尔打了很多邮件和电话之后,我明白他们什么也做不了。他们一开始就不应该把这个设备卖给ubuntu。
对我来说,简单的解决方案就是改变我的路由器。问题已经部分解决了,因为我可能会在某个时候在其他地方遇到这个问题。在下一次购买预装Ubuntu的笔记本之前,我会搜索更多。
https://askubuntu.com/questions/1255137
复制相似问题