Friday, May 30, 2008

Enable World Mode

I have a -W 7921 wireless phone and -N 1242 autonomous wireless access point, it takes me some time to troubleshoot why it can't get connected. The answer is world mode. When you enable world mode, the AP adds channel carrier set information to its beacon. Client devices with world mode enabled receive the carrier set information and automatically adjust their settings.

int dot11radio 0
world dot11d country-code US both

Thursday, May 29, 2008


Not sure if you are interested to know. Normally when we do a crontab -e to edit or crontab -l to view a file, the physical file is located inside /var/log/cron. If you are logon as root, the file is /var/log/cron/root.

Installing VMWare Workstation 6.0.2 on 2.6.24 Kernel

My environment: Redhat Linux FC8 x86_64
VMWare version: Workstation 6.0.2

Tried to install VMWare workstation 6.0.2 on my Linux box with 2.6.24 kernel running and failed. Here is a quick how-to on how to resolve it:

1. Got your VMWare workstation tarball: VMware-workstation-6.0.2-59824.x86_64.tar.gz
2. Untar it
3. vmware-player-distrib/ - when it asks you to run answer NO
4. Download VMWare patch vmware-any-any-update-116.tgz
All VMWare patch files here:
5. Untar your tarball
6. Run, and when it asks you to run, answer YES
7. You know what to do after this step. If you don't know how to do, visit here.

Monday, May 26, 2008

Snapshot on Sony SNC-RZ30P Camera

Like other surveillance cameras, Sony provides a simple way to take snapshots via HTTP.

Take snapshot:

Get the picture:
wget http://cam_ip/oneshotimage.jpg

Friday, May 16, 2008

Cisco Dogbot

LWAPP Join-Request does not include valid certificate CERTIFICATE_PAYLOAD

If you get this message, 90% of chance you've got the wireless lan controller date wrong. Do a "show time" and you will suprise! I saw that I am in the year of 2029 when I do a "show time" on WLC. Fix it and it will work.

Erase Lightweight access points configuration

Once your lightweight Aironet access points register with the Cisco wireless lan controller, you can't change the ip address and controller information via console. So if you want to move the LWAP from one controller to the other, and if you have static address configured. You will have trouble. To clear the LWAP configuration, you can console to the access point and do the following:

1. Disconnect the ethernet connections
2. "clear lwapp private-config"
3. If you see the errors "ERROR!!! Command is disabled", you still have another way. Do a "debug lwapp console cli"
4. write erase
5. reload

Monday, May 12, 2008

The First Time Machine

Discovery Science - The First Time Machine - Time Paradox

Taken from Discovery Channel documentary 'The First Time Machine'

Part 1

Part 2

Part 3

Sunday, May 11, 2008

Using Gmail SMTP server

Gmail provides a free SMTP service that allow you to send mail from any ISPs and any email address. Letz do it together with thunderbird now.

1. Tools > Account Settings > Outgoing Server (SMTP)
2. Add > set the SMTP server to
3. Make sure the "Use username and password" is checked.
4. Checked the "TLS" under "Use Secure Connection"

Shared Folder in VMWare

When using a virtual machine, you will find inevitable for the guest OS accessing the host OS, mostly for file sharing. VMWare provides a great way to do.

My environment: VMWare Workstation 6.0.2
Guest OS: Windows XP SP2 32-bit
Host OS: Windows Vista SP1 64-bit

1. On your VMWare Workstation console, choose VM > Settings > Options > Shared Folders

2. Pick "Always Enabled" if you want to make your shared folder always on your guest OS, and add the folder you want to share.

3. Install VMWare tools on your host OS by choosing VM > Install VMWare Tools on your VMWare Workstation.

4. Then you can access your host OS shared folder by:
\\.host\Shared Folders

Friday, May 9, 2008

Thursday, May 8, 2008

2057 - The City

An impressive documentary from Discovery channel. How the city life will be in 2057?

Part 1

Part 2

Part 3

Part 4

Part 5

Mario Kart

Mario Rocks!

Wednesday, May 7, 2008

Configuring Basic Authentication on Apache

Although there are many different authentication methods available for web services, basic authentication is still the simplest and most common authentication method used. This post is target to give you a quick example on how to configure basic authentication on apache.

Create a password file

htpasswd is the command to create a password file, example:
htpasswd -c passwd panda
New password: mypassword
Re-type new password: mypassword
Adding password for user panda

The -c flag is used only when you are creating the file. You can omit the -c flag if you want to add more users to an already created password file.

You should store the file in a secure location. And you should set permissions on the file so that only the webserver can read the file and only root can write to it:

chown root.nogroup /etc/httpd/secret/passwd
chmod 640 /etc/httpd/secret/passwd

Configure httpd.conf

For more information, please refer to official apache doc:

Sunday, May 4, 2008

Linksys WUSB54G v4 driver on 64-bit Vista

It takes me some time to find it on net, eventually got it from the Linksys forum.

You can download the driver directly from here.

Still figuring out how to get it working on my RH FC8 partition, tried the rt2570 driver but seems can't get it working yet. If anybody tried it before, feel free to leave a message here :)

Thursday, May 1, 2008

Mom song

This is what mom would say to her kids in one day condensed in 2.5 min