pas*_*eno 5 wireless networking xps dell 20.04
我在带有 Qualcomm QCA6174 wifi 芯片的 Dell XPS 13 9380(服务标签:8SGZPV2)上安装了 Ubuntu 20.04。每隔 2-5 分钟,wifi 信号就会下降,然后在几秒钟后恢复在线。这是通过常用方法(即,不是自定义操作系统/内核构建)全新安装的 Ubuntu 桌面。最初的操作系统是 Windows 10(没有 wifi 问题),Ubuntu 是在硬盘驱动器擦除后安装的(即,不是双引导)。
这是我的wifi硬件。
$ 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
Run Code Online (Sandbox Code Playgroud)
这是我的操作系统设置。
$ 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]
Run Code Online (Sandbox Code Playgroud)
我已经完成了这些步骤:更多 wifi 问题 - Qualcomm Atheros QCA6174 ath10k_pci
这包括:
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
Run Code Online (Sandbox Code Playgroud)
没有错误。我重新启动。并且问题仍然存在。
另一个线程(WiFi DELL XPS 13 9360 与 QCA6174 802.11ac 无线网络适配器保持断开连接)说要安装自定义内核模块。我没有这样做,但我确实运行了几个步骤,看看它是否有帮助。
sudo modprobe -r ath10k_pci ath10k_core
sudo modprobe ath10k_pci
sudo modprobe ath10k_core
Run Code Online (Sandbox Code Playgroud)
wifi信号掉线又恢复的问题依然存在。
另一个线程(高通 QCA6174 不稳定的 wifi 和蓝牙)也提到安装自定义固件(https://github.com/thebitstick/surfacego-wifi)。
如果我尝试完全不同的设备,我担心我的笔记本电脑变砖。所以我没有安装任何自定义内核模块或固件。这真的是答案吗?如果有,是哪一个?
请帮忙。
我尝试了新固件和许多其他不同的解决方案,但在 Ubuntu 20.10 上没有效果。固件崩溃和断开连接仍然不断发生。
最后,我编写了以下在启动时运行的 bash 脚本。当连接丢失时,它会自动重新连接到 AP。也许它也会对你有帮助。
您可能需要安装 fping 实用程序
sudo apt install fping
Run Code Online (Sandbox Code Playgroud)
在第 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
Run Code Online (Sandbox Code Playgroud)
小智 0
我在 ubuntu 18.04 上使用同一台笔记本电脑时也遇到了 wifi 问题。我没有安装20.04,但问题和你的一样。仅在我家里的路由器上发生过这种情况。
在与戴尔发送大量邮件和电话后,我了解到他们对此无能为力。他们一开始就不应该将这个设备与 ubuntu 一起出售。
对我来说,简单的解决方案就是更换路由器。问题部分解决了,因为我可能在其他地方遇到这个问题。下次购买预装 Ubuntu 的笔记本之前我会多搜索一下。
归档时间: |
|
查看次数: |
1974 次 |
最近记录: |