这是我的结果lshw -C network
:
*-network DISABLED
description: Ethernet interface
product: RTL810xE PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: enp8s0
version: 07
serial: 28:d2:44:38:b7:14
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=r8169 driverversion=5.15.0-27-generic latency=0 link=no multicast=yes
resources: irq:19 ioport:3000(size=256) memory:b5600000-b5600fff memory:b5400000-b5403fff
*-network UNCLAIMED
description: Network controller
product: AR9485 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:09:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
resources: memory:b5500000-b557ffff memory:b5580000-b558ffff
*-network
description: Ethernet interface
physical id: e
bus info: usb@3:10
logical name: usb0
serial: 3e:b5:df:7f:62:ad
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=5.15.0-27-generic duplex=half firmware=RNDIS device ip=192.168.199.96 link=yes multicast=yes port=twisted pair
如您所见,我的 AR9485 无线网络适配器在列表中,但当我转到 wifi 部分时,它显示未找到适配器。它在 ubuntu 21.04 上运行良好,但升级后我无法让它再次工作!
另外,我以双启动方式运行 Windows 10。这会是问题吗?
以下是结果modprobe ath9k
modprobe: ERROR: could not insert 'ath9k': Invalid argument
以下是结果grep ath9k /etc/modprobe.d/*
/etc/modprobe.d/ath9k.conf:options ath9k nohwcrypt=1
结果如下sudo dmesg | grep ath:
:
[ 18.864091] ath: Unknown symbol wiphy_apply_custom_regulatory (err -22)
[ 18.864097] ath: disagrees about version of symbol freq_reg_info
[ 18.864098] ath: Unknown symbol freq_reg_info (err -22)
[ 516.507570] ath: disagrees about version of symbol ieee80211_get_channel_khz
[ 516.507575] ath: Unknown symbol ieee80211_get_channel_khz (err -22)
[ 516.507587] ath: disagrees about version of symbol wiphy_apply_custom_regulatory
答案1
该设备应支持的并且 Windows 与此没有任何关系。
通过安装新版本,可能会再次激活“安全启动”。检查您的 UEFI 并将其禁用。
答案2
我花了五天时间才解决这个问题!!
针对dmesg
,我们看到了这样的情况:
[ 18.864097] ath: disagrees about version of symbol freq_reg_info
[ 18.864091] ath: Unknown symbol wiphy_apply_custom_regulatory (err -22)
通过该dkms status
命令,我发现安装了一些不必要的额外驱动程序,例如backport-iwlwifi-dkms
为我的 WIFI 安装的驱动程序,这些驱动程序是我在尝试解决这个问题时添加的。
我通过清除操作清除了这些:
sudo apt-get purge backport-iwlwifi-dkms
然后重新启动,我的 wifi 又可以正常工作了!