May 18, 2014

install vmware workstation ubuntu 14.04

Firstly :


download from official wvware or from this website

Secondly :


create temporary file to patch. Let say : /tmp/temp.patch

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

Next 

sudo -i
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/temp.patch
tar -uvf vmnet.tar vmnet-only/filter.c
rm -rf vmnet-only 

Unable to change virtual machine power state: Internal error


once you get this error , you need to run :

killall -s9 vmware-vmx

.

Firstly :


download from official wvware or from this website

Secondly :


create temporary file to patch. Let say : /tmp/temp.patch

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

Next 

sudo -i
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/temp.patch
tar -uvf vmnet.tar vmnet-only/filter.c
rm -rf vmnet-only 

Unable to change virtual machine power state: Internal error


once you get this error , you need to run :

killall -s9 vmware-vmx

No comments:

Post a Comment