How to Install VMWare Workstation/VMWare Player on Kali Linux 2.0

Aug 24, 2015 06:41 PM
Aug 24, 2015 06:52 PM
635760139608664820.jpg

On this article, I will show you how to fix "VMWare can not run on Kali Linux" error.

  1. Install linux-headers-$(uname -r)

apt-get install linux-headers-$(uname -r)

  1. Download and Install VMWare as normal
  2. 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

  1. 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 = alloc
netdev(sizeof netIf, deviceName, NETNAMEUNKNOWN, VNetNetIfSetup);

$ tar -cvf vmnet.tar vmnet-only/

$ rm -rf vmnet-only/

Related Articles

637263493835297420.jpg

How to Use Zero-Width Characters to Hide Secret Messages in Text (& Even Reveal Leaks)

636455706472146367.jpg

How to Hide DDE-Based Attacks in MS Word

Comments

No Comments Exist

Be the first, drop a comment!