我已经安装了 18.04 Ubuntu 服务器。然后在终端安装:
sudo apt-get install --no-install-recommends ubuntu-desktop
Run Code Online (Sandbox Code Playgroud)
当我现在登录桌面 gui 时,我的网络在右上角显示为不受管理,并且在设置中我没有任何有线设置选项,这是为什么?
我跑了:
sudo lshw -c net
Run Code Online (Sandbox Code Playgroud)
我不知道这里发生了什么,但我无法使用以太网/局域网连接到互联网。
当我运行时,lshw -C net
我得到了这个结果:
root@ubntnginx:/etc/netplan# lshw -C net
*-network DISABLED
description: Ethernet interface
product: RTL810xE PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: ens33
version: 02
serial: 18:a9:05:1a:b7:c1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical
configuration: broadcast=yes driver=r8169 latency=0 link=no multicast=yes
resources: irq:17 ioport:e800(size=256) memory:feaff000-feafffff memory:fdff0000-fdffffff memory:feac0000-feadffff
Run Code Online (Sandbox Code Playgroud)
这是ifconfig
命令的结果:
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 …
Run Code Online (Sandbox Code Playgroud)