以太网和 wifi 在 ubuntu 16.04 上都无法工作。
ifconfig 命令不显示除本地环回之外的任何网络。
尝试手动设置 wifi 和以太网,但没有成功。
请建议解决该问题的方法。
命令的输出:lspci -knn | grep -EA3 'Eth|Net'
和 sudo lshw -c network 是:-
navneet@navneet-HP-Notebook:~$ lspci -knn | grep -EA3 'Eth|Net'
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:8135]
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:804c]
navneet@navneet-HP-Notebook:~$ sudo lshw -c network
[sudo] password for navneet:
*-network UNCLAIMED
description: Ethernet controller
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd cap_list
configuration: latency=0
resources: ioport:4000(size=256) memory:a1200000-a1200fff memory:a1000000-a1003fff
*-network UNCLAIMED
description: Network controller
product: RTL8723BE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:a1100000-a1103fff
谢谢
纳夫尼特
答案1
使用手机连接到互联网并在终端中运行
sudo apt update
sudo apt install git dkms
git clone -b rtw88 https://github.com/lwfinger/rtlwifi_new.git
sudo dkms add ./rtlwifi_new
sudo dkms install rtlwifi-new/0.6
这应该可以修复无线问题。