Posts

Showing posts from January, 2010

Flash Aztech dsl600ew firmware with Router Tech

I just successfully flash my Aztech DSL600EW router's firmware with Router Tech Firmware. First upgrade firmware to official firmware 66.53.2-002 , if you need to download one , you might be able to find it at modem help web site. Then download the Router Tech firmware - routertech-ar7wrd-adam2-firmware-4ports-20100105.zip , I tested with this version and it is working. Using the web interface to upgrade the gateway reboot and run. The LED configuration might not correct by default , so telnet into the router , issue command : setenv led_conf led.sar600 && /sbin/reboot , the led colour should be back to normal. In case if you flash the firmware wrongly, you can refer to this URL : http://www.techarp.com/showarticle.aspx?artno=374&pgno=2 to restore the router back to official firmware. ---

How to convert avi to flv in Linux.

I did a couple of tests and these are the results that I've come up with. Needless to say that I am no expert, they are personal opinions, see them as a starting point. In the examples we will convert ".avi" to ".flv", and simply copy the sound. avi properties: codec: mpeg4 (lavc) DX50 bitrate: I think its VBR (variable bit rate) resolution: 640x480 frames per second: 30fps video size: 5.4MB sound: mp3 sound size: 1MB total SIZE: 6.4MB The tool we will be using is called ffmpeg. It's a command line application, but very simple to use. Probably already installed in your computer We use the cd command to guide the terminal to the folder where the "input.avi" file is. example: cd /home/username/Video A typical command, then, would be: explanation: ffmpeg the program -i input.avi the input file -b 1024k the output bitrate -s 320x240 the output resolution -r 25 the output frames per second -acodec copy the output audio codec movie_1024_320_25_.flv the o

VMware Player 3 crash on Fedora 12

If you have the same issue like me , VMware Player 3 crash upon launching in Fedora 12, all you need is execute the following command with root privilege : cd /usr/lib/vmware/lib mv libcurl.so.4 libcurl.so.4.old Found the solution from : http://blog.adl.pl/fixing-vmware-player-crash-upon-start-in-fedora-12/455 http://communities.vmware.com/message/1444574#1444574 ---

Manually compile php at centos with default installation

If you plan to manually compile php at cents with the default installation , you might need to use the following command to install additional packages before you start the compilation . yum install gcc httpd-devel libxml2-devel openssl-devel bzip2-devel curl-devel libpng-devel gmp-devel libc-client-devel mysql-devel aspell-devel Here is the list of error that you might get when you try to compile php yourself at the Cent OS 5.4 server. 1. Configure: error: xml2-config not found. Please check your libxml2 installation. # yum install libxml2-devel 2. Checking for pkg-config... /usr/bin/pkg-config configure: error: Cannot find OpenSSL's # yum install openssl-devel 3. Configure: error: Please reinstall the BZip2 distribution # yum install bzip2-devel 4. Configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ # yum install curl-devel 5. Configure: error: libjpeg.(a|so) not found. # yum install libjpeg-devel 6. Configure: error: libpng.(a|so) not

ping sweep bash script

I found this simple bash script which does it job - ping sweep. for i in {1..255}; do ping 10.0.0.$i -c 1 | grep "time=";done Remember to change to change 10.0.0 to your network subnet accordingly. I found this script from : http://www.markmmanning.com/blog/2008/12/ping-sweep-with-bash.html . ---