Last active
August 29, 2015 14:18
-
-
Save Javvadilakshman/7728a4611401fdd0803f to your computer and use it in GitHub Desktop.
VMWare Related Tips,Tricks etc...
nano /tmp/filter.c.diff
205a206
> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
206a208,210
> #else
> VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:
> #endif
255c259,263
< transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
---
> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
> transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
> #else
> transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
> #endif
sudo -E -s
cd /usr/lib/vmware/modules/source/
cp vmnet.tar vmnet.tar.original
tar xvf vmnet.tar vmnet-only/filter.c
patch vmnet-only/filter.c < /tmp/filter.c.diff
tar -uvf vmnet.tar vmnet-only/filter.c
rm -rf vmnet-only/
####Note : You also need to chown the .vmware directory otherwise your vmware changes will not save ####Example
sudo chown -R one:one .vmware
###Where one is my username and one is my group. sudo chown -R $USER:$USER .vmware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo vmware-installer -u vmware-workstation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


