网络接口停止工作并更改为通用

网络接口停止工作并更改为通用

我发现了很多相关的问题,但没有一个能解决我的问题:当我使用我的电脑(Ubuntu 18.04)时,在任何随机时间我都会得到“激活网络连接失败”我的 wifi 适配器停止工作。经过一番研究,我发现了问题的原因。我只是不知道为什么会发生这种情况。

当适配器仍在工作,我得到以下信息:

$ sudo lshw -C network

*-network                 
description: Wireless interface
product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: 40:9f:38:d1:83:af
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw_pci driverversion=5.4.0-42-generic firmware=N/A ip=192.168.178.40 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:128 ioport:e000(size=256) memory:ef000000-ef00ffff

$ sudo lspci -v

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
Subsystem: AzureWave Device 2950
Flags: bus master, fast devsel, latency 0, IRQ 129
I/O ports at e000 [size=256]
Memory at ef000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-b8-22-01
Capabilities: [158] Latency Tolerance Reporting
Capabilities: [160] L1 PM Substates
Kernel driver in use: rtw_pci
Kernel modules: rtwpci

进而当它停止工作时(可能是在我打开电脑几秒钟后,也可能是几小时后),我得到:

$ sudo lshw -C network

*-generic                 
       description: Wireless interface
       product: Illegal Vendor ID
       vendor: Illegal Vendor ID
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: ff
       serial: 40:9f:38:d1:83:af
       width: 32 bits
       clock: 66MHz
       capabilities: bus_master vga_palette cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_pci driverversion=5.4.0-42-generic firmware=N/A latency=255 link=no maxlatency=255 mingnt=255 multicast=yes wireless=IEEE 802.11
       resources: irq:128 ioport:e000(size=256) memory:ef000000-ef00ffff

$ sudo lspci -v

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter (rev ff) (prog-if ff)
    !!! Unknown header type 7f
    Kernel driver in use: rtw_pci
    Kernel modules: rtwpci

我之前曾使用过 Windows 10 双启动,以为是这个问题,所以我放弃了 Windows。我尝试重新安装内核,尝试运行sudo modprobe rtwpci,但结果为空;尝试重新启动网络管理器,sudo ip link set wlp2s0 up但只成功RTNETLINK: Operation already in process,没有任何反应。

你知道为什么它会像这样随机变化吗?任何建议或可能的解决方案都将不胜感激。谢谢。

相关内容