Sometimes you want to convert .pcap file from tcpdump or wireshark trace into text file so you can open with any text editor.
To do this conversion you’ll required tshark (If you already install wireshark either for windows or *nix you already have tshark in your computer)

From tshark man page:

TShark is a network protocol analyzer. It lets you capture packet data from a live network, or read packets from a previously saved capture file, either printing a decoded form of those packets to the standard output or writing the packets to a file. TShark‘s native capture file format is libpcap format, which is also the format used by tcpdump and various other tools.

Let’s say you want to convert file testing_diameter.pcap to text file, from Windows CMD or *nix terminal run below command:

tshark -nr testing_diameter.pcap -T text -V > testing_diameter.text

This command will convert full .pcap file include the header into testing_diameter.text

If you only want to convert protocol specified information add -O [protocol] parameter from above command, like below

tshark -nr testing_diameter.pcap -T text -V -O diameter> testing_diameter_only.text


The requested operation requires elevation

On June 17, 2012, in Win7, by anif

Pernah nge-add route command di Windows 7 lewat command prompt dan muncul “The requested operation requires elevation”, sedangkan command route add yang di input sudah benar.

Output diatas muncul karena command prompt yang dibuka tidak menggunakan hak akses Administrator.

Solusinya re-open window command prompt sebagai Administrator, Klik tombol Start di Windows 7 — ketik cmd di Search program and files — klik kanan pada cmd.exe — Run as Administrator.


OpenShift merupakan free cloud computing platform dari Red Hat (PaaS – Platform as a Service). OpenShift bisa digunakan untuk nge-build, testing applications tanpa harus menginstall server atau aplikasi server pendukungnya, karena semuanya sudah di take-over oleh OpenShift. Developer hanya fokus pada pengembangan aplikasi yang akan dibangun (design dan coding dari applikasi).

Untuk bisa menggunakan OpenShift, harus register terlebih dahulu, buka website: atau bisa menggunakan account dari
Setelah selesai register, untuk login ke OpenShift console bisa menggunakan link:

Setelah memiliki account di OpenShift, yang harus dilakukan pertama kalinya adalah:

Install tools untuk client (install rhc di *nix atau windows (windows menggunakan cygwin))

Jika ingin menggunakan GUI, maka login ke untuk masuk ke OpenShift console, tampilan OpenShift management console terlihat seperti gambar dibawah

OpenShift Management Console



If you install solaris 10 x86 using vmware as guest OS in x64 hosts, and get error “wmare triple fault“, this problem appear because Solaris 10 in vmware try to use 64-bit (you can find the log in virtual machine folder, let say you install Solaris 10 in D:\vmware\Solaris 10)

vmware triple fault

2012-06-16T09:34:13.012+07:00| vcpu-0| I120: Triple fault.
2012-06-16T09:34:13.012+07:00| vcpu-0| I120: MsgHint: msg.monitorEvent.tripleFault
2012-06-16T09:34:13.012+07:00| vcpu-0| I120+ A fault has occurred causing a virtual CPU to enter the shutdown state. If this fault had occurred outside of a virtual machine, it would have caused the physical machine to restart. The shutdown state can be reached by incorrectly configuring the virtual machine, a bug in the guest operating system, or a problem in VMware Workstation.—————————————
2012-06-16T11:47:57.350+07:00| vcpu-0| I120: CPU reset: hard (mode 2)
2012-06-16T11:47:57.351+07:00| vmx| I120: Stopping VCPU threads…

To fix this problem, we need modify virtual machine configuration, search file *.vmx in your solaris virtual machine directory and open using text editor (notepat, wordpad, vi, etc) and then add below line into .vmx

monitor_control.disable_longmode = TRUE

This parameter will disable longmode for Solaris 10 in vmware (you can find detail explanation about longmode in Wikipedia: Save .vmx configuration and try to power on Solaris 10 virtual machine, now Solaris 10 will running without any problem in vmware.


We can use loopback interface with GNS3 for learning networking. This article will explain “how to add loopback interface” in Windows 7

1. Click Start Menu and type cmd.exe, then right click cmd.exe and click Run as administrator

Command Prompt



First, you must have sharebar plugin in your wordpress blog, from wordpress left panel, click menu Setting — Sharebar, then click Add New Button.

Go to to get Google +1 code, because sharebar support two type button, small and tall, click small radio button and copy this code, then click tall radio button and copy this code.


Fedora 15: YUM Quick Guide Part 3

On July 16, 2011, in Fedora, by anif

Yum Plugins: yum memiliki beberapa plugins yang bisa membuat performa yum menjadi lebih baik atau mempercepat process download package dari repository. Beberapa plugins dari yum yang terinstall secara default pada saat melakukan installasi Fedora 15 adalah (jika melakukan installasi packages minimal, maka defaultnya yum plugins tidak terinstall):


Fedora 15: Reset root Password

On July 10, 2011, in Fedora, by anif

To reset your “root” password in Fedora 15:

  1. Restart your Fedora 15, from grub menu select Fedora 15, then press “e“. Use arrow key to select second line (start with “kernel … “) and then press “e” to edit

Fedora 15: YUM Quick Guide Part 2

On July 10, 2011, in Fedora, by anif
  1. Query/Search packages
    untuk searching/query packages, gunakan “yum search nama_packages

    [anif@anif ~]$ yum search xmms mp3
    Loaded plugins: langpacks, presto, refresh-packagekit
    ============================ N/S Matched: xmms, mp3 ============================
    xmms-mp3.i586 : MP3 output plugin for XMMS

    Full name and summary matches only, use “search all” for everything.



Fedora 15: YUM Quick Guide Part 1

On July 9, 2011, in Fedora, by anif

Yum (Yellowdog Update, Modifier) merupakan package manager yang digunakan oleh system berbasiskan Red Hat Package Manager (rpm), pada distro lain kita mengenal adanya apt-get atau aptitude (debian based system), pkg_add pada OpenBSD.

Yum digunakan untuk meng-query informasi dari package, men-download package dari repository, melakukan installasi package, uninstall package, meng-update system. Yum secara otomatis akan memeriksa dependencies dari package waktu melakukan process installasi, uninstall atau update dan secara otomatis juga akan menginstall, uninstall atau update package yang dibutuhkan.

Jika pernah menggunakan rpm untuk menginstall package, mungkin pernah melihat output berikut

[root@anif ~]# rpm -ivh supertuxkart-0.7-2.fc15.i686.rpm
error: Failed dependencies: is needed by supertuxkart-0.7-2.fc15.i686 is needed by supertuxkart-0.7-2.fc15.i686
opengl-games-utils is needed by supertuxkart-0.7-2.fc15.i686
supertuxkart-data = 0.7 is needed by supertuxkart-0.7-2.fc15.i686

rpm command tidak bisa secara otomatis menginstall package-package yang dibutuhkan oleh supertuxkart-0.7-2.fc15.i686.rpm, sehingga pada saat installasi akan gagal karena dependencies package tidak terpenuhi.
Hal yang berbeda jika kita menggunakan yum untuk menginstall program supertuxkart, dimana yum secara otomatis akan mendeteksi package yang dibutuhkan dan menginstallnya (more…)