LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LEACH and LEACH-C implementation in ns-2.35 on ubuntu 14.04 (https://www.linuxquestions.org/questions/linux-newbie-8/leach-and-leach-c-implementation-in-ns-2-35-on-ubuntu-14-04-a-4175526974/)

wellytg 12-01-2014 09:48 AM

LEACH and LEACH-C implementation in ns-2.35 on ubuntu 14.04
 
Hello All

I want to work with comparison of LEACH protocols in ns2, I have managed to install ns-2.35 in 14.04 Ubuntu.

Can anyone help me with how I can go about getting LEACH and LEACH-C protocol running for comparison.

And lastly how can I write my own version of LEACH

Regards!

knudfl 12-01-2014 11:44 AM

Welcome to LQ.

The leach + leach_c code doesn't work with ns-2.35 :
At least not with the latest code update (by @exidus).
I.e. leach+pegasis-ns234-files-2.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Leach info
. http://www.linuxquestions.org/questions/tags/pegasis/
. http://www.linuxquestions.org/questions/tags/leach/

The good news : You can have as many versions of ns2 as you want,
installed at the same time. But do never add any *PATH text to .bashrc.


Writing a new ns2 protocol : You will need some experience with ns2.
And : The code is c++, tcl, otcl.

-

wellytg 12-02-2014 12:58 AM

Thanks @knudfl for the heads ups. I am still quite new to Linux and NS2 have been searching through posts and
have found that quite a number recommend using MINT 9 os distro with ns2.34

will changing OS have any major effects from 14.04 ubuntu

Also do you have any heads up for tcl and otcl tutorials

regards

knudfl 12-02-2014 04:42 AM

← #3 .

Tcl tutorials https://www.google.com/webhp?hl=all&...=tcl+tutorials

Otcl tutorials https://www.google.com/webhp?hl=all&...otcl+tutorials


All times are GMT -5. The time now is 09:57 AM.