Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
21
rated 0 times [  21] [ 0]  / answers: 1 / hits: 53926  / 1 Year ago, fri, may 19, 2023, 3:10:52

I am trying to install vmware workstation 10.1 on Ubuntu 14.04 and I got following errors.



How do i fix it ?



enter image description here



enter image description here



   Virtual machine monitor                                             done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done

More From » 14.04

 Answers
1

To fix this we will need to apply this patch to filter.c in VMware Player module sources.




Step No 1



create a file in tmp directory name filter.c.diff and copy paste the following code init.



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


Step No 2



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/


After that just run vmware and it will work fine.



   Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet done
VMware Authentication Daemon done
Shared Memory Available done


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



HELP


[#25948] Saturday, May 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
defendle

Total Points: 219
Total Questions: 131
Total Answers: 112

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
;