<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>budiwijaya.net</title>
	<atom:link href="http://budiwijaya.net/feed" rel="self" type="application/rss+xml" />
	<link>http://budiwijaya.net</link>
	<description>Use legal software, use opensource!</description>
	<lastBuildDate>Sat, 28 Jan 2012 16:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Cara memainkan Game Android di Mac OS/X</title>
		<link>http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html</link>
		<comments>http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html#comments</comments>
		<pubDate>Sat, 28 Jan 2012 15:35:28 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[indonesia]]></category>
		<category><![CDATA[quick-tips]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=83</guid>
		<description><![CDATA[Pertama silahkan download Sun Java for Mac OS X 10.06 Update 6 di sini[1]. Untuk instalasi tinggal di double klik file disk image, kemudian akan muncul sebuah file .pkg, file tersebut juga tinggal di double klik maka Java akan terinstall. Selanjutnya kita install Android SDK. Download Android SDK di sini[2]. Android SDK cukup kita extract [...]]]></description>
			<content:encoded><![CDATA[<p>Pertama silahkan <em>download</em> Sun Java for Mac OS X 10.06 Update 6 di sini[1]. Untuk instalasi tinggal di double klik file disk image, kemudian akan muncul sebuah file .pkg, file tersebut juga tinggal di double klik maka Java akan terinstall.</p>
<p>Selanjutnya kita install Android SDK. <em>Download</em> Android SDK di sini[2]. Android SDK cukup kita extract saja, misal kita extract di /Users/budiw/Downloads/android-sdk.</p>
<p>Setelah Android SDK terinstall, kita <em>download</em> terlebih dahulu <em>image</em> android platform. Caranya kita buka terminal/console. Kemudian kita ketik perintah-perintah dibawah ini.</p>
<pre>$cd /Users/budiw/Downloads/android-sdk
$tools/android</pre>
<p>Kita tinggal <em>centang</em> Android versi berapa yang mau diinstall. Karena game yang akan dimainkan &#8216;katanya&#8217; jalan di Android 2.3.3, maka saya <em>centang</em> yang Android 2.3.3 (API 10).</p>
<p><span id="more-83"></span></p>
<p><img class="aligncenter size-full wp-image-87" title="android-sdk-manager" src="http://budiwijaya.net/wp-content/uploads/2012/01/android-sdk-manager.png" alt="Android SDK Manager" width="550" height="449" /></p>
<p>Klik &#8220;Install …&#8221;</p>
<p>Setelah Image Android sudah diinstall. Kita perlu membuat sebuah <strong>Emulator HP Android</strong>. Berbeda dengan versi Windows, versi OS X tidak dilengkapi program AVD Manager.exe, jadi kita harus buat manual menggunakan terminal/console. Referensi dari sini[3] dan sana[4].</p>
<p>Kita lihat dulu ada berapa emulator HP yg bisa kita pakai.</p>
<pre>$tools/android list targets
Available Android targets:
----------
id: 1 or "android-10"
Name: Android 2.3.3
Type: Platform
API level: 10
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
ABIs : armeabi
----------
id: 2 or "Google Inc.:Google APIs:10"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 2.3.3 (API level 10)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
ABIs : armeabi</pre>
<p>Baru kemudian kita buat AVD (Android Virtual Device).</p>
<pre>$tools/android create avd -n hpgames -t 1 -p /Users/budiw/Downloads/hpgames
Auto-selecting single ABI armeabi
Android 2.3.3 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Created AVD 'cobahp' based on Android 2.3.3, ARM (armeabi) processor,
with the following hardware config:
hw.lcd.density=240
vm.heapSize=24
hw.ramSize=256</pre>
<p>Setelah jadi, kita jalankan dengan perintah emulator.</p>
<pre>$tools/emulator -avd hpgames</pre>
<p><img class="aligncenter size-full wp-image-84" title="android-capture" src="http://budiwijaya.net/wp-content/uploads/2012/01/android-capture.png" alt="Android Emulator" width="550" height="509" /></p>
<p>Setelah emulator sudah jalan, baru kita install game yang diinginkan. Kita lihat dulu nama devices-nya.</p>
<pre>$platform-tools/adb devices</pre>
<pre>List of devices attached
emulator-5554	device</pre>
<pre>$platform-tools/adb -s emulator-5554 install namafile.apk
1246 KB/s (4213460 bytes in 3.300s)
pkg: /data/local/tmp/namafile.apk
Success</pre>
<p>Kemudian bisa kita lihat di menu sudah terinstall game tersebut.</p>
<p><img class="aligncenter size-full wp-image-86" title="android-screen" src="http://budiwijaya.net/wp-content/uploads/2012/01/android-screen.png" alt="" width="550" height="508" /></p>
<p><img class="aligncenter size-full wp-image-85" title="android-gamedev" src="http://budiwijaya.net/wp-content/uploads/2012/01/android-gamedev.png" alt="" width="550" height="508" /></p>
<p>Selamat, siapkan waktu dan tenaga untuk kecanduan.</p>
<p>[1]<a href="http://support.apple.com/kb/DL1360">http://support.apple.com/kb/DL1360</a><br />
[2]<a href="http://developer.android.com/sdk/index.html">http://developer.android.com/sdk/index.html</a><br />
[3]<a href="http://developer.android.com/guide/developing/devices/managing-avds-cmdline.html">http://developer.android.com/guide/developing/devices/managing-avds-cmdline.html</a><br />
[4]<a href="http://developer.android.com/guide/developing/tools/android.html">http://developer.android.com/guide/developing/tools/android.html</a></p>
<a href="http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html" title="cara bermain game di emulator android">cara bermain game di emulator android</a>, <a href="http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html" title="cara buka file tipe apk di mac">cara buka file tipe apk di mac</a>, <a href="http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html" title="cara main java game dengan java emulator di Android">cara main java game dengan java emulator di Android</a>, <a href="http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html" title="cara membuka game android di hp java">cara membuka game android di hp java</a>, <a href="http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html" title="game mac osx">game mac osx</a>, <a href="http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html" title="membuka game android">membuka game android</a>, <a href="http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html" title="trikmemainkangamejavaandroid">trikmemainkangamejavaandroid</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/cara-memainkan-game-android-di-mac-osx.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to allow Named/bind9 to write to other directory that blocked by Apparmor</title>
		<link>http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html</link>
		<comments>http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html#comments</comments>
		<pubDate>Sun, 03 Jul 2011 14:59:09 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[quick-tips]]></category>
		<category><![CDATA[apparmor]]></category>
		<category><![CDATA[bind9]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dns server]]></category>
		<category><![CDATA[named]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=74</guid>
		<description><![CDATA[My slave dns server returned error while I tried to add another domain, below example of the error. kernel: [1239217.411031] type=1503 audit(1309700303.423:12381): operation="mknod" pid=1692 parent=1 profile="/usr/sbin/named" requested_mask="c::" denied_mask="c::" fsuid=109 ouid=109 name="/etc/bind/db/in/tmp-ImzPls04Rk" That&#8217;s because named aren&#8217;t allowed to write to directory /etc/bind/db/in. To solve this issue, open apparmor profile of named (/etc/apparmor.d/usr.sbin.named), add this line right after [...]]]></description>
			<content:encoded><![CDATA[<p>My slave dns server returned error while I tried to add another domain, below example of the error.</p>
<pre>kernel: [1239217.411031] type=1503 audit(1309700303.423:12381):
operation="mknod" pid=1692 parent=1 profile="/usr/sbin/named"
requested_mask="c::" denied_mask="c::" fsuid=109 ouid=109
name="/etc/bind/db/in/tmp-ImzPls04Rk"</pre>
<p>That&#8217;s because <em>named</em> aren&#8217;t allowed to write to directory /etc/bind/db/in. To solve this issue, open apparmor <em>profile of named</em> (/etc/apparmor.d/usr.sbin.named), add this line right after &#8216;<em>/etc/bind/** r,</em>&#8216; :</p>
<pre>/etc/bind/db/** rw,</pre>
<p>Restart the apparmor and then restart <em>named</em>.</p>
<a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="requested_mask=c:: denied_mask=c::">requested_mask=c:: denied_mask=c::</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="profile=/usr/sbin/named requested_mask=c:: denied_mask=c::">profile=/usr/sbin/named requested_mask=c:: denied_mask=c::</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="denied_mask=c::">denied_mask=c::</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="requested_mask=c denied_mask=c">requested_mask=c denied_mask=c</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="apparmor requested_mask C::">apparmor requested_mask C::</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="apparmor requested_mask c">apparmor requested_mask c</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="apparmor denied_mask=c::">apparmor denied_mask=c::</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="operation=mknod requested_mask=c:: denied_mask=c::">operation=mknod requested_mask=c:: denied_mask=c::</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="profile=/usr/sbin/named requested_mask=c::">profile=/usr/sbin/named requested_mask=c::</a>, <a href="http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html" title="apparmor named">apparmor named</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/how-to-allow-namedbind9-to-write-to-other-directory-that-blocked-by-apparmor.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Mailing List Manager a.k.a Mailman on Ubuntu 6.06</title>
		<link>http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html</link>
		<comments>http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html#comments</comments>
		<pubDate>Tue, 24 Aug 2010 06:54:08 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[mailing list]]></category>
		<category><![CDATA[mailman]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[ubuntu dapper]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=49</guid>
		<description><![CDATA[Recently I Installed a mailing list manager on my mailserver. I use GNU&#8217;s mailman. It&#8217;s straightforward and simple and they have a web-based administration. I&#8217;m following this tutorial from wiki.ubuntu.com. But unfortunately, this tutorial has some error in configuration. After a long search finally I found that, the line at /etc/mailman/mm_cfg.py should be MTA = [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_55" class="wp-caption alignleft" style="width: 257px"><a href="http://budiwijaya.net/wp-content/uploads/2010/08/mailman_logo-lg.jpg"><img class="size-full wp-image-55" title="Mailman Logo" src="http://budiwijaya.net/wp-content/uploads/2010/08/mailman_logo-lg.jpg" alt="Mailman Logo" width="247" height="93" /></a><p class="wp-caption-text">Mailman</p></div>
<p>Recently I Installed a mailing list manager on my mailserver. I use <a title="Gnu Mailman" href="http://www.gnu.org/software/mailman/index.html">GNU&#8217;s mailman</a>. It&#8217;s straightforward and simple and they have a web-based administration. I&#8217;m following <a href="https://help.ubuntu.com/community/Mailman">this tutorial</a> from wiki.ubuntu.com.</p>
<p>But unfortunately, this tutorial has some error in configuration. After a long search finally I found that, the line at /etc/mailman/mm_cfg.py should be MTA = None. But in the tutorial is MTA = Postfix.</p>
<p>The configuration error is not quickly found, because the mailing list is running as usual. I found this error on this situation.</p>
<p>My server is postfix and using virtual mail. I have a mailbox called dummybox@example.com. Then I create a lists called dummybox@lists.example.com. Everytime I send an email to dummybox@example.com, postfix try to deliver the email to mailman. And whoops, its error!</p>
<p>After changing MTA to None, this error dissapear.</p>
<p>Update #1:<br />
I change the  MTA to None on wiki.ubuntu.com. Thank God it&#8217;s wiki, a collaborated pages. So I can change the error.</p>
<a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="ubuntu mailing list software">ubuntu mailing list software</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="ubuntu mailing list manager">ubuntu mailing list manager</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="mailing list software ubuntu">mailing list software ubuntu</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="mailing list manager ubuntu">mailing list manager ubuntu</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="installing maililig list manager">installing maililig list manager</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="postfix mailing list manager">postfix mailing list manager</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="mailman ubuntu">mailman ubuntu</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="installing mailing list manager in ubuntu">installing mailing list manager in ubuntu</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="ubuntu mail manager">ubuntu mail manager</a>, <a href="http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html" title="ubuntu mailing list">ubuntu mailing list</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/installing-mailing-list-manager-a-k-a-mailman-on-ubuntu-6-06.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing OpenBSD 4.7 in Ubuntu KVM-84</title>
		<link>http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html</link>
		<comments>http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html#comments</comments>
		<pubDate>Fri, 13 Aug 2010 06:35:05 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[quick-tips]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[openbsd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=45</guid>
		<description><![CDATA[Hello all, This time I need to play with OpenBSD, because I want to learn some software that doesn&#8217;t exist in Linux. It&#8217;s combination of spamd, relaydb and pf. The purpose of this, I want to get rid of spam as many as I could. Of course, with minimal efforts (cpu cycles, bandwidth, etc). Installing [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_53" class="wp-caption alignleft" style="width: 310px"><a href="http://budiwijaya.net/wp-content/uploads/2010/08/puflogh500X124.gif"><img class="size-medium wp-image-53" title="Puffy with Logo" src="http://budiwijaya.net/wp-content/uploads/2010/08/puflogh500X124-300x74.gif" alt="OpenBSD Logo" width="300" height="74" /></a><p class="wp-caption-text">OpenBSD Logo</p></div>
<p>Hello all,</p>
<p>This time I need to play with OpenBSD, because I want to learn some software that doesn&#8217;t exist in Linux. It&#8217;s combination of spamd, relaydb and pf. The purpose of this, I want to get rid of spam as many as I could. Of course, with minimal efforts (cpu cycles, bandwidth, etc).</p>
<p>Installing OpenBSD is easy, you can follow some guidance by cibercity.biz <a href="http://www.cyberciti.biz/faq/kvmvirtualization-virt-install-openbsd-unix-guest/">here</a>. After the install is finish, you will encounter another problem. Where&#8217;s the login prompt? Lucky you, on cibercity.biz tutorial, there&#8217;s also a <a href="http://www.cyberciti.biz/faq/kvm-virtualization-openbsd-guest-hangs-at-starting-tty-flags/">tutorial how to get in the login prompt</a>. It&#8217;s a problem with some <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=config&amp;apropos=0&amp;sektion=0&amp;manpath=OpenBSD+Current&amp;arch=i386&amp;format=html">kernel config</a>, I don&#8217;t understand too much right now. Just follow the white rabbit. <img src='http://budiwijaya.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Ta..da.. Now you&#8217;re ready to rock in ksh!</p>
<p>Update 14 Aug 2010:<br />
After installation is success, you have another problem a head. The network interface card of KVM is very slow. After a little googling, no solution right now. Because spamd, relaydb and pf already ported to FreeBSD since 5.x, I&#8217;m switching to FreeBSD. The tutorial is <a href="http://www.cyberciti.biz/faq/kvm-virt-install-install-freebsd-centos-guest/">here</a>. Happy FreeBSDing..</p>
<p>By the way, <a href="http://www.benzedrine.cx/relaydb.html">This</a> is the tutorial I want to achive, from benzedrine.cx.</p>
<a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="budi wijaya">budi wijaya</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="openbsd logo">openbsd logo</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="openbsd kvm slow">openbsd kvm slow</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="openbsd kvm">openbsd kvm</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="kvm openbsd">kvm openbsd</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="ubuntu kvm openbsd">ubuntu kvm openbsd</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="openbsd on kvm">openbsd on kvm</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="kvm-84">kvm-84</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="KVM 84">KVM 84</a>, <a href="http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html" title="kvm freebsd slow">kvm freebsd slow</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/installing-openbsd-4-7-in-ubuntu-kvm-84.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to setup login prompt and grub via serial console</title>
		<link>http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html</link>
		<comments>http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html#comments</comments>
		<pubDate>Mon, 19 Jul 2010 01:00:51 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[quick-tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=42</guid>
		<description><![CDATA[In my Office, I use a relatively small computer devices. I setup those boxes as router, located in network panel room together with switch and cable closet. There&#8217;s no monitor or keyboard there. So when there&#8217;s any error, I need an quick solutions to see what happened while boot. I tried this with Ubuntu 10.04. [...]]]></description>
			<content:encoded><![CDATA[<p>In my Office, I use a relatively small computer devices. I setup those boxes as router, located in network panel room together with switch and cable closet. There&#8217;s no monitor or keyboard there. So when there&#8217;s any error, I need an quick solutions to see what happened while boot.</p>
<p>I tried this with Ubuntu 10.04. This tutorial is not compatible with Ubuntu below 10.04.</p>
<p>First we set the getty, so we can log-in through serial console.</p>
<pre>$ sudo vi /etc/init/ttyS0.conf
# ttyS0 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -L 38400 ttyS0 vt102</pre>
<p>Then we setup the grub loader so it can show on serial ports too. Just adjust your grub configuration with this configuration.</p>
<pre>$sudo vi /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,38400n8"

# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --speed=38400 --unit=0 --word=8 --parity=no --stop=1"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true</pre>
<p>After editing grub configuration, we update our grub with this command:</p>
<pre>$sudo update-grub</pre>
<p>Before we test the grub loader with serial, we should test the getty program. Now, on client computer, we install minicom program. I&#8217;m using USB2Serial that detected on port /dev/ttyUSB0. I use 38400 baud speed. Just adjust the 38400 with other speed if you like.</p>
<p>Let&#8217;s install the minicom program with this command:</p>
<pre>$sudo apt-get install minicom</pre>
<p>After that, launch the minicom program. Set the configuration like this. Press ^ao on the minicom screen.</p>
<pre>+-----[configuration]------+
| Filenames and paths      |
| File transfer protocols  |
| Serial port setup        |
| Modem and dialing        |
| Screen and keyboard      |
| Save setup as dfl        |
| Save setup as..          |
| Exit                     |
+--------------------------+</pre>
<p>Choose &#8220;Serial port setup&#8221;</p>
<pre>+-----------------------------------------------------------------------+
| A -    Serial Device      : /dev/ttyUSB0                              |
| B - Lockfile Location     : /var/lock                                 |
| C -   Callin Program      :                                           |
| D -  Callout Program      :                                           |
| E -    Bps/Par/Bits       : 38400 8N1                                 |
| F - Hardware Flow Control : No                                        |
| G - Software Flow Control : No                                        |
|                                                                       |
|    Change which setting?                                              |
+-----------------------------------------------------------------------+</pre>
<p>After done configurating, Save it as default by choosing &#8220;Save setup as dfl&#8221;. Then Let&#8217;s try to initialized the serial by pressing ^am . If success then we have a login prompt.</p>
<pre>Ubuntu 10.04 LTS ro-bb-fa-fb-fe ttyS0                                           

ro-bb-fa-fb-fe login:</pre>
<p>On the login screen we know that we use serial console by &#8220;ttyS0&#8243; It&#8217;s mean we use serial 0.</p>
<p>Reference:<br />
[1]<a href="https://help.ubuntu.com/community/SerialConsoleHowto">https://help.ubuntu.com/community/SerialConsoleHowto</a><br />
[2]<a href="http://www.vanemery.com/Linux/Serial/serial-console.html">http://www.vanemery.com/Linux/Serial/serial-console.html</a></p>
<p>Buy <a href="http://www.amazon.com/gp/product/B000BF106C?ie=UTF8&amp;tag=budiwnet-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000BF106C">Sabrent SBT-USC6M USB 2.0 to Serial (9-pin) DB-9 RS-232 (BLUE)</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=budiwnet-20&amp;l=as2&amp;o=1&amp;a=B000BF106C" border="0" alt="" width="1" height="1" /> at Amazon and get discounted price.</p>
<a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="ubuntu 10 04 serial console">ubuntu 10 04 serial console</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="GRUB_CMDLINE_LINUX_DEFAULT serial console">GRUB_CMDLINE_LINUX_DEFAULT serial console</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="grub ttyusb0">grub ttyusb0</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="set up console ubuntu 10 04 ttys0">set up console ubuntu 10 04 ttys0</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="ubuntu 10 serial console">ubuntu 10 serial console</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="ubuntu serial console">ubuntu serial console</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="grub_cmdline_linux_default console">grub_cmdline_linux_default console</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="grub serial console">grub serial console</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="ubuntu 10 04 getty">ubuntu 10 04 getty</a>, <a href="http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html" title="ubuntu 10 04 change prompt to serial port">ubuntu 10 04 change prompt to serial port</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/how-to-setup-login-prompt-and-grub-via-serial-console.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to find AS Number from an IP</title>
		<link>http://budiwijaya.net/how-to-find-as-number-from-an-ip.html</link>
		<comments>http://budiwijaya.net/how-to-find-as-number-from-an-ip.html#comments</comments>
		<pubDate>Sun, 18 Jul 2010 06:10:49 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[quick-tips]]></category>
		<category><![CDATA[AS Number]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[IP Address]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=38</guid>
		<description><![CDATA[Yesterday there was a slight problem on the office network. IP blocks for upstream B was passed from upstream A. Once the problem is finished, it&#8217;s fun to see record ASN from the internet provider company here: http://bgp.he.net/AS7713 (7713 is the U.S. from Telkom) I&#8217;m curios who&#8217;s Google peering with? Finally a little Googling found [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday there was a slight problem on the office network. IP blocks for upstream B was passed from upstream A. Once the problem is finished, it&#8217;s fun to see record ASN from the internet provider company here: <a href="http://bgp.he.net/AS7713 ">http://bgp.he.net/AS7713</a> (7713 is the U.S. from Telkom)</p>
<p>I&#8217;m curios who&#8217;s Google peering with? Finally a little Googling found this link, from IP to ASN <a href="http://www.team-cymru.org/Services/ip-to-asn.html">http://www.team-cymru.org/Services/ip-to-asn.html</a> Finding ASN from IP Address, turned out quite easily.</p>
<p>First we search first one ip from Google. We use the command &#8216;host www.google.com&#8217; It would appear many ip, I Choose 72.14.213.147, then we use whois command:</p>
<pre>whois -h -v whois.cymru.com 72.14.213.103</pre>
<p>The result is as below</p>
<pre>Warning: RIPE flags Used with a traditional server.
AS   |IP            | BGP Prefix     | CC   | Registry | Allocated  | U.S. Name
15169|72.14.213.103 | 72.14.212.0/23 | U.S. | ARIN     | 2004-11-10 | GOOGLE - Google Inc..</pre>
<p>Left column is Google&#8217;s ASN. We enter into his looking glass HE.net so it looks like: <a href="http://bgp.he.net/AS15169">http://bgp.he.net/AS15169</a></p>
<p>Please see BGP peering and statistics from Google.</p>
<a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="google autonomous system number">google autonomous system number</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="find AS number">find AS number</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="find as from ip">find as from ip</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="AS from IP">AS from IP</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="find as number for ip">find as number for ip</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="Warning: RIPE flags used with a traditional server">Warning: RIPE flags used with a traditional server</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="how to find AS number">how to find AS number</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="ASN whois">ASN whois</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="ASN name by IP linux">ASN name by IP linux</a>, <a href="http://budiwijaya.net/how-to-find-as-number-from-an-ip.html" title="search AS number">search AS number</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/how-to-find-as-number-from-an-ip.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcoming our newest family member</title>
		<link>http://budiwijaya.net/welcoming-our-newest-family-member.html</link>
		<comments>http://budiwijaya.net/welcoming-our-newest-family-member.html#comments</comments>
		<pubDate>Mon, 05 Jul 2010 01:25:36 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[baby]]></category>
		<category><![CDATA[born]]></category>
		<category><![CDATA[family]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=33</guid>
		<description><![CDATA[Welcoming our newest family member. Budiwijaya&#8217;s Junior. July 5th, 2010. 02:00 am. welcoming our newest member of family, who is the wijaya family]]></description>
			<content:encoded><![CDATA[<p>Welcoming our newest family member.</p>
<p>Budiwijaya&#8217;s Junior.</p>
<p>July 5th, 2010. 02:00 am.</p>
<a href="http://budiwijaya.net/welcoming-our-newest-family-member.html" title="welcoming our newest member of family">welcoming our newest member of family</a>, <a href="http://budiwijaya.net/welcoming-our-newest-family-member.html" title="who is the wijaya family">who is the wijaya family</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/welcoming-our-newest-family-member.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>cd -</title>
		<link>http://budiwijaya.net/cd.html</link>
		<comments>http://budiwijaya.net/cd.html#comments</comments>
		<pubDate>Sun, 21 Mar 2010 14:03:34 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[quick-tips]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=30</guid>
		<description><![CDATA[Did you know when you press &#8220;cd -&#8221; you can back to previous directory? Here&#8217;s some example linux01:/var/www/mywebsite$ cd /home linux01:/home$ cd - linux01:/var/www/mywebsite$ [shortlink]]]></description>
			<content:encoded><![CDATA[<p>Did you know when you press &#8220;cd -&#8221; you can back to previous directory? Here&#8217;s some example</p>
<blockquote><p>linux01:/var/www/mywebsite$ cd /home<br />
linux01:/home$ cd -<br />
linux01:/var/www/mywebsite$</p></blockquote>
<p>[<a href="http://wp.me/pRm3D-u" target="_self">shortlink</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/cd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mplayer Encoder</title>
		<link>http://budiwijaya.net/mplayer-encoder.html</link>
		<comments>http://budiwijaya.net/mplayer-encoder.html#comments</comments>
		<pubDate>Sat, 20 Mar 2010 17:11:19 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[quick-tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[mplayer encoder]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=26</guid>
		<description><![CDATA[If you&#8217;re using Ubuntu, the default install of Ubuntu can&#8217;t play movie file. ie .avi, .mpg, etc. You need to install an encoder. $sudo aptitude install mencoder Then you&#8217;re ready to play your movie files. [short link] mplayer encoder, mplayerencoder for ubuntu]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using Ubuntu, the default install of Ubuntu can&#8217;t play movie file. ie .avi, .mpg, etc. You need to install an encoder.</p>
<blockquote><p>$sudo aptitude install mencoder</p></blockquote>
<p>Then you&#8217;re ready to play your movie files.</p>
<p>[<a href="http://wp.me/pRm3D-q">short link</a>]</p>
<a href="http://budiwijaya.net/mplayer-encoder.html" title="mplayer encoder">mplayer encoder</a>, <a href="http://budiwijaya.net/mplayer-encoder.html" title="mplayerencoder for ubuntu">mplayerencoder for ubuntu</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/mplayer-encoder.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to take a sneak peek postfix mail queue</title>
		<link>http://budiwijaya.net/how-to-take-a-sneak-peek-postfix-mail-queue.html</link>
		<comments>http://budiwijaya.net/how-to-take-a-sneak-peek-postfix-mail-queue.html#comments</comments>
		<pubDate>Sat, 20 Mar 2010 16:46:55 +0000</pubDate>
		<dc:creator>budiwijaya</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[quick-tips]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Queue]]></category>

		<guid isPermaLink="false">http://budiwijaya.net/?p=23</guid>
		<description><![CDATA[Sometimes we &#8212; Sysadmin, need to see what is the content of mail in the queue. If you are using postfix, you can do $sudo postcat -q 9B44FC820A You can change 9B44FC820A with the queue number on your server. peek mail postfix, postfix peek]]></description>
			<content:encoded><![CDATA[<p>Sometimes we &#8212; Sysadmin, need to see what is the content of mail in the queue. If you are using postfix, you can do</p>
<blockquote><p>$sudo postcat -q 9B44FC820A</p></blockquote>
<p>You can change 9B44FC820A with the queue number on your server.</p>
<a href="http://budiwijaya.net/how-to-take-a-sneak-peek-postfix-mail-queue.html" title="peek mail postfix">peek mail postfix</a>, <a href="http://budiwijaya.net/how-to-take-a-sneak-peek-postfix-mail-queue.html" title="postfix peek">postfix peek</a>]]></content:encoded>
			<wfw:commentRss>http://budiwijaya.net/how-to-take-a-sneak-peek-postfix-mail-queue.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

