On this article, I will show you how to fix "VMWare can not run on Kali Linux" error.
- Install linux-headers-$(uname -r)
apt-get install linux-headers-$(uname -r)
- Download and Install VMWare as normal
- Patch for Kernel 4.0
$ curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch
Extract the vmnet module sources:
$ cd /usr/lib/vmware/modules/source
# tar -xf vmnet.tar
Apply the patch:
# patch -p0 -i /tmp/vmnet-3.19.patch
Recreate the archive:
# tar -cf vmnet.tar vmnet-only
Remove leftover:
# rm -r -only
Rebuild modules:
# vmware-modconfig --console --install-all
- Fix network vitural not complie
# - as root user
$ cd /usr/lib/vmware/modules/source
$ tar -xvf vmnet.tar
# - edit the file vmnet-only/netif.c and replace the line that looks like
dev = allocnetdev(sizeof netIf, deviceName, VNetNetIfSetup);
to
dev = allocnetdev(sizeof netIf, deviceName, NETNAMEUNKNOWN, VNetNetIfSetup);
$ tar -cvf vmnet.tar vmnet-only/
$ rm -rf vmnet-only/
Be the First to Respond
Share Your Thoughts