<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>FarhanFaisal</title>
	
	<link>http://www.farhanfaisal.com</link>
	<description>Sys admin, rock climber and internet junky diary</description>
	<lastBuildDate>Mon, 13 Apr 2009 03:13:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/farhanfaisal" type="application/rss+xml" /><feedburner:emailServiceId>farhanfaisal</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>md5 decode script – PHP</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/7bZvJL4BGgM/</link>
		<comments>http://www.farhanfaisal.com/2009/04/md5-decode-script-php/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 11:54:00 +0000</pubDate>
		<dc:creator>farhan</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=198</guid>
		<description><![CDATA[Last few weeks I found a malicious script installed on my hosting server. This is due to unupdated Wordpress, that allow remote attacker to upload some malicious code into the server. The server have been clean up, no more problem.  
The malicious file found is a PHP script, with alot of hacking tools embedded. [...]]]></description>
			<content:encoded><![CDATA[<p>Last few weeks I found a malicious script installed on my hosting server. This is due to unupdated Wordpress, that allow remote attacker to upload some malicious code into the server. The server have been clean up, no more problem. <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The malicious file found is a PHP script, with alot of hacking tools embedded. One interesting part is, it have a md5 decoder. I&#8217;m not really good in data structure, I cannot construct my own bruteforce code. So, I took those bruteforce code to a single file, just to decode a md5 hash string. </p>
<p>This is just a prove of concept that, a strong password should be long, and have some extra character, other than normal alphabets. This give a higher probability of character to choose in bruteforce attack. </p>
<p><center><img src="http://www.farhanfaisal.com/wp-content/uploads/2009/04/md5decode.jpg" alt="MD5 Decode in action" /></center><br />
Download the code here, <a href="http://www.farhanfaisal.com/?download=md5decode.txt">md5decode.txt</a>. Please rename it to *.php.<br />
You have to put in what character options to test against the hash string, and also the hash string you want to decode. </p>
<p>This code might not applicable in real life nowadays, as there are other ways users password been exploited, for example, using default password, and common password. Thats why most bruteforce attacked were dictionary based. So, make sure your password is strong enough. One other method, is <a href="http://en.wikipedia.org/wiki/Rainbow_table">Rainbow Table</a>. I&#8217;m still reading it <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Rainbow Table (Wikipedia) &#8211; <a href="http://en.wikipedia.org/wiki/Rainbow_table">http://en.wikipedia.org/wiki/Rainbow_table</a><br />
Md5decode.txt &#8211; <a href="http://www.farhanfaisal.com/?download=md5decode.txt">http://www.farhanfaisal.com/?download=md5decode.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2009/04/md5-decode-script-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2009/04/md5-decode-script-php/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>Network monitoring with cacti – snmpd.conf</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/zZp4ZKRrWDc/</link>
		<comments>http://www.farhanfaisal.com/2009/04/snmp-with-cacti/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 11:14:25 +0000</pubDate>
		<dc:creator>farhan</dc:creator>
				<category><![CDATA[Technical resources]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=191</guid>
		<description><![CDATA[Network monitoring plays an important aspect in a system admin life. You will be managing some servers, and you might have problem taking care of their respective &#8216;health&#8217;, making sure its serving fine and performing best of it. There are some monitoring tool, for example, mrtg, nagios, cacti. 
For our setup, we are utilizing cacti, [...]]]></description>
			<content:encoded><![CDATA[<p>Network monitoring plays an important aspect in a system admin life. You will be managing some servers, and you might have problem taking care of their respective &#8216;health&#8217;, making sure its serving fine and performing best of it. There are some monitoring tool, for example, <a href="http://oss.oetiker.ch/mrtg/">mrtg</a>, <a href="http://www.nagios.org/">nagios</a>, <a href="http://www.cacti.net/">cacti</a>. </p>
<p>For our setup, we are utilizing cacti, a web-based host monitoring tool, that can monitor hosts through snmp. Its a php tool, and customizable. Its powerful enough to give you what you want, just the matter of configuration. The first thing, you have to make sure every host you want to monitor is snmp enabled.<br />
<center><img src="http://www.farhanfaisal.com/wp-content/uploads/2009/04/cacti-login.jpg" alt="Cacti login page" /></center><br />
SNMP stands for &#8220;Simple Network Management Protocol&#8221;, can be harmful if not configured properly. It can reveal you private information of the host. I will just put a simple snmpd.conf configuration file, that will have enough privilege control on host and community string.<br />
<code></p>
<p>com2sec local     localhost       YOUR_COMMUNITY_STRING<br />
com2sec mynetwork 202.190.123.144/28      YOUR_COMMUNITY_STRING</p>
<p>group MyRWGroup v1         local<br />
group MyRWGroup v2c        local<br />
group MyRWGroup usm        local<br />
group MyROGroup v1         mynetwork<br />
group MyROGroup v2c        mynetwork<br />
group MyROGroup usm        mynetwork</p>
<p>view all    included  .1                               80</p>
<p>access MyROGroup ""      any       noauth    exact  all    all   none<br />
access MyRWGroup ""      any       noauth    exact  all    all    none</p>
<p>syslocation YOUR_LOCATION<br />
syscontact YOUR_EMAIL<br />
sysname SYSNAME<br />
</code></p>
<p>You can verify that your snmpd daemon is responding to snmp request using snmpwalk.  For snmp version 1, you can use,<br />
<code>snmpwalk -v 1 -c YOUR_COMMUNITY_STRING 127.0.0.1 </code><br />
For snmp version 2,<br />
<code>snmpwalk -v 2c -c YOUR_COMMUNITY_STRING 127.0.0.1 </code></p>
<p>This configuration is for the end host you want to monitor. In Cacti, you will need to add the community string, and the IP of the host you want to monitor. Then, cacti will start polling information from these hosts through SNMP with the credential given. </p>
<p><center><img src="http://www.farhanfaisal.com/wp-content/uploads/2009/04/cacti.jpg" alt="Cacti Graph" /></center><br />
Cacti &#8211; <a href="http://www.cacti.net/">http://www.cacti.net/</a><br />
Nagios &#8211; <a href="http://www.nagios.org">http://www.nagios.org</a><br />
MRTG &#8211; <a href="http://oss.oetiker.ch/mrtg">http://oss.oetiker.ch/mrtg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2009/04/snmp-with-cacti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2009/04/snmp-with-cacti/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>Mysql Database backup script.</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/b0Ve-Fly_c4/</link>
		<comments>http://www.farhanfaisal.com/2009/03/mysql-database-backup-script/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 07:31:59 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=184</guid>
		<description><![CDATA[I have found this one mysql backup script, that just suite my need to backup all database in their respective file. It will be easy for recovery, if I need the sql for that particular database. This is script have been modified from mysql database backup script in HowToForge.  This script will also FTP [...]]]></description>
			<content:encoded><![CDATA[<p>I have found this one mysql backup script, that just suite my need to backup all database in their respective file. It will be easy for recovery, if I need the sql for that particular database. This is script have been modified from mysql database backup script in <a href="http://www.howtoforge.com/shell-script-to-back-up-all-mysql-databases-each-table-in-an-individual-file-and-upload-to-remote-ftp">HowToForge</a>.  This script will also FTP to other location, but I have remove this functionality, as I dont need to move it to another FTP server. </p>
<p><code>#!/bin/sh<br />
# System + MySQL backup script<br />
# Copyright (c) 2008 Marchost<br />
# This script is licensed under GNU GPL version 2.0 or above<br />
# Modified by Farhan Faisal @ farhanfaisal.com<br />
# ---------------------------------------------------------------------</p>
<p>#########################<br />
######TO BE MODIFIED#####</p>
<p>### System Setup ###<br />
BACKUP=YOUR_LOCAL_BACKUP_DIR</p>
<p>### MySQL Setup ###<br />
MUSER="MYSQL_USER"<br />
MPASS="MYSQL_USER_PASSWORD"<br />
MHOST="localhost"</p>
<p>### FTP server Setup ###<br />
FTPD="YOUR_FTP_BACKUP_DIR"<br />
FTPU="YOUR_FTP_USER"<br />
FTPP="YOUR_FTP_USER_PASSWORD"<br />
FTPS="YOUR_FTP_SERVER_ADDRESS"</p>
<p>######DO NOT MAKE MODIFICATION BELOW#####<br />
#########################################</p>
<p>### Binaries ###<br />
TAR="$(which tar)"<br />
GZIP="$(which gzip)"<br />
FTP="$(which ftp)"<br />
MYSQL="$(which mysql)"<br />
MYSQLDUMP="$(which mysqldump)"</p>
<p>### Today + hour in 24h format ###<br />
NOW="$(date +"%Y-%m-%d")"</p>
<p>### Create hourly dir ###</p>
<p>mkdir $BACKUP/$NOW</p>
<p>### Get all databases name ###<br />
DBS="$($MYSQL -u $MUSER -h $MHOST -p$MPASS -Bse 'show databases')"<br />
for db in $DBS<br />
do</p>
<p>### Create dir for each databases, backup databases in this folder. ###<br />
  FILE=$BACKUP/$NOW/$db.sql.gz<br />
  $MYSQLDUMP -a -u $MUSER -h $MHOST -p$MPASS $db | $GZIP -9 > $FILE<br />
done</p>
<p>### Compress all tables in one nice file ###</p>
<p>ARCHIVE=$BACKUP/$NOW.tar.gz<br />
ARCHIVED=$BACKUP/$NOW</p>
<p>$TAR -zcf $ARCHIVE $ARCHIVED</p>
<p>rm -rf $ARCHIVED</code></p>
<p>http://www.howtoforge.com/shell-script-to-back-up-all-mysql-databases-each-table-in-an-individual-file-and-upload-to-remote-ftp</p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2009/03/mysql-database-backup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2009/03/mysql-database-backup-script/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>Last weekend waterfall hunting.</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/4K9L0TOX6IU/</link>
		<comments>http://www.farhanfaisal.com/2009/02/last-weekend-waterfall-hunting/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 06:37:44 +0000</pubDate>
		<dc:creator>farhan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Recreation]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=159</guid>
		<description><![CDATA[Last weekend was a great weekend, as I did one new thing, waterfall hunting. I have marked 2 waterfall to search for, both of them found in a website, http://www.waterfallsofmalaysia.com. Its Tanglir Waterfall, and Sungai Dua waterfall. Both of them just within the same path on Karak Highway. Anyway, It start will a warm up [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend was a great weekend, as I did one new thing, waterfall hunting. I have marked 2 waterfall to search for, both of them found in a website, <a href="http://www.waterfallsofmalaysia.com" target="_blank" >http://www.waterfallsofmalaysia.com</a>. Its Tanglir Waterfall, and Sungai Dua waterfall. Both of them just within the same path on Karak Highway. Anyway, It start will a warm up trip to Chilling Waterfall with my rock climbing friends. </p>
<p><center><a target="_blank" href="http://picasaweb.google.com/farhanfaisal/ChillingWaterfall6OfUs"><img src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/chilling.jpg" alt="Chilling waterfall" border="0"  width="540" /></a></center></p>
<p>Chilling waterfall located in Kuala Kubu Bharu. After reaching there, we park our car, and start tracking to the base site, where there were the management office, campsite, toilets and place to pray. The place is well maintained, as it is a fish sanctuary area. Thats why, fishing is strictly not allowed in Chilling Waterfall. You can see the signboard throughout the path. </p>
<p>After 40 minutes walk, just following the path upriver and 5 river crossing, we reached the fall at around 3.30 pm. The waterfall is just fantastic. I remember last time i went there, we did canyoneering near the fall. We spend around 1 1/2 hours there, and start departing back to campsite. There were some strict rules, like you cannot camping there beyond the hanging bridge, and you have to get back before 5 o&#8217;clock. You also cannot swim there if its raining. There have been a few accident there, that involves death. </p>
<p><center><a target="_blank" href="http://picasaweb.google.com/farhanfaisal/TanglirWaterfallBentong"><img src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/tanglir3.jpg" alt="GPS navigator" border="0" width="540" /></a></center><br />
<span id="more-159"></span><br />
<center><a target="_blank" href="http://picasaweb.google.com/farhanfaisal/TanglirWaterfallBentong"><br />
<img src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/tanglir.jpg" alt="Tanglir waterfall" border="0" width="540"  /></a></center></p>
<p>The next day, the waterfall hunting. Finally I got a friend who would like to go with me. We went to Tanglir Waterfall, based on the guide in WaterfallsOfMalaysia website. I have marked the coordinate in my PDA phone, and we follow the path to the waterfall. I only manage to know the exact point, not exactly the route there. So, we asked the local people there, and they show us where to go. The waterfall is really nice, with high altitude, cold, and privacy. The water is not too shallow and not too deep, just nice for a normal day trip. There is not camping ground, as is surrounded by farms, and private lands. It would be easier to go there again by motorcycle or 4&#215;4.</p>
<p>Right after that, we went for Sungai Dua Waterfall. The access is easy, you can drive straight away to the waterfall, just need around 200 meters walk. If you come with 4&#215;4, you can park by the water. The waterfall was so nice, but its quite popular already for some local people. The time we were there, there&#8217;s alot of people there, and we just took pictures and leave. The place is quite nice for family camping, day trip picnic, and also to wash motorbikes <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><a target="_blank" href="http://picasaweb.google.com/farhanfaisal/TanglirWaterfallBentong"><img src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/sungai2.jpg" alt="Sungai Dua" border="0" width="540" /></a></center></p>
<p><a href="http://picasaweb.google.com/farhanfaisal/ChillingWaterfall6OfUs" target="_blank">Picasa Album &#8211; Chilling waterfall</a><br />
<a href="http://picasaweb.google.com/farhanfaisal/TanglirWaterfallBentong" target="_blank">Picasa Album &#8211; Tanglir and Sungai Dua Waterfall</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2009/02/last-weekend-waterfall-hunting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2009/02/last-weekend-waterfall-hunting/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>Bukit Tabur, Taman Melawati</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/mgsJgkY7NLE/</link>
		<comments>http://www.farhanfaisal.com/2009/01/bukit-tabur-taman-melawati/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 09:46:49 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Recreation]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=115</guid>
		<description><![CDATA[
Picture by Alexander Krasnikov
Within last few weeks, I&#8217;ve been to Bukit Tabur. Could not find more time for long trip, other than usual rock climbing during weekends, and Bukit Tabur trip. It start with my colleague, who would like to try out some adventures during weekends. 
On 20th December, we start hiking the hill at [...]]]></description>
			<content:encoded><![CDATA[<p><center><a target="_blank" href="http://picasaweb.google.com/farhanfaisal/BukitTabur#"><img width="540" src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/tabur2.jpg" alt="Bukit Tabur, Sunrise" /></a></center><br />
<small><span style="position:relative; right:45px;top:-40px;float:right;">Picture by <a href="http://www.facebook.com/profile.php?id=731717547&#038;ref=ts" target="_blank">Alexander Krasnikov</a></span></small></p>
<p>Within last few weeks, I&#8217;ve been to Bukit Tabur. Could not find more time for long trip, other than usual rock climbing during weekends, and Bukit Tabur trip. It start with my colleague, who would like to try out some adventures during weekends. </p>
<p>On 20th December, we start hiking the hill at 6.30, just 4 of us, because 5 others were late. We dont waste the opportunity to see the sunrise. Within 25 minutes, we arrive there. Its still dark, and we still have to use our headlights to walk. Then I returned back, and wait for the other 5 of us to arrive. We managed to reach the others around 7.30. Its not so hot yet, and we can still enjoy the sunrise that time. </p>
<p>The trip was planned for only to enjoy the sunrise, but we could not hold ourself seeing other trackers moving with the passion to the top. I never reach the peak, the real peak, and neither all of us. We just follow some other trackers that time. </p>
<p><center><br />
<a target="_blank" href="http://picasaweb.google.com/farhanfaisal/BukitTabur02#"><img width="540" src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/tabur.jpg" alt="Ima, at Bukit Tabur" /> </a><br />
</center></p>
<p>Following few weeks, there comes another trip, for my other friends. They missed the 1st trip, because of health condition. Well, I keep my promise to bring them there <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Its not as early as the previous trip, but we enjoy the trip, enjoy the sunrise, and enjoy the view from there. For last few trip to Bukit Tabur, I really want to just enjoy the view, and the cold winds. Its just feels like at the top of mountains, just with 20-30 minutes walk.<br />
<span id="more-115"></span><br />
Its a long time since my last mountain hiking, and I&#8217;m not sure whether I will join some other mountain trip or not. I also lost count how many mountain trip that I missed, purposely <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  thank you for inviting anyway.. As for now, I&#8217;m doing rock climbing, and I love it. </p>
<p><center><a target="_blank" href="http://picasaweb.google.com/farhanfaisal/PersonalPictures#"><img src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/damai1.jpg" alt="Bouldering, at Damai, Batu Caves" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2009/01/bukit-tabur-taman-melawati/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2009/01/bukit-tabur-taman-melawati/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>Use Google Apps on your own domain.</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/ts1pzv7eofs/</link>
		<comments>http://www.farhanfaisal.com/2009/01/use-google-apps-on-your-own-domain/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 10:51:02 +0000</pubDate>
		<dc:creator>farhan</dc:creator>
				<category><![CDATA[Technical resources]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=98</guid>
		<description><![CDATA[As google have introduced to their google apps to all users for free, I think a simple guide on how to utilize the free service to our optimum use.. This should be a reference for me myself, and other who would see this useful. 
For me, I would just want to use google mail, as [...]]]></description>
			<content:encoded><![CDATA[<p>As google have introduced to their google apps to all users for free, I think a simple guide on how to utilize the free service to our optimum use.. This should be a reference for me myself, and other who would see this useful. </p>
<p>For me, I would just want to use google mail, as inside google apps package. Google mail really a good thing we have in the internet world nowadays, as the email interface, emailing experience is different, and really useful. Just a few cons like no folder management. But you can still use labelling to categorize your email.</p>
<p>There are 2 ways you can use google mail on your own domain. Either registering for google apps at http://www.google.com/a/ or using your current gmail email account.</p>
<p><b>Using google apps. </b></p>
<p>Go to <a href="http://www.google.com/a/">http://www.google.com/a/</a>, and register for google apps account with your domain name. With google apps, you can have google docs, google chat, google site, calendar and a few more. But this example, google site will be ignored, as I&#8217;m using my current hosting account for site, I&#8217;m just using Google Mail in my google apps. </p>
<p><center><a href="http://www.google.com/a/cpanel/domain/new" target="_blank"><img width="530" src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/gapps.JPG" alt="Register for your domain name" /></a></center></p>
<p>After the registration process, you will have to verify domain ownership. You can choose either 1 of 2 method, either configuring your MX record, your html verification. I think HTML verification will be easier, as you can simply create the file, with specific filename and content provided by Google, on your hosting account, and Google with check the file later. </p>
<p>After your google apps have been created, you need to modify your DNS record of your domain, specifically your MX record to tell where emails of your domain to be sent to. Please check it here, <a href="http://www.google.com/support/a/bin/answer.py?hl=en&#038;answer=33352" target="_blank">http://www.google.com/support/a/bin/answer.py?hl=en&#038;answer=33352</a>. You can just refer below, the list of MX record to be changed. </p>
<p><code><strong>MX Server address	Priority</strong><br />
ASPMX.L.GOOGLE.COM.	10<br />
ALT1.ASPMX.L.GOOGLE.COM.	20<br />
ALT2.ASPMX.L.GOOGLE.COM.	20<br />
ASPMX2.GOOGLEMAIL.COM.	30<br />
ASPMX3.GOOGLEMAIL.COM.	30<br />
ASPMX4.GOOGLEMAIL.COM.	30<br />
ASPMX5.GOOGLEMAIL.COM.	30<br />
</code></p>
<p>Google also suggest you to add this additional SPF <span id="more-98"></span>(Sender Policy Framework) in your DNS. This is additional record to tell which server is supposed to send email at this domain name. As we are using google apps for our email service, we should tell google server is the only server which suppose to send email @ourdomain.com. </p>
<p><code>"v=spf1 include:aspmx.googlemail.com ~all"</code><br />
<small>* note the ~all, not -all.</small></p>
<p>Once finished, you can wait for the DNS record to propogate, and usable. You can check your MX record changes through DNSStuff.com, from here, <a href="http://www.google.com/support/a/bin/answer.py?answer=116393" target="_blank">http://www.google.com/support/a/bin/answer.py?answer=116393</a></p>
<p><center><a href="http://www.google.com/support/a/bin/answer.py?answer=116393" target="_blank"><img width="530" src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/gapps2.JPG" alt="Check your MX record" /></a></center></p>
<p>You can manage your account using your admin account, and login to your inbox through http://www.google.com/a/yourdomain.com. This is how control panel looks like.<br />
<center><img width="530" src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/gapps3.JPG" alt="Google Apps Control panel" /></center></p>
<p>Start creating email account for your domain users!! <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Using your existing gmail account</strong></p>
<p>This options is only for a specific email account of a domain. For example, you have a email account from your organization, and you dont like the web-based email client. You can use your gmail account to check all your emails to yourname@yourorganization.com in your current Gmail account. </p>
<p>Basically, you will forward all your email that were for <strong>yourname@yourorganization.com</strong> to <strong>YourGmailAccount@gmail.com</strong>. How to do it, it depend on your current email service. You might be able to change in your own web-based email access, or you might need to ask your domain administrator to do it for you. If you manage your domain yourself, please refer to your hosting control panel on how to accomplish this.</p>
<p>In your gmail account, you can go to <strong>Setting</strong> -> <strong>Accounts</strong> and click <strong>Add another email address</strong>. Enter yourname@yourorganization.com and Google will send a confirmation code to yourname@yourorganization.com. You might just need to check your Gmail account inbox, if you have done the email forwarding part. After you have confirmed the code, you can see yourname@yourorganization in your list of accounts, inside your Gmail account.</p>
<p><center><img width="530" src="http://www.farhanfaisal.com/wp-content/uploads/2009/02/gapps4.JPG" alt="Gmail account" /></center></p>
<p>You may want to put your mail in mannerly order, by creating a email filters. Click <strong>Setting </strong>-> <strong>Filters</strong>, and <strong>Create new filter</strong>. You can create filter for all email sent to yourname@yourorganization.com, label it as <strong>MyOrganization</strong>, or skip inbox. You can just click the link to your label, and you will just reading your emails yourname@yourorganization.com.  </p>
<p><a href="http://books.google.com/books?id=c_tSAAAAMAAJ&#038;dq=editions:ISBN076459611X&#038;source=gbs_book_other_versions_r&#038;cad=0_1&#038;pgis=1" target="_blank"><img style="float:left; padding:15px;" src="http://bks8.books.google.com/books?id=c_tSAAAAMAAJ&#038;printsec=titlepage&#038;img=1&#038;zoom=1&#038;sig=ACfU3U1YeZ4xTuPIXdSS5fJuw4O0ZtCJ7A" alt="Hacking Gmail" /><br />
This tips is available in </a><a target="_blank" href="http://books.google.com/books?id=c_tSAAAAMAAJ&#038;dq=editions:ISBN076459611X&#038;source=gbs_book_other_versions_r&#038;cad=0_1&#038;pgis=1">Hacking Gmail </a>by Ben Hammersley. This is a great book if you really rely on Gmail for your daily email. I really think Gmail is the best email service at this time. <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2009/01/use-google-apps-on-your-own-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2009/01/use-google-apps-on-your-own-domain/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>Change process priority with renice</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/XUXugi5Dh9Y/</link>
		<comments>http://www.farhanfaisal.com/2008/11/change-process-priority-with-renice/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 10:31:56 +0000</pubDate>
		<dc:creator>farhan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux administration]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=113</guid>
		<description><![CDATA[Today I discovered a very slow loading of a few website of mine. For apache, I have reading through and made some tweaks and optimization to make it perform better. On database, not much that I&#8217;ve done. I use mytop, a mysql health monitor just like top in linux system. Its shows a few queries [...]]]></description>
			<content:encoded><![CDATA[<p>Today I discovered a very slow loading of a few website of mine. For apache, I have reading through and made some tweaks and optimization to make it perform better. On database, not much that I&#8217;ve done. I use <a href="http://jeremy.zawodny.com/mysql/mytop/" target="_blank">mytop</a>, a mysql health monitor just like top in linux system. Its shows a few queries hanging and queued. </p>
<p>Apache and mysql need a higher priority to serve the web faster, as fast as it could. I found a tutorial on renice, where we can change the process priority of process, and also for any process that belong to any particular user. The value varies from -20 until 19. The negative value only can be assigned by a superuser. The lower the value, higher the priority. For example, process with value -19, have a higher priority than a process with nice value -18. </p>
<p>to change the nice value, it could be as simple as :</p>
<p><code>nice -5 httpd </code><br />
* this will change process httpd priority to 5.</p>
<p>You can also change the priority by user.</p>
<p><code>renice -5 -u mysql</code><br />
* This will change the priority of all process that belong to user mysql to -5</p>
<p><code>renice -5 -u mysql -p 8918</code><br />
* This will change the priority of all process that belong to user mysql and with PID 8918 to -5.</p>
<p><a href="http://www.newlinuxuser.com/howto-change-a-running-processes-priority-with-renice/" target="_blank">http://www.newlinuxuser.com/howto-change-a-running-processes-priority-with-renice/</a><br />
<a href="http://jeremy.zawodny.com/mysql/mytop/" target="_blank">http://jeremy.zawodny.com/mysql/mytop/</a><br />
Renice &#8211; Linux man page <a href="http://linux.die.net/man/8/renice" target="_blank"> http://linux.die.net/man/8/renice</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2008/11/change-process-priority-with-renice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2008/11/change-process-priority-with-renice/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>Monowall on Vmware</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/zqQ-ZQg2Dg8/</link>
		<comments>http://www.farhanfaisal.com/2008/11/monowall-on-vmware/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 05:13:02 +0000</pubDate>
		<dc:creator>farhan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[wordpress]]></category>
<category>firewall</category><category>monowall</category><category>virtualization</category><category>vmware</category>
		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=111</guid>
		<description><![CDATA[
Yesterday I spent some time to play around with Monowall. Monowall is an embedded firewall package, thats built from bare-bone version of FreeBSD. The whole package is really small, smaller than 12MB, it can fit into your CF card for your embedded project. I start to have a look into Monowall when my boss bring [...]]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://lh4.ggpht.com/_Ah8Xmp92kPY/SSTu6sqBGaI/AAAAAAAAAXA/-oV4zj8vpVg/NA-0042B.gif?imgmax=400" rel="lightbox[post111]" title="NA-0042B.gif"><img border="0" src="http://lh4.ggpht.com/_Ah8Xmp92kPY/SSTu6sqBGaI/AAAAAAAAAXA/-oV4zj8vpVg/s144/NA-0042B.png" alt="NA-0042B.gif" height="100" /></a><a href="http://lh5.ggpht.com/_Ah8Xmp92kPY/SSTySP1UTWI/AAAAAAAAAXg/M9yAe4vkalI/monowall_in_vmware.jpg?imgmax=400" rel="lightbox[post111]" title="monowall_in_vmware.jpg"><img border="0" src="http://lh5.ggpht.com/_Ah8Xmp92kPY/SSTySP1UTWI/AAAAAAAAAXg/M9yAe4vkalI/s144/monowall_in_vmware.jpg" alt="monowall_in_vmware.jpg" /></a><a href="http://lh3.ggpht.com/_Ah8Xmp92kPY/SSTySCdq04I/AAAAAAAAAXo/NxPPoUl-zyM/monowall_screen.jpg?imgmax=400" rel="lightbox[post111]" title="monowall_screen.jpg"><img border="0" src="http://lh3.ggpht.com/_Ah8Xmp92kPY/SSTySCdq04I/AAAAAAAAAXo/NxPPoUl-zyM/s144/monowall_screen.jpg" alt="monowall_screen.jpg" /></a></center></p>
<p>Yesterday I spent some time to play around with Monowall. Monowall is an embedded firewall package, thats built from bare-bone version of FreeBSD. The whole package is really small, smaller than 12MB, it can fit into your CF card for your embedded project. I start to have a look into Monowall when my boss bring this machine into our office, an embedded box, <a href="http://www.axiomtek.com.tw/news/promotion.asp">Axiomtek NA-0042B</a>. I couldn&#8217;t find any technical spec in detail of the product, even from the official Axiomtek website. </p>
<p>So, in my case, I&#8217;m using a generic-pc image, from one of the <a href="http://m0n0.ch/wall/download.php?file=generic-pc-1.235.img">monowall mirrors</a>. I load the image into another vmware virtual machine, load the image into a secondary image of the machine. </p>
<p>The disk is available for download here <a href="http://www.farhanfaisal.com/?download=Monowall Disk for VMware">Monowall Disk for VMware</a>. I&#8217;ve also prepared a complete vmware machine with monowall. Please download it here, <a href="http://www.farhanfaisal.com/?download=Monowall VMware Image.">Monowall VMware Image.</a>. This machine have been configured with IP 192.168.1.254. Username &#038; password are the same as default, <i>admin</i> and <i>mono</i> respectively. </p>
<p>I&#8217;ll have a look into <a href="http://www.ipcop.org/">IpCop</a> and <a href="http://www.pfsense.org/">pfSense</a> later. Never get my hands tired with them yet. Maybe some other Monowall derivative as well <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><a href="http://www.pfsense.com"><img border="0" src="http://lh4.ggpht.com/_Ah8Xmp92kPY/SSTzLc8OkMI/AAAAAAAAAYE/kCBzvGQTXfU/s144/monowall_pfsense.png" alt="monowall_pfsense.gif" /></a><a href="http://www.freenas.org" title="monowall_freenas.gif"><img border="0" src="http://lh6.ggpht.com/_Ah8Xmp92kPY/SSTzLfgEl6I/AAAAAAAAAX8/NnVh_E6NlSs/s144/monowall_freenas.png" alt="monowall_freenas.gif" /></a><a href="http://www.askozia.com/pbx"><img border="0" src="http://lh6.ggpht.com/_Ah8Xmp92kPY/SSTzLSYwQwI/AAAAAAAAAX0/HSeDyO09cHk/s144/monowall_askoziapbx.png" alt="monowall_askoziapbx.gif" /></a></center></p>
<p><a href="http://www.farhanfaisal.com/?download=Monowall Disk for VMware">http://www.farhanfaisal.com/?download=Monowall Disk for VMware</a> <i>(5.4MB)</i>, 54 downloads.<br />
<a href="http://www.farhanfaisal.com/?download=Monowall VMware Image.">http://www.farhanfaisal.com/?download=Monowall VMware Image.</a> <i>(5.4MB)</i>, 49 downloads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2008/11/monowall-on-vmware/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2008/11/monowall-on-vmware/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>Picasa LigthBox 2 Wordpress Plugin</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/G-OlZczt1g0/</link>
		<comments>http://www.farhanfaisal.com/2008/11/picasa-ligthbox-2-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 07:58:25 +0000</pubDate>
		<dc:creator>farhan</dc:creator>
				<category><![CDATA[Technical resources]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin picasa album pictures gallery]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=110</guid>
		<description><![CDATA[
While figuring out how to manage my pics, and easy insert into my blog post, I found this plugin. Picasa LigthBox 2. This plugin will retrieve our public pictures from picasa gallery, and have an easy interface to include them into our blog post. Besides, it provides a overlay preview to our users, using Wordpress [...]]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://lh6.ggpht.com/_Ah8Xmp92kPY/SSElS_nFKcI/AAAAAAAAAVs/eKZUrLuyfcI/add_picasa_photo.jpg?imgmax=400" rel="lightbox[post110]" title="add_picasa_photo.jpg"><img src="http://lh6.ggpht.com/_Ah8Xmp92kPY/SSElS_nFKcI/AAAAAAAAAVs/eKZUrLuyfcI/s144/add_picasa_photo.jpg" alt="add_picasa_photo.jpg" /></a><a href="http://lh5.ggpht.com/_Ah8Xmp92kPY/SSEmjvpdvVI/AAAAAAAAAV4/SikpePR0ZIg/lightbox_preview.jpg?imgmax=400" rel="lightbox[post110]" title="lightbox_preview.jpg"><img src="http://lh5.ggpht.com/_Ah8Xmp92kPY/SSEmjvpdvVI/AAAAAAAAAV4/SikpePR0ZIg/s144/lightbox_preview.jpg" alt="lightbox_preview.jpg" /></a></center></p>
<p>While figuring out how to manage my pics, and easy insert into my blog post, I found this plugin. <a href="http://bogde.ro/computers/picasa-ligthbox-2-preview.htm">Picasa LigthBox 2</a>. This plugin will retrieve our public pictures from picasa gallery, and have an easy interface to include them into our blog post. Besides, it provides a overlay preview to our users, using <a href="http://zeo.unic.net.my/notes/lightbox2-for-wordpress/">Wordpress Lightbox Plugin</a>. </p>
<p>Just put the Wordpress Lightbox2 plugin into your wp-content/plugins/, activate it in Wordpress Admin page. Do the same thing for Picasa Lightbox 2 plugin. Put into your plugin folder and activate it. After that, you can see a small button to add new picasa photo. </p>
<p><a href="http://bogde.ro/computers/picasa-ligthbox-2-preview.htm">http://bogde.ro/computers/picasa-ligthbox-2-preview.htm</a><br />
<a href="http://zeo.unic.net.my/notes/lightbox2-for-wordpress/">http://zeo.unic.net.my/notes/lightbox2-for-wordpress/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2008/11/picasa-ligthbox-2-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2008/11/picasa-ligthbox-2-wordpress-plugin/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
		<item>
		<title>iDuino – Arduino compatible prototyping board</title>
		<link>http://feedproxy.google.com/~r/farhanfaisal/~3/EcuPzMqON7g/</link>
		<comments>http://www.farhanfaisal.com/2008/11/iduino-arduino-compatible-prototyping-board/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 07:28:48 +0000</pubDate>
		<dc:creator>farhan</dc:creator>
				<category><![CDATA[Technical resources]]></category>
		<category><![CDATA[iduino]]></category>
		<category><![CDATA[iduino electronic]]></category>

		<guid isPermaLink="false">http://www.farhanfaisal.com/?p=109</guid>
		<description><![CDATA[


Hai.. Long time again since my last post. Just updated something, for my own notes, and anyone who an share this. 
Last few month I have bought a electronic prototyping platform, which contains a mictrocontroller Atmega168. The board I bought was iDuino, a derivative from another electronic platform, that is Arduino. They are open source [...]]]></description>
			<content:encoded><![CDATA[<p><center><br />
<a href="http://lh6.ggpht.com/_Ah8Xmp92kPY/SSEdpWs7SPI/AAAAAAAAAT8/HYD9D8t2Fpk/HPIM0188.jpg?imgmax=400" rel="lightbox[post109]" ><img src="http://lh6.ggpht.com/_Ah8Xmp92kPY/SSEdpWs7SPI/AAAAAAAAAT8/HYD9D8t2Fpk/s144/HPIM0188.jpg" /></a><a href="http://lh6.ggpht.com/_Ah8Xmp92kPY/SSEdqwLh6HI/AAAAAAAAAUE/8jqNJICcnSs/HPIM0189.jpg?imgmax=400" rel="lightbox[post109]"><img src="http://lh6.ggpht.com/_Ah8Xmp92kPY/SSEdqwLh6HI/AAAAAAAAAUE/8jqNJICcnSs/s144/HPIM0189.jpg" alt="HPIM0189.jpg" /></a><a href="http://lh4.ggpht.com/_Ah8Xmp92kPY/SSEdsXNdyHI/AAAAAAAAAUM/3raxt6ivVG4/HPIM0190.jpg?imgmax=400" rel="lightbox[post109]" title="HPIM0190.jpg"><img src="http://lh4.ggpht.com/_Ah8Xmp92kPY/SSEdsXNdyHI/AAAAAAAAAUM/3raxt6ivVG4/s144/HPIM0190.jpg" /></a><br />
</center><br />
Hai.. Long time again since my last post. Just updated something, for my own notes, and anyone who an share this. </p>
<p>Last few month I have bought a electronic prototyping platform, which contains a mictrocontroller Atmega168. The board I bought was iDuino, a derivative from another electronic platform, that is <a href="http://www.arduino.cc">Arduino</a>. They are open source hardware and software platform, where you can customize the microcontroller to do almost anything. But right now, I just can blink the light <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is the iDuino board, a similar version of Arduino Diecimila. I just use the Arduino programming software, Arduino tutorial to start with the board. The only reason I bought iDuino instead of Arduino because its cheaper <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>iDuino is a breadboardable version. So, you can test your own circuit directly on a breadboard. There are a few version of Arduino you can choose from, according to your project need. This iDuino is a good start, and surely I will learn alot from it. It took me almost 4 month to get started, because of busy work. From beginning, i start buying tools, completing my toolbox, and now i have the time to play around with it. </p>
<p>I bought a unsoldered board iDuino, it took me almost one hour to solder them, and test it the other day. The board is connected to PC using USB, utilizing FT232RL, the same as in Arduino. So, I need to install USB Serial Converted driver, provided in Arduino programming software package. Arduino software provided with some sample code, and sample wiring to get started. At first when I try to load up a &#8220;blink&#8221; code, it gives me an error, </p>
<p>[code]avrdude: stk500_getsync(): not in sync: resp=0x00<br />
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51[/code]</p>
<p>I search around, and found the solutions in <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1187909552/15">Arduino forum</a>. i just need to go to Device Manager &#8211;> Ports, there is a USB serial port. At first it was mapped to Port 15. Go to its properties, Port Setting, Advance, change the port number to something below 10. Then change the port in Arduino software to what you have change, through Tools &#8211;> Serial Port. Now I can start the coding and projects. <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There is one guy who already proposing for a sumo challenge, in <a href="http://www.ittutor.net/forums/index.php?showtopic=36590">Ittutor forum</a>. I dont know when I can get involve. I&#8217;m a newbie. huhuh.. Tunggu Bro Rizal, bagi saya blaja dulu <img src='http://www.farhanfaisal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.farhanfaisal.com/2008/11/iduino-arduino-compatible-prototyping-board/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.farhanfaisal.com/2008/11/iduino-arduino-compatible-prototyping-board/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</feedburner:origLink></item>
	</channel>
</rss>
