i am trying to install vmware workstation on debian-buster after installation i was getting error:
“Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon’ is loaded.”
so i followed the this link to resolve the issue, https://kb.vmware.com/s/article/2146460
but when i run these 2 commands i am getting error:
#sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon) #sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmnet)
this is the error
bash: modinfo: command not found Usage: scripts/sign-file (-dp) <hash algo> <key> <x509> <module> (<dest>) scripts/sign-file -s <raw sig> <hash algo> <x509> <module> (<dest>)
i have googled it and found that the reason could be due to missing package, so i installed kmod but kmod was already installed in my machine,
#apt install kmod Reading package lists... Done Building dependency tree Reading state information... Done kmod is already the newest version (26-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
then i checked the path variable which is also seems good
echo %PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
now i am having no idea what’s wrong and how to resolve this issue.
note: all commands ran with root user