About

Bismillahirrohmanirrohiim ….
In the name of Allah SWT, The Beneficent, The Merciful
I always rely on You
Show us the straight path …

Welcome To alkautsarpens🙂

AlKautsar means many goodness and eternal in world and afterlife, one of them is AlKautsar River in Paradise, the ultimate aim or destination of life.
PENS is my institution – Electronics Engineering Polytechnic Institute of Surabaya (EEPIS, English Version) – www.eepis-its.edu

This is my way to be A NICE LECTURER..🙂
This path maybe difficult …

This is my first son, izzul, he was born on June 20, 2006.

This is my second son, hadziq, …he was born on March 15, 2008. Many thanks for your mother, not everyone has a great mom like you have 🙂

Lifelong Learning – Learn … To Make Life Better.
Insya Allah.

[Frame of Life]
Sail ocean of life
We are allusion of nomads
Life is struggle
No time for to do nothing

Every sorghum of perspiration and blood
Never disappeared by period

Have you forgotten …
That we were once triumphant
It will happen again
(Insya Allah)

[ If Remember about you…Far at eye, Close at heart ]
Wo Hen Ai Ni …
Wo Zhen De Ai Ni
Rang Wo Ai Ni …

[Research Area Interest – in Planning]

  • Computer Networks related
  • Wireless Sensor Networks
  • Content Management System

M. Udin Harun Al Rasyid
http://lecturer.eepis-its.edu/~udinharun
http://ccg.ee.ntust.edu.tw/~udinharun

追梦人 – Zhui Meng Ren – Dream Pursuer
研究员 传奇 – Yan Jiu Yuan Chuan Qi

syuaraa-83.jpg

“Ya Allah, berikanlah kepadaku hikmah (ilmu) masukkanlah aku ke dalam golongan orang-orang yang sholih
[QS.Asy-Syuaraa(26):83]

logo_its.gifeepis.jpglogo-ntust.gif

indonesia1.jpgtaiwan.jpg

 


73 Responses to About

  1. rile says:

    Amin

    udinharun said :
    Jazakallah dik Rile🙂

  2. Michael says:

    Hi,
    have followed your installations procedure on a fairly new ubuntu 7.10
    When starting my terminal I get following warning:
    “bash: LIB:/usr/local/lib: No such file or directory”
    Do you have an idea what the reason for this is?

    thx
    Michael
    https://alkautsarpens.wordpress.com/2008/02/05/install-ns231-for-ubuntu-gutsy-710/

    udinharun said :
    Hi Michael, I didn’t have problem when installation.
    may be you can check ‘the Set Environment Variable’
    notice this note :
    Add the following lines to the end of it. Remember replace
    “/home/networklab/ns/” by something like “/home/yourname/”

  3. zulkifli says:

    Assalamualaikum Mr. Udin,
    Nice website. Thanks for the knowledge shared in this site. .
    me and a few of my friends are also working on NS2 simulations for Wireless sensor network and wired network . Me my self interested in simulation and network simulators. However due to workload and other constraints the progress are very slow. This kind of website help me a lot. Thank U.
    Semoga cita2 saudara tercapai.

    udinharun reply :
    waalaikumsalam Mr. Zulkifli🙂
    thank you for your visiting. I am also newbie in NS-2 for Wireless Sensor Networks.
    Good Luck. Thanks.

  4. Very Usefull For me.
    I Translate this Post in persian And i Will write it in my persian Linux Blog

    Goodluck –
    https://alkautsarpens.wordpress.com/2008/02/05/install-ns231-for-ubuntu-gutsy-710/

    udinharun reply :

    OK, very good.
    Goodluck

  5. Harshana says:

    https://alkautsarpens.wordpress.com/2008/04/30/install-tinyos-2x-on-ubuntu/
    under section 8, the command “configure” does not work. It gives the error “bash: configure: command not found” . I tried running “sudo apt-get install build-essential” as well. But still does not work. Any help appreciated.

    Thanks…

    Udin Harun Said :
    It should be work.
    Read this document carefully – http://docs.tinyos.net/index.php/Getting_Started_with_TinyOS
    I think you need to move to ‘tinyos-2.x/tools/tinyos’ directory, after that do ‘configure’ command.
    If still not success, try several times🙂
    I try several times untill success🙂
    Good Luck

  6. asyraf says:

    hello there. i have problems on using imote2. was wondering if you could help me? i don’t know of any application that is able to show temperature readings. many thanks.

  7. Mubashsharul Islam Shafique says:

    Dear Brother, Assalamu alaikum wa rahmatullah. I was googling for some info on WSN and came to your site. I have an important presentation tomorrow, but am just moving around in your site!! Believe me, I think you are a good person and is gifted with good sense of Islam. I am just more than happy to see a young researcher with true love of Allah. May Allah help you to finish your PhD with some good publications and in shortest possible time. May Almighty give your family the right kind of sabr in your absense. From the core of my heart, I pray to Allah for your success.

    @shafique

    Reply from Udin Harun

    Waalaikumsalam Warohmatullohiwabarokatuh
    Dear brother Mubashsharul Islam Shafique, thank you very much. Jazakallah khoiron. May Allah SWT always bless you too🙂
    I got your name from Acadia University Canada http://cs.acadiau.ca/~shussain/wsn/team.html
    May Allah give you success for study on WSN. You have a good team for learning WSN.

  8. Irwan Purnama says:

    Pa Udin saya masukkan alamatnya ke blogroll saya ya:))

    UdinHarun Reply :
    Iya Pak Irwan, monggo🙂

  9. Farez says:

    Dear Brother Udin,
    I came across your blog while googling for NS2 installation problem I that have. Just want to wish you all the best and I know it’s difficult being away from family for such a long time.

    UdinHarun Replay :
    Dear Brother Megat Farez,
    Thank you for your wish. I wish all the best for you too 🙂

  10. Hary says:

    Pak UdinHarun adalah salah satu rekan kerja yang saya kagumi. Beliau mempunyai semangat dan daya juang yang sangat tinggi juga berprinsip kuat. Saya angkat topi buat beliau. Wassalam.

    UdinHarun Reply :
    Sampeyan nulis opo iki Pak Hary…hehehe
    Bos Hary memang TOP

  11. abusajid says:

    Assalamu’alikum wr wb

    salam kenal.
    semoga rahmat dan hidayah Allah selalu tercurah untuk kita semua.

    wassalam,

    Udin Harun Reply :

    Waaalaikumsalam wr.wb.
    Salam kenal juga Pak AbuSajid. Terimakasih.
    wassalam.

  12. Sister in islam says:

    Salamo Alaikom

    wman yatawakkal 3ala Allahi fahowa 7asboh

    Udin Harun Reply :
    Waalaikumsalam.
    Jazakumulloh khoiron katsiro

  13. younan says:

    Pak Harun, How are you today, I hope you always on good health and condition.
    Please intoduce myself, your room neighbourgh in the GL 2x.
    I wish you get all that you want and dream with your family.

    Peace from Batam
    younansetya.wordpress.com

    Udin Harun Reply :
    Alhamdulillah baik Kang Yunan. Hopefully, you and family always in good condition too🙂
    No need to intoduce, I know you well.
    What is my dream ?🙂

  14. sister in islam says:

    Salam alaikom,
    need for a help,
    how to get SNR with Telosb mote?

    I am very thankful.
    Jazaka Allaho khairan

    Udin Harun Replys :
    Waalaikumsalam.
    I am sorry sister. I don’t have experience to get SNR with telosb mote.
    may you get help from other resources.

    Jazakallah Khoiron.

  15. sister in islam says:

    So thankful
    wakhoiran jazak

  16. aziz says:

    assalam alaikum brother,
    i am very impressed by ur islamic style and appreciate the way u r looking at ISLAM.I am a masters student currently in my final sem and have 2 options to do my major project
    1.computer networks
    2.wireless communication
    plz let me know which is best suitable for me as i am a communictaion student and also suggest me a title .
    SHUKRAN JAZAKALLAH

    Udin Harun Reply :
    Waalaikumsalam brother Aziz.
    Thank you for visiting my web blog 🙂
    I am also still learning about Islam.
    About your final project, in my opinion, if you are a communication student, I think wireless communication topic is more suitable for you. But, I am afraid I cannot suggest you a title. I think you can search papers/journals (such as IEEE, ACM) related to communication to get suitable topic based on your background for your final project. You can get more idea after read several papers/journals.
    Jazakallah Khoiron.

  17. aziz says:

    thank you very much brother for your precious advice.
    may ALLAH grant u what u r looking for, in this life and the life here after.

  18. Sister in islam says:

    Salamo Alaikom,
    May be you are interested to this event:
    http://www.sensornets-school.org/

    Udin Harun :
    Waalaikumsalam.
    Thank you for your information

  19. almuhandis says:

    Salam kenal mas ^_^

    udin harun :
    salam kenal juga. welcome to Taiwan soon🙂

  20. Salem Aiyed says:

    Salam Alicom wa rahmat ALLAH
    my brother Udin I found your website and i need to solve my problem in M/M/1 I take this code from book site but some problems happen and i rewrite code as you done but i have at run file mm1.c
    error :unresolved ‘_lcgrand’ external referenced from C:BC5\Bin\MM1.OBG
    and the same
    error:unresolved ‘_main’ external referenced from C:BC5\Bin\MM1.OBG

    Udin Harun :
    Waalaikumsalam brother Salem.
    If you take the code from book site or rewrite it, it should be no problem.
    I have experienced similar problem before.
    If you use microsoft visual C++ or other tools, you need to make sure that you are building a Windows GUI application, and not console application in the first step you build project.
    reference answer : http://www.allegro.cc/manual/miscellaneous/frequently-asked-questions-(faq)/windows-problems/d4cf0624ded68003a11b4892102bbc66

  21. Salem Aiyed says:

    Salam alicom

    What kind your builder used in run this code

    Udin Harun :
    Waalaikumsalam. I use microsoft visual C++ 6.0.

  22. Salem Aiyed says:

    Salam Alicom

    My brother i have problem with the file Lcgrand

    at
    return (zi >> 7 | 1) / 16777216.0

    I student and i don’t have experence in programming c

    Tell me what i do about that and i need your email to know you and i have special subject

    Salem

  23. ALe says:

    Hello, i was looking at your site:
    https://alkautsarpens.wordpress.com/2008/04/17/mm1-queue-simulation/

    and i couldn’t make it work, did it work for you?

    thanks!

    Udin Harun Reply :
    yes, it works.

  24. Ahmed says:

    SalemAlikom,
    بسم الله الرحمن الرحيم
    و قل ربي زدني علما….
    I am a newer about NS2. my interesting is to implement the P2P and star topology withe the MAC&& PHY 802.15.4 in non beacon enabled mode, I beginer for the tcl script wpan_demo2 for star and i change the $ns_ at 0.0″$node_(0) sscs startCTPANCoord 0 O O
    $ns_ at 1.5″$node_(1) sscs startCTDevice 0 1 0 ” ;#;# startDevice is it true?
    to study the metrique performance for the energy, pakets delivery ratio traffic load(wat means?) and delay+troughput but I found some difficulties for the comprehenssion for the tcl script for exemple:
    1)Mac/802_15_4 wpanNam PlaybackRate 3ms
    2)puts [format “Acknowledgement for data : %s” [Mac/802_15_4 wpanCmd ack4data]]
    3)$ns_ at $appTime1 “Mac/802_15_4 wpanNam PlaybackRate 0.50ms”
    4)$ns_ at [expr $appTime1 + 0.5] “Mac/802_15_4 wpanNam PlaybackRate 1.5ms”
    $val(traffic)traffic 1 0 0.2 $appTime1
    $val(traffic)traffic 2 0 0.2 $appTime2
    $val(traffic)traffic 3 0 0.1 $appTime3
    can you sir explain me, to help me to send me the tclscript for nonbeacon star or p2p and AWK.
    Thank you sir
    Maa salama
    Ahmed

    Udin Harun Reply :
    Waalaikumsalam wr.wb.

    I do not have TCL script for non-beacon. I research on Cluster-tree with beacon.
    However, the tutorial said you can change the value of SO and BO equal to 15 for non-beacon mode.

    1)Mac/802_15_4 wpanNam PlaybackRate 3ms
    It is just for NAM simulation rate. you can change ‘3ms’ to modify the speed of NAM simulation.
    2). puts [format “Acknowledgement for data : %s” [Mac/802_15_4 wpanCmd ack4data]]
    I think it is used for ‘your simulation use ACK or not’
    3). $ns_ at $appTime1 “Mac/802_15_4 wpanNam PlaybackRate 0.50ms”
    Like number 1). at time1, the speed of NAM is 0.5ms
    4). $ns_ at [expr $appTime1 + 0.5] “Mac/802_15_4 wpanNam PlaybackRate 1.5ms”
    $val(traffic)traffic 1 0 0.2 $appTime1
    $val(traffic)traffic 2 0 0.2 $appTime2
    $val(traffic)traffic 3 0 0.1 $appTime3

    $val(traffic)traffic 1 0 0.2 $appTime1 ==> ‘1’ is the source node, ‘0’ is the destination node, ‘0.2’ is interarrival time (packet will be generated every 0.2 second). For detail, you can read NS2 manual.

    For example of AWK and metric performance, you can study first from here : http://www.ifn.et.tu-dresden.de/~marandin/ZigBee/scripts.html

    Thanks,

    wassalam.

    Udin Harun

  25. Fazlullah Khan says:

    AoA
    Respected Sir!
    Overall the website is very good, but what happen in my case i searching for leach and pegasis code in NS2 and till yet have not find them. Also not on you website, so please if you have or any one else have that swen it to me on fazlullah.mcs@gmail.com or frn_islamian@yahoo.com.
    Thanks in advance
    Regards
    Fazlullah Khan Islamian

    Udin Harun reply :
    You can find about LEACH for NS2 from this article : http://www-mtl.mit.edu/researchgroups/icsystems/uamps/research/leach/leach_doc.pdf
    , http://www-mtl.mit.edu/researchgroups/icsystems/uamps/research/leach/leach_code.shtml ,.
    and there is a paper discuss about LEACH and PEGASIS “Energy-Efficiency Analysis of Cluster-Based Routing Protocols in Wireless Sensor Networks” by Guangyan Huang, Xiaowei Li.

  26. slamet says:

    assalamu’alaikum wr wb

    Punten kang Udin ikut coret-coret. Biar isinya ndak seputar source code saja … heheheh. matur nuwun.

    salam,
    slamet

    Udin Harun :
    Waalaikumsalam wr.wb. Kang Slamet, woke monggo dicoreti🙂

  27. farah says:

    assalamualaikum wr wb

    maaf andai saya mengganggu..
    saya menghadapi sedikit masalah mengenai tcl code untuk disimulasi menggunakan ns2.
    saya sedang membuat kajian mengenai meningkat performance untuk mobile sensor network bagi ieee 802.15.4. masalah yang saya hadapi, apabila saya run contoh code yang terdapat dari http://www.isi.edu. banyak file yg tidak dapat dibuka.saya harap tuan dapat membantu sy..terima kasih.

    Udin Harun :
    Waalaikumsalam wr.wb.
    untuk tcl code IEEE 802.15.4, sister Farah bisa belajar source code ns2 dari sini :
    http://ees2cy.engr.ccny.cuny.edu/zheng/pub/
    dan
    http://www.ee.washington.edu/research/funlab/802_15_4/

  28. syuhada says:

    assalamualaikum

    Maaf sekiranya saya mengganggu. Saya sedang membuat kajian berkenaan IEEE 802.15.4 WPAN, iaitu performance on energy consumption dan delay apabila vary SO and BO.Saya sudah dapat reference code utk vary tersebut tapi mengalami masalah untuk execute graf drpdnya.Saya sudah cuba byk kali tapi tak boleh juga.
    terima kasih

    • izzul hadziq says:

      Udin Harun :
      Waalaikumsalam wr.wb.
      untuk mendapatkan energy consumption dan delay, brother syuhada bisa menghitungnya dari output trace file (file.tr) menggunakan file AWK. Silahkan dipelajari file awk dari link dibawah ini, selanjutnya bisa dimodifikasi sesuai dengan kebutuhan risetnya🙂
      http://www.ifn.et.tu-dresden.de/~marandin/ZigBee/scripts.html
      http://www.ifn.et.tu-dresden.de/~marandin/ZigBee/avg_throughput.awk

      • syuhada says:

        salam,

        En. Izzul graf tu mmg hanya boleh execute dari fail AWK itu sahaja ke?sebab dari contoh 802.11 yang ada bahagian execute graf, ia boleh execute dari modified tcl code aja. Saya udah try combine wpan_demo2.tcl(802.15.4) bersama certain code xgraph dari(802.11). Saya mau tau adakah boleh caranya begitu kerana saya tidak dapat juga execute graf dan vary SO BO tersebut.Terima kasih.

        udin harun reply :

        Saya juga pernah mencoba memakai Xgraph, tetapi tidak jadi saya gunakan karena hasilnya tidak sesuai dengan paramater yang saya inginkan. Saya lebih suka menggunakan file AWK untuk menganalisa output trace file (file.tr). Setahu saya, modifikasi file tcl dan me-running file tsb akan menghasilkan output trace file (file.tr). Dari trace file tsb kita bisa menganalisa energy dan delay.
        Jika brother syuhada menggunakan Xgraph 802.11 untuk file tcl 802.15.4, saya pikir itu tidak tepat, karena format trace file 802.15.4 berbeda dengan format trace file 802.11.

  29. syuhada says:

    assalamualaikum,

    Saya ingin bertanya lagi apakah maksud bagi
    1) “$node_(0) NodeLabelPan Coor”
    2) “$node_(0) sscs startPANCoord 1”
    3) “$node_(1) sscs startPANCoord 1 0”
    4) “$node_(2) sscs startPANCoord 1 3 3”
    5) “$node_(3) sscs startPANCoord 1 6 6”
    Terima kasih.

    • izzul hadziq says:

      Waalaikumsalam wr.wb.
      SSCS interface :
      $node sscs startPANCoord

      This command can be used to start a new PAN, and the
      corresponding node will serve as the PAN coordinator.
      – If some parameters are omitted, the default values shown above
      will be assumed.
      Contoh :
      “$node_(2) sscs startPANCoord 1 3 3″
      maksudnya node_(2) berfungsi sebagai PAN Coordinator, 1 artinya PAN coordinator mengirim beacon, nilai BO = 3, nilai SO = 3.

  30. syuhada says:

    Salam,

    Saya tidak faham sangat pki AWK itu.Untuk pengetahuan En. udin saya install ns2 pki ubuntu 9.10 kt pc saya mengikut dlm blog En udin tsb tapi saya mengalami mslh run project yg mmgunakan c++ command(NS2 Simulator for IEEE 802.15.4 by Jianliang Zheng,SAIT-CUNY Joint Lab).Mula2 ia dispaly “g++ nt found pastu saya cuba wat sudo clean,sudo update dan sudo apt-get install build-essential(manual dlm internet)tapi apabila saya cuba run ia display “no such file into directory,no input file”.Saya save programnya dlm filename.cpp. Betul ke caranya itu?

  31. syuhada says:

    Assalamualaikum,

    Terlebih dahulu saya ingin berterima kasih pada En.Izzul dan En. Udin Harun kerana sudi menjawb pertanyaan2 saya.Sekarang saya udah semakin faham berkenaan command AWK tsb after refer website ni “http://www.ifn.et.tu-dresden.de/~marandin/ZigBee/scripts.html” tapi saya ada sedikit masalah didalam step analyze the program.Bolehkah terangkan bagaimana saya boleh execute macam yg diajar dalam website di atas.Terima kasih.

  32. syuhada says:

    Assalamualaikum,

    Saya try to execute file analyze tsb but ada error.Apa yg perlu saya baiki dalam code tu supaya error2 dibawah ok.Saya kesuntukan masa coz need to submit dis report by the end of week.Saya berharap bangat En. dapat menolong saya untuk execute graph energy tsb based on vary SO BO ini.Terima kasih.
    analyze.cpp:55: error: ‘EXIT_FAILURE’ was not declared in this scope
    analyze.cpp:55: error: ‘exit’ was not declared in this scope
    analyze.cpp:61: error: ‘EXIT_FAILURE’ was not declared in this scope
    analyze.cpp:61: error: ‘exit’ was not declared in this scope
    analyze.cpp:67: error: ‘EXIT_FAILURE’ was not declared in this scope
    analyze.cpp:67: error: ‘exit’ was not declared in this scope
    analyze.cpp:73: error: ‘EXIT_FAILURE’ was not declared in this scope
    analyze.cpp:73: error: ‘exit’ was not declared in this scope
    analyze.cpp: In function ‘int main(int, char**)’:
    analyze.cpp:196: error: ‘EXIT_FAILURE’ was not declared in this scope
    analyze.cpp:196: error: ‘exit’ was not declared in this scope
    analyze.cpp:205: error: ‘strcmp’ was not declared in this scope
    analyze.cpp:221: error: ‘EXIT_FAILURE’ was not declared in this scope
    analyze.cpp:221: error: ‘exit’ was not declared in this scope
    analyze.cpp:226: error: ‘EXIT_FAILURE’ was not declared in this scope
    analyze.cpp:226: error: ‘exit’ was not declared in this scope
    analyze.cpp:232: error: ‘atoi’ was not declared in this scope
    analyze.cpp:239: error: ‘EXIT_FAILURE’ was not declared in this scope
    analyze.cpp:239: error: ‘exit’ was not declared in this scope
    analyze.cpp:247: error: ‘system’ was not declared in this scope

  33. Nurul says:

    salam,

    saya sedang membuat kajian untuk GTS allocation.bagaimanakah cara untuk saya vary the GTS into 8<n<16 slot.. apakah code/command yg perlu saya taip NS2.

    $node_(0) sscs setSuperframeSpecs 3 3
    $node_(0) sscs GTSAllocate 16 0 4
    $node_(0) sscs GTSDeallocate 12
    $node_(0) sscs resetGTSTable

    Mac/802_15_4 wpanCmd GTSAllocateUponData [ON]
    Mac/802_15_4 wpanCmd GTSAllocateUponRouteReply [ON]
    Mac/802_15_4 wpanCmd GTSLength 16

    apakah sebenarnya yg dmaksudkan dengan destination,adakah PANcoor?

    plz help me,actually what is the correct code? tq

    Udin Harun :
    Waalaikumsalam wr.wb.
    Saya kirimkan standard IEEE 802.15.4, di bab 7 MAC sublayer specification ada penjelasan tentang maksud destination dan PAN Coordinator.

  34. Asma says:

    Salem,
    I want to add mac802_15_4 to ns2.27. how can i do that?

  35. ibrahim Mohammed says:

    السلام عليكم ورحمه الله وبركاته- بسم الله
    i am ibrahim from libya, and im working on my final project using NS2 as my tool, i would love to ask you about a tutorial or a book that talk about making scenarios and generation UDP over adhoc because most of the tutorial ignore this issue i know it’s not a big deal put in my project i should start from here

    by the way i was going to write this article in arabic, but anyway i really like your site, i wanna make one for me too, thats all for good
    بارك الله وفيك وفي ذريتك

    سلام

    Udin Harun Reply :
    Waalaikumsalam wr.wb.
    Hi Ibrahim, I also still learn NS2. I research on MAC IEEE 802.15.4 cluster-tree topology using poisson traffic. as far as I know, most of papers/journals research using poisson traffic, star topology, beacon enabled mode. Rare of them using UDP and ad hoc non-beacon mode.
    May Allah SWT make it easy for your research.
    wassalam.

  36. Dedy Kristiawan says:

    Ass.Wr.Wb
    Salam pak udin…
    pak saya mau tanya nich ..saya sukses install NS2 di debian lenny, trus langkah selanjutnya kok macet pas ganti path..mohon pecerahan pak…

    ************
    Ns-allinone package has been installed successfully.
    Here are the installation places:
    tcl8.4.14: /home/dedy/ns-allinone-2.31/{bin,include,lib}
    tk8.4.14: /home/dedy/ns-allinone-2.31/{bin,include,lib}
    otcl: /home/dedy/ns-allinone-2.31/otcl-1.13
    tclcl: /home/dedy/ns-allinone-2.31/tclcl-1.19
    ns: /home/dedy/ns-allinone-2.31/ns-2.31/ns
    nam: /home/dedy/ns-allinone-2.31/nam-1.13/nam
    xgraph: /home/dedy/ns-allinone-2.31/xgraph-12.1
    gt-itm: /home/dedy/ns-allinone-2.31/itm, edriver, sgb2alt, sgb2ns, sgb2comns, sgb2hierns

    ———————————————————————————-

    Please put /home/dedy/ns-allinone-2.31/bin:/home/dedy/ns-allinone-2.31/tcl8.4.14/unix:/home/dedy/ns-allinone
    -2.31/tk8.4.14/unix
    into your PATH environment; so that you’ll be able to run itm/tclsh/wish/xgraph.

    IMPORTANT NOTICES:

    (1) You MUST put /home/dedy/ns-allinone-2.31/otcl-1.13, /home/dedy/ns-allinone-2.31/lib,
    into your LD_LIBRARY_PATH environment variable.
    If it complains about X libraries, add path to your X libraries
    into LD_LIBRARY_PATH.
    If you are using csh, you can set it like:
    setenv LD_LIBRARY_PATH
    If you are using sh, you can set it like:
    export LD_LIBRARY_PATH=

    (2) You MUST put /home/dedy/ns-allinone-2.31/tcl8.4.14/library into your TCL_LIBRARY environmental
    variable. Otherwise ns/nam will complain during startup.

    After these steps, you can now run the ns validation suite with
    cd ns-2.31; ./validate

    For trouble shooting, please first read ns problems page
    http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive
    for related posts.

    tesis:/home/dedy/ns-allinone-2.31#
    ************ ini sukses install ya pak ******
    *****************
    # LD_LIBRARY_PATH
    OTCL_LIB=/home/tesis/ns/ns-allinone-2.31/otcl-1.13
    NS2_LIB=/home/tesis/ns/ns-allinone-2.31/lib
    X11_LIB=/usr/X11R6/lib
    USR_LOCAL_LIB=/usr/local/lib
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_
    LIB:$USR_LOCAL_LIB
    # TCL_LIBRARY
    TCL_LIB=/home/tesis/ns/ns-allinone-2.31/tcl8.4.14/library
    USR_LIB=/usr/lib
    export TCL_LIBRARY=$TCL_LIB:$USR_LIB
    # PATH
    XGRAPH=/home/tesis/ns/ns-allinone-2.31/bin:/home/tesis/ns/
    ns-allinone-2.31/tcl8.4.14/unix:/home/tesis/ns/ns-allinone-2.31/tk8.4.14/unix
    NS=/home/tesis/ns/ns-allinone-2.31/ns-2.31/
    NAM=/home/tesis/ns/ns-allinone-2.31/nam-1.13/
    PATH=$PATH:$XGRAPH:$NS:$NAM
    ************pas ini diganti*************

    terus ini $ source ~/.bashrc
    nah ini ndak jalan ada yang salah pak…???
    Matur nuwun…

    Wassalam ( dedy UHT surabaya )

  37. djody says:

    assmlkm pak udin harun….saya mau bertanya,, apa maksud sink pada WSN, apakah sink merupakan sebuah PAN coordinator?

    Udin Harun:
    waalaikumsalam.
    sink itu destination node. Node akhir yang menerima paket. tidak mesti harus PAN coordinator. Tetapi secara umum PAN coordinator disetting menjadi sink node.

  38. Nia says:

    salam pak udin harun,

    saya sedang membuat penelitian tentang multi sink tree untuk zigbee, beberapa pertanyaan dari saya,
    – apa saja tugas sink?
    – bagaimana mengeset node di ns untuk menjadi sink tanpa harus menjadi PAN coordinator?
    terimakasih

    udin harun reply::
    – sink itu istilah node tujuan paket yang dikirim. biasanya disebut destination node atau sink node.
    – sink node tidak mesti harus menjadi coordinator. setting device node juga bisa jadi sink.
    tinggal setting disininya saja : $val(traffic)traffic 4 2 1 $appTime1. misalkan paket dikriim dari device node-4 ke device sink node-2 dengan interarrival time 1.

    • Shazia Syed says:

      AssalamuAlaikum
      Sir plz help me i am not able to get any output from the code presented on mm1smlb.c that is mm1 queue using simlib.i have the exact code. The following error follows “Floating point error domain.Abnormal program termination.”

  39. my_juni04 says:

    Assalammu’alaykum P.Udin,
    apakah di NS2 memungkinkan kita untuk menggabungkan beberapa network dalam satu file script simulasi (misal 802.11-infrastruktur dg bluetooth dan WSN.
    Terimakasih atas ‘pencerahannya’

    Dari Udin Harun:

    Waalaikumsalam wr.wb.
    Mestinya hal itu bisa dilakukan di NS2 asalkan mau menguprek script NS2🙂 .
    Beberapa riset paper membahas coexistent antara 802.11 dan 802.15.4.
    Tetapi saya tidak tahu apakah mereka menggunakan NS2 untuk simulasi atau menggunakan jenis simulator yg lain.

  40. Hussain says:

    Brother Udin Assalammu alaykum
    I beleive you have done work using NS2. I am a beginner I am trying to plot throughput agains time for a wireless network using cbr traffic. Could you please tell me how to extract the throughput and time using awk file from .tr file. Jazaka allahu khair. By the way I am from Falastine (Palestine). Do you use skype? if so could you email me your skype name.

    Many thanks brother

    Br. Hussain

    Udin Harun Reply :
    Waalaikumsalam brother Hussain. I plot throughput vs. traffic load using poisson traffic. I analyze them using awk from .tr file. You can study how to extract the throughput from this link http://www.ifn.et.tu-dresden.de/~marandin/ZigBee/scripts.html, they provide the example of awk file for throughput, then you can modify it according your requirements.
    Ok, I will sent my email and skype to your email.
    Wassalam
    Udin Harun

  41. djody says:

    assmlkm pak udin harun,

    melakukan simulasi zigbee 802.15.4, star topologi saya mau bertanya kenapa jika kita melakukan vary bo so
    mengapa saat bo=s0 yang bernilai tidak nol pada saat kanal bo=so= 1 hingga 9 ,, sedang bo=so=10 hingga 14 bernilai nol,,saya menggunakan trafik cbr

    sebenarnya apa yang telah terjadi didalamnya..

    terima kasih pak udin…wassalam

    • izzul hadziq says:

      Waalaikumsalam.
      Saya biasanya memakai traffic poisson.
      Saya tidak tahu pasti ada apa, Coba dicek simulation time-nya, mungkin perlu ditambah lagi waktu simulasinya untuk so=bo yg besar.
      Karena semakin besar nilai BO, jarak waktu pengiriman paket beacon lebih lama, waktu yg dibutuhkan untuk semua device node semakin lama untuk sinkronisasi dengan coordinator node.
      selain itu dicek apakah device node sudah sinkronisasi dg coordinator atau belum.

  42. afif says:

    hello

    I’m student . I’m wondering how can I get the same results of code for “A comprehensive performance study of IEEE 802.15.4” paper. because I have that code for all scenarios which mentioned in this paper I have tried to get it. but I have failed. so, if you have the Excel file of results please send it to me.

    regards

  43. djody says:

    maaf kurang lengkap pak udin harun.maksud saya adalah nilai througput

  44. عبدالله says:

    السلام عليكم ورحمة الله وبركاتة
    I’m a newer about NS2. I couldn’t understand the parameters that I got from trace file. wish are:
    s 30.154977941 _59_ MAC — 98 exp 97 [0 1f 3b 800] ——- [71:0 74:0 29 31]
    please explain to me every parameter what is meaning?
    Regards

  45. عبدالله says:

    السلام عليكم

    thank you for reply. I’m not good about the programming. I need to calculate the packet delivery ratio VS traffic load (pkt/s)and also Delay VS traffic load.
    BEGIN {

    count = 0;

    }

    {

    action = $1;

    time = $2;

    node_id = $3;

    layer = $4;

    flags = $5;

    seqno = $6;

    type = $7;

    size = $8;

    a = $9;

    b = $10;

    c = $11;

    d = $12;

    energy = $14;

    for(seqno = 0; seqno < 1; seqno++) {

    if((node_id = "_0_" && action == "s")) {

    count++;

    }

    }

    }

    END {
    printf("%d\n",count);
    }
    this code for AWK .I have attempted to modify this code but I have just failed. can you help me how can I modify it?.
    and the following is part of the parameters from trace file:
    v 20.5 eval {set sim_annotation {(at 20.5) cbr traffic from node 67 to node 45}}
    s 20.502585000 _67_ MAC — 0 AODV 55 [0 ffffffff 43 800] ——- [67:255 -1:255 30 0] [0x2 1 1 [45 0] [67 4]] (REQUEST)
    r 20.505177024 _95_ MAC — 0 AODV 48 [0 ffffffff 43 800] ——- [67:255 -1:255 30 0] [0x2 1 1 [45 0] [67 4]] (REQUEST)
    r 20.505177024 _87_ MAC — 0 AODV 48 [0 ffffffff 43 800] ——- [67:255 -1:255 30 0] [0x2 1 1 [45 0] [67 4]] (REQUEST)
    r 20.505177024 _47_ MAC — 0 AODV 48 [0 ffffffff 43 800] ——- [67:255 -1:255 30 0] [0x2 1 1 [45 0] [67 4]] (REQUEST)
    r 20.505177024 _55_ MAC — 0 AODV 48 [0 ffffffff 43 800] ——- [67:255 -1:255 30 0] [0x2 1 1 [45 0] [67 4]] (REQUEST)
    s 20.508886390 _95_ MAC — 0 AODV 55 [0 ffffffff 5f 800] ——- [95:255 -1:255 29 0] [0x2 2 1 [45 0] [67 4]] (REQUEST)
    s 20.510016141 _25_ MAC — 0 BCN 12 [0 ffffffff 19 0]
    D 20.510592165 _52_ MAC COO 0 BCN 12 [0 ffffffff 19 0]
    D 20.510592165 _13_ MAC COO 0 BCN 12 [0 ffffffff 19 0]
    r 20.510592165 _41_ MAC — 0 BCN 12 [0 ffffffff 19 0]
    D 20.510592165 _53_ MAC COO 0 BCN 12 [0 ffffffff 19 0]
    r 20.511478413 _67_ MAC — 0 AODV 48 [0 ffffffff 5f 800] ——- [95:255 -1:255 29 0] [0x2 2 1 [45 0] [67 4]] (REQUEST)
    r 20.511478413 _79_ MAC — 0 AODV 48 [0 ffffffff 5f 800] ——- [95:255 -1:255 29 0] [0x2 2 1 [45 0] [67 4]] (REQUEST)
    s 20.511579190 _47_ MAC — 0 AODV 55 [0 ffffffff 2f 800] ——-
    thanks in advance

  46. Farag says:

    Assalamu alaikum wa rahmatullah Brother in Love of Allah, . I was googling for some info on ZigBee and came to your site. It is a nice muslim website such this website and it is gifted with good sense of Islam. I’m sure you are a good muslim person . I am personally admire you and happy to see a muslim researcher whose truly works hard and just do it for love of Allah. May Allah help you to give you and your family his mercy and success in your life.

    udin harun reply:
    Waalaikumsalam warohmatulloh Brother Faraq.
    Thank you very much. May Allah also give you and your family success in your life.
    Thank you.

  47. dwi says:

    assalamualaikum bapak,, saya sangat tertari akan wilayah sensor ini..saya ingin bertanya… apakah pengaruh beacon order dan superframe order pada jaringan 802.15.4 untuk topologi cluster tree

    apakah untuk cluster tree berbeda dengan single hop star,, dan dimana letak perbedaannya..?

    wassalam

    Udin Harun reply :
    Waalaikumsalam wr.wb.
    Beacon Order (BO) digunakan untuk menentukan Beacon Interval (BI) dan Superframe Order (SO) digunakan untuk menentukan ‘Active Period’ atau Contention Access Period (CAP) pada suatu superframe. perubahan nilai BO dan SO bisa berpengaruh pada hasil throughput, latency/delay time, energy efficiency dan jumlah paket yg dapat ditransmit oleh device node.
    BO dan SO berpengaruh sama baik di cluster tree dan single hop star. PAN coordinator mengirim beacon ke Coordinator node, Coordinator node mengirim beacon ke device node.

  48. kari septiana dewi says:

    asalamualaikum…
    pa saya sedang mgerjakan tugas akhir..dengan judul “analisis penggunaan protokol routing AODV pada WSN”
    saya baca dari literatur tentang Zigbee untuk routing zigbee ada 2 yautu HTR dan AODV…nah saya gunakan AODV..tapi masalahnya :

    1.saya harus buat topologi mesh nya untuk node – node yang berfungsi jadi router…gmana caranya agar suatu node dapat memforward paket yang datang, k node tujuan.misal node 1 kirim ke 2 tapi jangkauan 1 tidak bisa ke dua jd harus multihop.
    2.bagaimana membuat aliran data jadi multihop??
    3.tolong beri referensi..kira2 saya bisa dpet tcl script untuk contoh mesh topologi wireless

    teima kasih pak..mhon bantuannya

    Udin Harun reply :
    Mohon maaf. Riset saya saat ini lebih banyak fokus belajar di area MAC layer. Saya belum mendalami tentang routing di bagian network layer. Jadi maaf tidak bisa membantu solusi teknis tentang AODV.

  49. Nurfiana says:

    Assalamu’alaikum wr.wb.
    Pak, saya sedang melakukan penelitian mengenai Manet heterogen.
    Bagaimana cara menset pada NS2, agar setiap node memiliki transmission range yang berbeda? misal jumlah node = 10 node; 4 node memiliki jangkauan transmisi 100m, 3 node 150m dan 3 node 200m. Mohon bantuannya.

    Terima kasih.

  50. foad salem says:

    alslam alukum
    iam phd studen from iraq i need your help in my research
    my research in wireless sensor network
    my probelm in using ns-2
    can you help me

  51. foad salem says:

    aslam alykum
    iam hiegher edution student my research in wireless sensor network
    my probelm in working ns-2

  52. zedy telkom pens 08 says:

    Assalamualaikum pak… gmn pak teap istiqomah 2,5jam tiap hari?

    Reply :
    Waalaikumsalam. Apanya yang 2,5 jam tiap hari ?

  53. deeptimayee padhy says:

    sir,
    May i know how to create a cluster in ns2.34 for WSN
    as i m new to this area..

    kindly mail me
    deeptipadhy@gmail.com

  54. Liz says:

    hi sir,
    My area is wireless sensor networks in home automation.im trying to implement a greedy algorithm heuristic routing protocol (GAHR) and i have to compare it with aodv.There is hardly any material i can find…kindy help…should i do it in ns2 or matlab ? Is there any code available ?
    Please mail me..

  55. عبدالله says:

    السلام عليكم ورحمة الله
    what does mean beaconing coordinator ?
    regards

  56. عبدالله says:

    السلام عليكم ورحمة الله
    I neend to change the percentage of coordinators beaconing in my simulation how can I do it as (0%, 25%,50%,75%,100%).
    Regads
    عبدالله

  57. عبدالله says:

    السلام عليكم ورحمة الله
    how can change BO ? Is there any related between BO and So?
    Regards

    • izzul hadziq says:

      Waalaikumsalam.
      What’s kind simulator do you use ? You can change the value of BO and SO in the source code. the value of SO <= BO. You could read standard IEEE 802.15.4 first for clearly.

  58. عبدالله says:

    السلام عليكم
    I have simulated multi-hope scenario to study association efficiency Vs beaconing coordinators ratio.
    Regards

  59. عبدالله says:

    السلام عليكم ورحمة الله وبركاتة
    I need to ask you equation about the number that located after this command :
    $node_(0) sscs startCTPANCoord
    $node_(0) sscs startCTPANCoord 0
    $node_(0) sscs startCTPANCoord 1
    $node_(0) sscs startCTPANCoord 1 2 2
    pleas explain it to me
    Regards

  60. عبدالله says:

    السلام عليكم
    I need to create AWK file to calculate attempts per successful association vs Beacon Order. but I have confused with condition can help me please
    Regards

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: