I am not so into Linux and I am experiencing a very strange problem with a Linux 19.10 system on which I am working into VmWare workstation (but I suppose that it is not a VMware related problem).
The problem is that I had to restart the system due to a crash that freeze the system. After the restart I have no more Internet connection.
Performing the ifconfig command into the shell I obtain:
developer@developer-virtual-machine:/etc/network$ 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 (Loopback locale)
RX packets 2508 bytes 186240 (186.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2508 bytes 186240 (186.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
So it seems that for some reason it loose the ethernet interface used by VmWare to connect in NAT mode.
I tried to restart the system (also the host Windows machine on which VMWare is installed) but I still have this problem. How can I try to fix it?
EDIT-1: Performing sudo lshw -C network I obtain this output:
developer@developer-virtual-machine:~$ sudo lshw -C network
[sudo] password di developer:
*-network DISABLED
description: Ethernet interface
product: 82545EM Gigabit Ethernet Controller (Copper)
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:02:01.0
logical name: ens33
version: 01
serial: 00:50:56:3a:4b:1e
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=no mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:19 memory:fd5c0000-fd5dffff memory:fdff0000-fdffffff ioport:2000(size=64) memory:fd500000-fd50ffff
It seems that the networking is disabled
sudo lshw -C network
for example to list hardware devices of class network), but I suspect your issue is HOST related (either VMWare setting or w10) thus off-topic here.lshw
, which did show the problem (DISABLED). Well done for fixing !. Can I suggest you change your manual from cosmic [18.10] to eoan [19.10] , ie. manpages.ubuntu.com/manpages/eoan/man1/nmcli.1.html