LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2014, 10:48 AM   #1
wellytg
LQ Newbie
 
Registered: Dec 2014
Location: India
Distribution: Ubuntu 14.04
Posts: 6

Rep: Reputation: Disabled
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!
 
Old 12-01-2014, 12:44 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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.

-

Last edited by knudfl; 12-01-2014 at 12:46 PM.
 
1 members found this post helpful.
Old 12-02-2014, 01:58 AM   #3
wellytg
LQ Newbie
 
Registered: Dec 2014
Location: India
Distribution: Ubuntu 14.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-02-2014, 05:42 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
← #3 .

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

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


Reply

Tags
leach, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Leach implementation on ns-2.35 vijayukani Linux - Wireless Networking 3 01-22-2015 05:44 AM
leach.out total energy increase leach ns2.34 linuxUser123linux Linux - Software 1 07-13-2013 05:54 AM
for Leach implementation on ns2.35 sitender Ubuntu 1 03-19-2013 11:39 AM


All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration