最近我将 ubuntu 桌面从 18.04 升级到 20.04,升级并重新启动互联网连接后,右上角的图标丢失了,我尝试了 2 天谷歌搜索都找不到任何解决方案。
以下是我运行以获取信息/状态的一些命令。
user:~$ sudo gedit /etc/network/interfaces
输出
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
user:~$ networkctl
输出
WARNING: systemd-networkd is not running, output will be incomplete.
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback n/a unmanaged
1 links listed.
user:~$ ifconfig
输出
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 4047 bytes 302018 (302.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4047 bytes 302018 (302.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
user:~$ ip ad
输出
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
user:~$ sudo lshw -C network
输出
*-network UNCLAIMED
description: Network controller
product: RTL8188EE Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:4000(size=256) memory:d1200000-d1203fff
*-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:02:00.0
version: 15
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:d1104000-d1104fff memory:d1100000-d1103fff
台式机通过电缆/wifi 连接,但无法正常工作……但其他机器上的互联网可以正常工作。我不知道出了什么问题……任何帮助都将不胜感激。
答案1
链接这里很有帮助,特别是命令。
sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status
运行命令后缺少模块因此在手动下载并安装所需模块后,机器可以连接 wifi 但没有连接电缆。
一旦机器连接上,我立即运行升级命令,从 20 升级到 22,升级后一切开始工作。