Estou usando o Ubuntu 17.04 com o VMware Workstation 12 Player. Eu instalei o Windows 10 como convidado no VMware Player. Mas não pode fazer a internet funcionar. Obtendo o seguinte erro,
Could not connect 'Ethernet0' to virtual network '/dev/vmnet8
Configurações de rede do VMware
TenteiasopçõesBridgedeHost-only,aindasemfuncionar.
Meuconteúdodo/etc/network/interfaces,
autoloifaceloinetloopback
Minhasaídaifconfig,
enp7s0:flags=4099<UP,BROADCAST,MULTICAST>mtu1500ether28:d2:44:34:93:89txqueuelen1000(Ethernet)RXpackets0bytes0(0.0B)RXerrors0dropped0overruns0frame0TXpackets0bytes0(0.0B)TXerrors0dropped0overruns0carrier0collisions0deviceinterrupt19lo:flags=73<UP,LOOPBACK,RUNNING>mtu65536inet127.0.0.1netmask255.0.0.0inet6::1prefixlen128scopeid0x10<host>looptxqueuelen1000(LocalLoopback)RXpackets815450bytes378740719(378.7MB)RXerrors0dropped0overruns0frame0TXpackets815450bytes378740719(378.7MB)TXerrors0dropped0overruns0carrier0collisions0wlp8s0:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu1500inet192.168.2.110netmask255.255.255.0broadcast192.168.2.255inet6fe80::3210:b3ff:fe94:91b8prefixlen64scopeid0x20<link>ether30:10:b3:94:91:b8txqueuelen1000(Ethernet)RXpackets36388873bytes3782447465(3.7GB)RXerrors0dropped0overruns0frame1093979TXpackets11323909bytes2248899815(2.2GB)TXerrors0dropped0overruns0carrier0collisions0deviceinterrupt16
Alguémpodemeajudaraconsertarisso?
Editar:
Conteúdodo/etc/sysctl.conf
##/etc/sysctl.conf-Configurationfileforsettingsystemvariables#See/etc/sysctl.d/foradditionalsystemvariables.#Seesysctl.conf(5)forinformation.##kernel.domainname=example.com#Uncommentthefollowingtostoplow-levelmessagesonconsole#kernel.printk=3413##############################################################3#Functionspreviouslyfoundinnetbase##UncommentthenexttwolinestoenableSpoofprotection(reverse-pathfilter)#TurnonSourceAddressVerificationinallinterfacesto#preventsomespoofingattacks#net.ipv4.conf.default.rp_filter=1#net.ipv4.conf.all.rp_filter=1#UncommentthenextlinetoenableTCP/IPSYNcookies#Seehttp://lwn.net/Articles/277146/#Note:ThismayimpactIPv6TCPsessionstoo#net.ipv4.tcp_syncookies=1#UncommentthenextlinetoenablepacketforwardingforIPv4#net.ipv4.ip_forward=1#UncommentthenextlinetoenablepacketforwardingforIPv6#EnablingthisoptiondisablesStatelessAddressAutoconfiguration#basedonRouterAdvertisementsforthishost#net.ipv6.conf.all.forwarding=1####################################################################Additionalsettings-thesesettingscanimprovethenetwork#securityofthehostandpreventagainstsomenetworkattacks#includingspoofingattacksandmaninthemiddleattacksthrough#redirection.Somenetworkenvironments,however,requirethatthese#settingsaredisabledsoreviewandenablethemasneeded.##DonotacceptICMPredirects(preventMITMattacks)#net.ipv4.conf.all.accept_redirects=0#net.ipv6.conf.all.accept_redirects=0#_or_#AcceptICMPredirectsonlyforgatewayslistedinourdefault#gatewaylist(enabledbydefault)#net.ipv4.conf.all.secure_redirects=1##DonotsendICMPredirects(wearenotarouter)#net.ipv4.conf.all.send_redirects=0##DonotacceptIPsourceroutepackets(wearenotarouter)#net.ipv4.conf.all.accept_source_route=0#net.ipv6.conf.all.accept_source_route=0##LogMartianPackets#net.ipv4.conf.all.log_martians=1#####################################################################MagicsystemrequestKey#0=disable,1=enableall#Debiankernelshavethissetto0(disablethekey)#Seehttps://www.kernel.org/doc/Documentation/sysrq.txt#forwhatothervaluesdo#kernel.sysrq=1####################################################################Protectedlinks##Protectsagainstcreatingorfollowinglinksundercertainconditions#Debiankernelshavebothsetto1(restricted)#Seehttps://www.kernel.org/doc/Documentation/sysctl/fs.txt#fs.protected_hardlinks=0#fs.protected_symlinks=0vm.swappiness=10
Duranteaexecuçãodosudovmware-modconfig--console--install-all
StoppingVMwareservices:VMwareAuthenticationDaemondoneVMcommunicationinterfacesocketfamilydoneVirtualmachinecommunicationinterfacedoneVirtualmachinemonitordoneBlockingfilesystemdonemake:Enteringdirectory'/tmp/modconfig-CWgezO/vmmon-only'Usingkernelbuildsystem./usr/bin/make-C/lib/modules/4.10.0-24-generic/build/include/..SUBDIRS=$PWDSRCROOT=$PWD/.\MODULEBUILDDIR=modulesmake[1]:Enteringdirectory'/usr/src/linux-headers-4.10.0-24-generic'CC[M]/tmp/modconfig-CWgezO/vmmon-only/linux/driverLog.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/linux/driver.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/linux/hostif.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/common/memtrack.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/common/cpuid.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/common/vmx86.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/common/apic.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/common/task.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/common/hashFunc.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/common/comport.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/common/phystrack.oCC[M]/tmp/modconfig-CWgezO/vmmon-only/vmcore/moduleloop.o/tmp/modconfig-CWgezO/vmmon-only/linux/driver.c:1291:1:warning:always_inlinefunctionmightnotbeinlinable[-Wattributes]LinuxDriverSyncReadTSCs(uint64*delta)//OUT:TSCmax-TSCmin^~~~~~~~~~~~~~~~~~~~~~~/tmp/modconfig-CWgezO/vmmon-only/linux/driver.c:Infunction‘LinuxDriver_Ioctl’:/tmp/modconfig-CWgezO/vmmon-only/linux/driver.c:1986:1:warning:theframesizeof1168bytesislargerthan1024bytes[-Wframe-larger-than=]}^LD[M]/tmp/modconfig-CWgezO/vmmon-only/vmmon.oBuildingmodules,stage2.MODPOST1modulesCC/tmp/modconfig-CWgezO/vmmon-only/vmmon.mod.oLD[M]/tmp/modconfig-CWgezO/vmmon-only/vmmon.komake[1]:Leavingdirectory'/usr/src/linux-headers-4.10.0-24-generic'/usr/bin/make-C$PWDSRCROOT=$PWD/.\MODULEBUILDDIR=postbuildmake[1]:Enteringdirectory'/tmp/modconfig-CWgezO/vmmon-only'make[1]:'postbuild'isuptodate.make[1]:Leavingdirectory'/tmp/modconfig-CWgezO/vmmon-only'cp-fvmmon.ko./../vmmon.omake:Leavingdirectory'/tmp/modconfig-CWgezO/vmmon-only'make:Enteringdirectory'/tmp/modconfig-CWgezO/vmnet-only'Usingkernelbuildsystem./usr/bin/make-C/lib/modules/4.10.0-24-generic/build/include/..SUBDIRS=$PWDSRCROOT=$PWD/.\MODULEBUILDDIR=modulesmake[1]:Enteringdirectory'/usr/src/linux-headers-4.10.0-24-generic'CC[M]/tmp/modconfig-CWgezO/vmnet-only/driver.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/hub.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/userif.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/netif.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/bridge.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/smac_compat.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/smac.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/procfs.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/vnetEvent.oCC[M]/tmp/modconfig-CWgezO/vmnet-only/vnetUserListener.oInfileincludedfrom./include/linux/pci.h:35:0,from/tmp/modconfig-CWgezO/vmnet-only/compat_netdevice.h:27,from/tmp/modconfig-CWgezO/vmnet-only/netif.c:43:./include/linux/pci_ids.h:2255:0:warning:"PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-CWgezO/vmnet-only/net.h:38:0,
from /tmp/modconfig-CWgezO/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-CWgezO/vmnet-only/netif.c:42:
/tmp/modconfig-CWgezO/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:35:0,
from /tmp/modconfig-CWgezO/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-CWgezO/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2256:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
In file included from /tmp/modconfig-CWgezO/vmnet-only/net.h:38:0,
from /tmp/modconfig-CWgezO/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-CWgezO/vmnet-only/netif.c:42:
/tmp/modconfig-CWgezO/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
In file included from /tmp/modconfig-CWgezO/vmnet-only/net.h:38:0,
from /tmp/modconfig-CWgezO/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-CWgezO/vmnet-only/bridge.c:52:
/tmp/modconfig-CWgezO/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:35:0,
from /tmp/modconfig-CWgezO/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-CWgezO/vmnet-only/bridge.c:51:
./include/linux/pci_ids.h:2255:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-CWgezO/vmnet-only/net.h:38:0,
from /tmp/modconfig-CWgezO/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-CWgezO/vmnet-only/bridge.c:52:
/tmp/modconfig-CWgezO/vmnet-only/vm_device_version.h:73:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
In file included from ./include/linux/pci.h:35:0,
from /tmp/modconfig-CWgezO/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-CWgezO/vmnet-only/bridge.c:51:
./include/linux/pci_ids.h:2256:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
LD [M] /tmp/modconfig-CWgezO/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-CWgezO/vmnet-only/vmnet.mod.o
LD [M] /tmp/modconfig-CWgezO/vmnet-only/vmnet.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-24-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-CWgezO/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-CWgezO/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-CWgezO/vmnet-only'
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed