Sunday, August 4, 2013

Fedora 19 with kernel 3.10 fail to install vmplayer module.

If you are having problem start up vmware player on Fedora 19 after upgrade kernel to 3.10, here is the solution.

Basically it is due to the procfs interface and vmnet not able to compiles.

First download the procfs patch from .If you don't have time to read the forum, here is the link of the procfs patch.

Or you can use the following command:

# tar xf /usr/lib/vmware/modules/source/vmnet.tar
# cd vmnet-only
# wget
# patch -p1 < procfs.patch
# cd ..
# tar -cvf vmnet.tar vmnet-only/
# cp vmnet.tar /usr/lib/vmware/modules/source/

This will patch the procfs interface.

Secondly download the vmnet patch from The link of the patch is here.

Or you can use the following command:

# tar xf /usr/lib/vmware/modules/source/vmblock.tar
# cd vmblock-only
# wget
# patch -p1 < vmblock.3.10.patch
# cd ..
# tar -cvf vmblock.tar vmblock-only/
# cp vmblock.tar /usr/lib/vmware/modules/source/

then issue this command to compile and install the vmware player module

# sudo vmware-modconfig --console --install-all

I believe these steps not only work on Fedora 19, it should work on most of the Linux distro with kernel 3.10.

Please let me know if these steps didn't work for your linux.


Sunday, July 21, 2013

Download Vmware tools Directly

If you would like to download Vmware tools directly for any reason. Here is the path:
Vmware Tools

For ESX/ESXi server:

For Vmware Player:

For Vmware Workstation:

From the URLs above, you will be able to download latest VMware tools which are available to public.


Monday, May 13, 2013

NetBean IDE 7.3 : FTP Connection reset error

I am using windows 7 32bits, Java 1.7 and 1.6 was installed.

Whenever I try to upload with NetBean, the log will show that log in successfully, but whenever try to upload or sync file, it will prompt error : Connect Reset. If I am using other FTP client will not get this error.

This is due to bug when using Java to perform FTP task.

All you need to do is open up the command and execute the command:

netsh advfirewall set global StatefulFTP disable

This should resolve the issue.


Friday, April 5, 2013

Trim MP4

Use the following command to trim a MP4 file.

ffmpeg -ss 00:02:45 -t 00:04:00 -i source.mp4 -c copy output.mp4


-ss 00:02:45 : You can trim the video from beginning ( set this parameter to 00:00:00)  or in the middle. In this example, the output will start from 2mins and 45 seconds from the original video.

-t 00:04:00 : duration that need. In this example, the output will start from 02:45 of the source video and stop at 06:45.

-c copy : use the same codec with the source file

Convert FLV to MP4

Use the following command to convert FLV file to MP4.

ffmpeg -i source.flv output.mp4

If you received error (Codec is experimental but experimental codecs are not enabled, try -strict -2) when trying to use the command above, you can try

ffmpeg -i source.flv -strict -2 output.mp4

If you would like to change the bit rate, you can add in ar option.

ffmpeg -i source.flv -ar 22050 output.mp4

Thursday, January 31, 2013

VMware Tools Cannot Find Kernel-Headers on Fedora 18 x64

After you upgrade to Fedora 18, whenever you try to install vmware tool, you will receive the following error.

Searching for a valid kernel header path...
The path "" is not a valid path to the 3.7.4-204.fc18.x86_64 kernel headers.
Would you like to change it? [yes]

I believe you already got kernel header, so all you need is to link the header file by using the following command

ln /usr/src/kernels/3.7.4-204.fc18.x86_64/include/generated/uapi/linux/version.h /lib/modules/3.7.4-204.fc18.x86_64/build/include/linux/

Launch the again, the error will gone.