Uso VMWare Player en Ubuntu y ejecuto una cantidad diferente de máquinas virtuales en él.
Funcionó bien hasta la 14.10, cuando se actualizó el kernel, se me pedía que recompilara los módulos, etc.; pero ya no funciona con Ubuntu 15.04.
El problema es que falla al intentar recompilar el “adaptador de red virtual”. ¿Cómo puedo arreglar eso?
Respuesta aceptada:
Use estos comandos (necesita acceso de root):
$ wget http://pastie.org/pastes/9934018/download -O /tmp/vmnet-3.19.patch
$ cd /usr/lib/vmware/modules/source
$ tar -xf vmnet.tar
$ patch -p0 -i /tmp/vmnet-3.19.patch
$ tar -cf vmnet.tar vmnet-only
$ rm -r *-only
$ vmware-modconfig --console --install-all
para vmware-player 9 también necesita cambiar:
-
vmnet-only/netif.c línea 152 de:
dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
a
dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_UNKNOWN, VNetNetIfSetup);
-
vmnet-only/filter.c línea 207 de:
VNetFilterHookFn(unsigned int hooknum, // IN:
a:
VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:
-
vmnet-only/filter.c línea 255 de:
transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
a:
transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);