Simple LED Flasher
by Firdaus Aris on Sep.07, 2009, under Electronic
This circuit below will allow you to flash two LED alternately R2 controls the flash rate. You can increase the flash rate by increasing or decreasing the value of R2 (100k slow rates). R1 controls the flow of current through the LED.

Schematic For LED Flasher
R1 = Resistor 470 R
R2 = Resistor 100K
C1 = Capacitor 10uF
Q1 = Transistor NPN 2N3904
B1 = 9V battery
D1, D2 =LED

Linux file and database home server
by Firdaus Aris on Aug.19, 2009, under Home Automation, Linux
I have a pc at home collecting dust, so i decided to put it to use as a home file server and database server for my files and photos. I have a celeron D pc with 40GB Hard Disk Drive, 256mb ram, Nvidia Geforce2, Dlink Wireless Access Point, Dlink 8 port switch and an external Buffalo 160GB Hard Drive.
For the operating system, I’ll use Ubuntu Linuk 8.10 (Intrepid Ibex) which was downloaded for ubuntu website. Now for the steps.
1. Installing ubuntu : The installation proceed effortlessly, Ubuntu detected my sound card ,display card and network card. the only problem is that the audio automatically sets to mute on startup. I’ll google up the solution later.
2. Internet connectivity: I connect to the internet with my Dell Vostro Laptop using Option Icon wireless modem, which I’m having problem finding the driver for linux yet. So in the meantime, I’ll set up my vostro running Windows Vista as a gateway using Internet Connection Sharing (ICS). Here are the modification I’ve made on the server:
Dell Vostro (Gateway) : – IP – 192.168.0.1, subnet mask: 255.255.255.0
Ubuntu (Client) : - type in the terminal “sudo vim /etc/network/interfaces”
Insert the following in /etc/network/interfacecs
auto eth0
iface eth0 inet static
address 192.168.0.2
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
after that estart the networking service by typing
“sudo /etc/init.d/networking restart”
test the connection by typing “ping www.google.com” . I you received ping replies then the connection is working.
3. Update Ubuntu: Update ubuntu using the Gnome Package Updater. Update everything, this should take about 2 hours depending on your connection.
4. Installing SSH Server
sudo apt-get install ssh
5. Installing Database Server
sudo apt-get install mysql-server-5.0
6. Installing Apache Http Server
sudo apt-get install apache2
7. Installing PHP for Apache2
sudo apt-get install php5 libapache2-mod-php5
8. Installing MySQL for apache Http Server
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install php5-mysql
9. Installing PhpMyAdmin
sudo apt-get install phpmyadmin
all done
you can test the web server by typing http://192.168.0.2 in your favourite browser
Problem with crystl32.ocx solved
by Firdaus Aris on Aug.19, 2009, under Freeware
Just the other day, I had a problem running an important application for work. Windows tells me that crstl32.ocx is not registered even though the file is present in the c:\windows\system32 folder, so I did a little digging in the internet, here what I found out.
crstl32.ocx is a Crystal Report files and the reason it will not register is because it is missing one or more dependencies files.
Simple steps to solving crystl32.ocx problem
1. Make sure the file crystl32.ocx exist on your system; you can do this by do a search of the file in your system folder ( c:\windows\system for win95/98/ME c:\windows\system32 for WinXP/NT)
2. Download the utility Dependencies Walker to troubleshoot the problem http://community.seagatesoftware.com/communityCS/FilesAndUpdates/depends20.zip
3. Point the utility to the crystl32.ocx file on your system; the utility will list out all the system files that are needed for crystl32.ocx to register.
4. Copy the missing files from other system or download from the internet.
5. Finally, type this in the command prompt (click Start–>Run–>command.com)
regsvr32.exe c:\windows\system32\crystl32.ocx
6. Your application should be working now
How to access your computer remotely
by Firdaus Aris on Aug.19, 2009, under Freeware
There are many ways to access your computer remotely.
One of the method which I found is by using VNC. VNC stands for Virtual Network Computing . It is a software which allows you to view and fully interact with your computer desktop using a simple program (vnc viewer) on another computer desktop anywhere on the internet. The two computer doesn’t have to be of the same type or running the same operation system for them to be able to comunicate, for example you can access a computer running WindowsXP by using a MAC. You can even view and control the remote desktop by using a JAVA enabled browser.
There are various uses of VNC that I can think of ranging from academic uses to computer troubleshooting.
You can get a free version of VNC at the following address www.realvnc.com
