28 Jun, 2007  |  Posted by Danesh  |  in Uncategorized

cctv_c034_2.jpg cctv_c101_2.jpg

Stay up2date with the current traffic situations around KL with ITIS (Integrated Transport Information system).

There are 2 services I like from ITIS. First is the “traffic images” which are live images from the various CCTV cameras setup along our roads. Second being “real time traffic information” areas.

Areas currently covered in traffic images;

KL-Seremban Highway
Federal Highway
Jalan Tun Razak
Jalan TAR
Jalan Kinabalu
Bukit Jalil
Jalan Kuching
Jalan Raja Laut
Jalan Loke Yew
MRR2
Lebuhraya Mahameru
Jalan Duta
Jalan Damansara

26 Jun, 2007  |  Posted by Danesh  |  in Internet

You thought it will never happens to you but when it does are you prepared?

HongKiat.com was defaced yesterday. He lost his database and 2-3 days of posts.

Hong Kiat’s Fix:

1. Upgrade to WordPress 2.2.1

2. Restore the backup of the database. He was lucky to have one.

I visit Hong Kiat.com  almost everyday, his posts are quite good. It’s to know that he is back online.

Lesson to learn:

Make sure to always upgrade when a security patch is released. We don’t live in a perfect world anymore where people are nice and decent. Your best friend is prevention.

26 Jun, 2007  |  Posted by Danesh  |  in Linux

Changing your Linux machine’s hostname is easy. Just follow the steps below.

root# hostname [new-host-name]

root# vi /etc/sysconfig/network

HOSTNAME=[new-host-name]

root# vi /etc/hosts

Make sure your new host is updated in the hosts file.

root# service network restart

Done!!

15 Jun, 2007  |  Posted by Danesh  |  in Linux

I work with multiple ssh sessions whenever I connect to a server. Typically I would have about 3 sessions initiated from my host machine to the destination server.

Found away to duplicate my session without retyping my password every time I initiate a connection the the server from my host machine thanks to  Linux By Examples.

Add the following 2 lines to your /etc/ssh/ssh_config file and feature will be ready for you to use once you restart the sshd service.

ControlMaster auto
ControlPath ~/.ssh/socket-%r@%h:%p

ssh-dup.jpg

Continue Reading ->