我在笔记本电脑上安装了 Windows 和 Ubuntu。Windows 没有问题。我想我可能在 Ubuntu 上做了一些更新,当我重新启动时,没有 wifi 连接。我搜索了很多,除了更新驱动程序之外什么都试过了,因为我家里没有有线连接。我试过 rfkill unblock,无线上没有软或硬阻止。我检查了网络管理器状态并重新启动了它。但它没有用。这是我的一些信息。如果有人能提供帮助,我将不胜感激。谢谢!
$ lspci -knn | grep Net -A3
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c822]
Subsystem: Electronics & Telecommunications RSH Device [1058:1e25]
Kernel driver in use: rtw_pci
Kernel modules: rtwpci
$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
$ iwconfig
docker0 no wireless extensions.
lo no wireless extensions.
wlp1s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
enx00e04c3601cd no wireless extensions.
$ sudo lshw -c network
*-network DISABLED
description: Wireless interface
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 00
serial: 40:23:43:d2:c9:3b
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-51-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:59 ioport:2000(size=256) memory:c0700000-c070ffff
*-network:0
description: Ethernet interface
physical id: 2
logical name: docker0
serial: 02:42:dc:2c:d7:08
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes
*-network:1
description: Ethernet interface
physical id: 3
logical name: enx00e04c3601cd
serial: 00:e0:4c:36:01:cd
size: 10Mbit/s
capacity: 100Mbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.10.11 duplex=half link=no multicast=yes port=MII speed=10Mbit/s
我已经安装了新的驱动程序,但问题仍然存在......
$ lspci -knn | grep Net -A3
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c822]
Subsystem: Electronics & Telecommunications RSH Device [1058:1e25]
Kernel driver in use: rtw_8822ce
Kernel modules: rtwpci, rtw_8822ce
$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
$ cat /etc/netplan/*.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
答案1
您有一个 RTL8822CE 设备,目前还不支持开箱即用。
通过其他方式获取互联网连接,例如连接到 USB 的手机并以这种方式安装驱动程序:
sudo apt update
sudo apt install git dkms
git clone https://github.com/lwfinger/rtw88.git
sudo dkms add ./rtw88
sudo dkms install rtlwifi-new/0.6
如果 Wi-Fi 不工作,您可能需要将树内模块列入黑名单。