Ubuntu 22.04 上的 wifi 波动

Ubuntu 22.04 上的 wifi 波动

我几个月前安装了 Ubuntu 22.04(内核 5.15.0.41.44),我的 wifi 没有问题。

过去 3 天发生了一些事情。当我启动笔记本电脑时一切正常,但 3-5 分钟后,设备断开 Wi-Fi 连接然后重新连接,并持续尝试一段时间,最后连接丢失。

当我连接到手机的 Wi-Fi 并且距离很小的时候,连接很稳定。

我几乎尝试了所有方法,我重启了模块,重启了网络管理器,关闭了无线省电模式,更新到内核 5.19.0然后降级为5.18.15大约 15 分钟后问题就解决了,但又开始出现同样的问题。我真的很沮丧,现在我不知道安装另一个 wifi 驱动程序是否有帮助。我正在使用“Realtek-RTL8821CE”。我见过许多类似的问题,但没有任何解决方案有帮助。

最近,我遇到了一些问题。有些包无法升级,它们被保留了下来。我尝试单独安装它们后,sudo apt install package-name仍然出现此问题:我估计错误是由我的 wifi 适配器引起的。谢谢您的时间。

~$ sudo apt install ubuntu-release-upgrader-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ubuntu-release-upgrader-gtk is already the newest version (1:22.04.12).
ubuntu-release-upgrader-gtk set to manually installed.
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libva-wayland2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rtl8821ce-dkms (5.5.2.1-0ubuntu10) ...
Removing old rtl8821ce-5.5.2.1 DKMS files...
Deleting module rtl8821ce-5.5.2.1 completely from the DKMS tree.
Loading new rtl8821ce-5.5.2.1 DKMS files...
Building for 5.18.15-051815-generic
Building initial module for 5.18.15-051815-generic
ERROR (dkms apport): kernel package linux-headers-5.18.15-051815-generic is not supported
Error! Bad return status for module build on kernel: 5.18.15-051815-generic (x86_64)
Consult /var/lib/dkms/rtl8821ce/5.5.2.1/build/make.log for more information.
dpkg: error processing package rtl8821ce-dkms (--configure):
 installed rtl8821ce-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 rtl8821ce-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容