Fedora VM 未连接到 Host-Only

Fedora VM not connecting to Host-Only

主机:Win7, 虚拟机:Fedora 20, VMware 播放器 7. 您好,我已经在虚拟 Fedora 20 OS 上工作了一段时间,并且随机断开了连接。主机上的 Wifi 很好,但虚拟机无法连接。这是 ifconfig -a:

的输出
eno16777736: flags=4098<BROADCAST,MULTICAST>  mtu 1500
    ether 00:50:56:3b:a0:42  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 0  bytes 0 (0.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 19  base 0x2000  

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 0  (Local Loopback)
    RX packets 480  bytes 75417 (73.6 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 480  bytes 75417 (73.6 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

我对 linux OS 的故障排除经验不多。一些指导将不胜感激。

我通过在位于 etc/sysconfig/network-scripts 的网卡配置文件中添加 NM_CONTROLLED=yes 解决了这个问题。然后我 运行 命令 sudo ifup <name of vm NIC>