编辑:经过进一步调查,我发现我缺少cfg80211
所iwlwifi
依赖的内核模块:
modinfo cfg80211
filename: /lib/modules/5.4.0-104-generic/kernel/net/wireless/cfg80211.ko
modinfo: ERROR: could not get modinfo from 'cfg80211': No such file or directory
我该如何纠正这个问题?
原始问题如下:
我正在安装tp-link AC1200 Archer T5E
,芯片组是英特尔AC7265
。我尝试从他们的网站,将其复制到/lib/firmware/
,然后重新启动,但没有成功。根据网站,我使用的内核内置了对它的支持。一些命令输出:
neofetch
OS: KUbuntu 20.04.3 LTS x86_64
Host: MS-7C02 1.0
Kernel: 5.4.0-104-generic
lspci -nnk
21:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
DeviceName: Broadcom 5762
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5010]
Kernel modules: iwlwifi
iwconfig
(我有一个 USB 系绳作为创可贴,enp34s0
是以太网)
usb0 no wireless extensions.
lo no wireless extensions.
enp34s0 no wireless extensions.
br-4400933269a8 no wireless extensions.
docker0 no wireless extensions.
rfkill list all
(我认为这只是我的键盘的加密狗)
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:21:00.0
version: 59
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:f7600000-f7601fff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:22:00.0
logical name: enp34s0
version: 15
serial: 00:d8:61:e0:65:9b
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII
resources: irq:37 ioport:f000(size=256) memory:f7504000-f7504fff memory:f7500000-f7503fff
*-network
description: Ethernet interface
physical id: 1
bus info: usb@1:7
logical name: usb0
serial: 26:31:73:3a:64:4d
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.117 link=yes multicast=yes
答案1
最终对我有用的是:
sudo apt update
sudo apt dist-upgrade
增加了补丁版本,我现在可以使用Ubuntu 20.04.4 LTS x86_64
,并且一切正常!modinfo cfg80211
现在按预期显示有关模块的信息。