22.04.1 网络无人认领

Son*_*aze 10 networking

我在使用 Ubuntu 22.04.1 时遇到问题,无法连接到互联网。我使用命令 [Sudo lshw -c network] 并显示“网络无人认领”行。

*-network UNCLAIMED       
   description: Ethernet controller
   product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:03:00.0
   version: 03
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd bus_master cap_list
   configuration: latency=0
   resources: ioport:d800(size=256) memory:f8fff000-f8ffffff memory:f8ff8000-f8ffbfff memory:f9ee0000-f9efffff


 *-network UNCLAIMED
   description: Network controller
   product: RTL8812AE 802.11ac PCIe Wireless Network Adapter
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:02:00.0
   version: 01
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list
   configuration: latency=0
   resources: ioport:c800(size=256) memory:f9dfc000-f9dfffff
Run Code Online (Sandbox Code Playgroud)

另外,我的一些使用 USB 端口的设备无法工作。

不知道我这段代码是否正确

$ sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status dpkg-query: package 'linux-modules-extra-5.15.0-52-generic' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files.

请帮忙提前谢谢

chi*_*555 18

提供网络驱动程序等的软件包是linux-modules-extra。由于我们不明白的原因,它没有安装在您的更新中。

\n

该软件包位于: https: //packages.ubuntu.com/jammy/kernel/linux-modules-extra-5.15.0-52-generic

\n

请将其下载到其他计算机上并使用 USB 密钥或类似设备进行传输。将其拖放到 Ubuntu 计算机的桌面上。现在,在终端中:

\n
cd ~/Desktop\nsudo dpkg -i linux*.deb\n
Run Code Online (Sandbox Code Playgroud)\n

重启。您的网络设备现在应该可以工作了。

\n

注意搜索者请注意:您的确切内核版本值得怀疑,因此 linux-modules-extra 版本仍然是 5.15.0-32-generic,如上所述,请验证您正在运行的内核版本:

\n
uname -r\n
Run Code Online (Sandbox Code Playgroud)\n

例如,如果您发现正在运行的内核版本是 5.15.0-99-generic,那么这就是您需要的 linux-modules-extra 版本;即 linux-modules-extra-5.15.0-99-generic。

\n