升级到内核 5.17.8 后没有 wifi 连接 ubuntu 22.04 LTS

升级到内核 5.17.8 后没有 wifi 连接 ubuntu 22.04 LTS

我的新 ubuntu 22.04 LTS 有 wifi 问题。我的 wifi 经常断开连接。我发现了一些建议将内核从 5.15 升级到 5.17。然后我使用此命令升级到 5.17 内核

sudo apt-get update
sudo apt-get upgrade

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.17.5/amd64/linux-headers-5.17.5-051705_5.17.5-051705.202204271406_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.17.5/amd64/linux-headers-5.17.5-051705-generic_5.17.5-051705.202204271406_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.17.5/amd64/linux-image-unsigned-5.17.5-051705-generic_5.17.5-051705.202204271406_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.17.5/amd64/linux-modules-5.17.5-051705-generic_5.17.5-051705.202204271406_amd64.deb
sudo dpkg -i linux*.deb

现在顶部栏和设置上看不到 wifi。我使用 HP 1000。

网络硬件信息

~$ lspci -knn | grep Net -A7
07:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
    DeviceName: Marilyn HB125 1x1 802.11bgn
    Subsystem: Hewlett-Packard Company AR9485/HB125 802.11bgn 1×1 Wi-Fi Adapter [103c:1838]
    Kernel modules: ath9k
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)
    Subsystem: Hewlett-Packard Company RTS5229 PCI Express Card Reader [103c:21e9]
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci

~$ sudo lshw -C network  
  *-network                 
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0
       version: 05
       serial: 8c:dc:d4:d6:42:c9
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.17.8-051708-generic duplex=full firmware=rtl_nic/rtl8105e-1.fw ip=192.168.1.4 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:16 ioport:4000(size=256) memory:f1104000-f1104fff memory:f1100000-f1103fff
  *-network UNCLAIMED
       description: Network controller
       product: AR9485 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:07:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:f1200000-f127ffff memory:f1280000-f128ffff
~$ sudo dmesg | grep ath
[    0.000000] Linux version 5.17.8-051708-generic (kernel@kathleen) (gcc (Ubuntu 11.3.0-1ubuntu1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #202205151940 SMP PREEMPT Sun May 15 20:04:23 UTC 2022
[    5.350372] ath: disagrees about version of symbol ieee80211_get_channel_khz
[    5.350380] ath: Unknown symbol ieee80211_get_channel_khz (err -22)
[    5.350394] ath: disagrees about version of symbol wiphy_apply_custom_regulatory
[    5.350396] ath: Unknown symbol wiphy_apply_custom_regulatory (err -22)
[    5.350407] ath: disagrees about version of symbol freq_reg_info
[    5.350408] ath: Unknown symbol freq_reg_info (err -22)

我的临时解决方案

现在,我已将 ubuntu 内核降级为 以5.13.19-051319-generic解决我的 wifi 问题。这不是最好的解决方案,但我可以不间断地工作一段时间,直到内核的新更新修复了我的 wifi 问题。

相关内容