Posts

Showing posts from 2014

2 Steps to Perform SSH Login Without Password Using ssh-keygen & ssh-copy-id

Step 1: Create public and private keys using ssh-key-gen on local-host #ssh-key-gen (Press enter three times) Step 2: Copy the public key to remote-host using ssh-copy-id #ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host (Replace remote-host with ip address or server name) ---

Fedora 20 with kernel 3.13 fail to install vmplayer module

Just upgrade my fedora to Fedora 20 and found that vmware player not able to install the module. It end with this error. ... /tmp/modconfig-rHN4Kj/vmnet-only/filter.c:206:1: error: conflicting types for ‘VNetFilterHookFn’  VNetFilterHookFn(unsigned int hooknum,                 // IN:  ^ /tmp/modconfig-rHN4Kj/vmnet-only/filter.c:64:18: note: previous declaration of ‘VNetFilterHookFn’ was here  static nf_hookfn VNetFilterHookFn;                   ^ /tmp/modconfig-rHN4Kj/vmnet-only/filter.c:64:18: warning: ‘VNetFilterHookFn’ used but never defined [enabled by default] /tmp/modconfig-rHN4Kj/vmnet-only/filter.c:206:1: warning: ‘VNetFilterHookFn’ defined but not used [-Wunused-function]  VNetFilterHookFn(unsigned int hooknum,                 // IN:  ^ make[2]: *** [/tmp/modconfig-rHN4Kj/vmnet-only/filter.o] Error 1 ... After google, some say this error cause by the Nefilter selected with the kernel compilation options. And I believe most of the distro kernel will have this option