Accueil

vendredi 5 décembre 2014

Probleme "unable to start service" on Ubuntu and kali linux and backtrack5r3 on VMware Worstation / VMplayer


Probleme "unable to start service" on Ubuntu and kali linux and backtrack5r3" on VMware Worstation / VMplayer 





  



on terminal 

touch /tmp/filter.c.diff  

gedit /tmp/filter.c.diff      OR       vim /tmp/filter.c.diff  #on kalilinux

#copy the code in the file 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

# save it

run  all this commande on terminal :

sudo -E -s

cd /usr/lib/vmware/modules/source/

cp vmnet.tar vmnet.tar.original



tar xvf vmnet.tar vmnet-only/filter.c
# vmnet-only/filter.c

patch vmnet-only/filter.c < /tmp/filter.c.diff
# patching file vmnet-only/filter.c

tar -uvf vmnet.tar vmnet-only/filter.c
# vmnet-only/filter.c

rm -rf vmnet-only/

vmware-modconfig --console --install-all

#now run VMware 

 

1 commentaire:

  1. Unable to start services.

    See log file /tmp/vmware-root/vmware-modconfig-4754.log for details.

    RépondreSupprimer