![Ubuntu VMWare 虚拟机无法连接到互联网](https://linux22.com/image/1587546/Ubuntu%20VMWare%20%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5%E5%88%B0%E4%BA%92%E8%81%94%E7%BD%91.png)
我正在尝试在这台虚拟机上连接互联网,以便完成我的家庭作业,但我似乎无法连接。我尝试了许多故障排除选项,但无法解决问题。当我使用该命令时,ifconfig -a
我得到了这个作为我的输出
Command 'ifconfig' not found, but can be installed with:
sudo apt install net-tools
当我尝试安装它时,由于我没有连接到互联网,所以失败了。以下是我运行 时
发生的情况sudo lshw -class network
*-network
description: Ethernet interface
product: 82545EM Gigabit Ethernet Controller (Copper)
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: ens32
version: 01
serial: 00:0c:29:e9:22:90
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 66MHz
capabilities: pm pcix bus_master cap_list rom ethernet physical logical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full latency=0 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:18 memory:fd5c0000-fd5dffff memory:fdff0000-fdffffff ioport:2000(size=64) memory:fd500000-fd50ffff
任何帮助都很棒!谢谢。