LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 07-31-2012, 06:19 AM   #1
Kajal_Shukla
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
LEACH Protocol integration in NS-2.34


Dear All,
I am currently doing my research in Energy Efficient Routing in WSNs. I want to integrate LEACH protocol in NS-2.34 for simulation purpose.
I want to perform simulation for all the versions of LEACH. But, i can't get the patches for all those.
If any one has ides about it, please do me needful.
Thanks.
With Best,
Kajal Shukla
 
Old 07-31-2012, 02:52 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Welcome to LQ.

There is only one version of LEACH, AFAIK.
The code was ported from ns-2.1b5 to ns-2.27 some 7 years ago.
And by LQ member @emtarik05 to ns-2.34 ( 2 years ago.)
The emtarik05 code was ordered into an easy to use package by @MayTamer
http://www.linuxquestions.org/questi...34-a-870368/#5
> post # 5.

Supplementary info + files, posts # 9, # 11 here ..
http://www.linuxquestions.org/questi...dora13-907076/

All LQ LEACH information : LQ Search , Tag = leach

.

Last edited by knudfl; 07-31-2012 at 02:57 PM.
 
1 members found this post helpful.
Old 09-08-2012, 06:47 AM   #3
Kajal_Shukla
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hello All,
Thanks to all of you to help me.
But again I have new query.
I can't find file mit.tar.gz.
If any one have it, please reply me.
With Best,
Thanks
Kajal

Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

There is only one version of LEACH, AFAIK.
The code was ported from ns-2.1b5 to ns-2.27 some 7 years ago.
And by LQ member @emtarik05 to ns-2.34 ( 2 years ago.)
The emtarik05 code was ordered into an easy to use package by @MayTamer
http://www.linuxquestions.org/questi...34-a-870368/#5
> post # 5.

Supplementary info + files, posts # 9, # 11 here ..
http://www.linuxquestions.org/questi...dora13-907076/

All LQ LEACH information : LQ Search , Tag = leach

.
 
Old 09-08-2012, 07:15 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
# 3

mit.tar.gz is for ns-2.27 only.

Links, post # 4 here ..
http://www.linuxquestions.org/questi...each-862835/#4
 
1 members found this post helpful.
Old 12-22-2012, 08:17 PM   #5
hidoussi
LQ Newbie
 
Registered: May 2012
Location: ALGERIA
Posts: 14

Rep: Reputation: Disabled
hi knudfl
the protocol leach has 100 nodes [0 ==> 99]
i want to add two nodes in leach

can you help me ?

Last edited by hidoussi; 12-22-2012 at 08:18 PM.
 
Old 06-21-2013, 07:27 AM   #6
nitin.vtu@gmail.com
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Rep: Reputation: Disabled
LEACH installation error

hello ,
i followed all steps given for installation of leach protocol in ns-2.34 in fedora 8,
but i'm getting error when i give "make" command
error is : make: g++-4.3: command not found
make: *** [tools/random.o] error 127

please help me to clear this error
 
  


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
SPIN and LEACH protocol in NS-2 shanky Linux - General 17 05-26-2012 01:03 PM
improve leach protocol khoshkalam Linux - Networking 1 05-04-2012 07:58 AM
Leach protocol anitha.r.u Linux - Newbie 16 04-02-2012 05:37 AM
energy in leach protocol !! shanky Linux - Software 1 03-19-2012 07:30 AM
protocol leach ezzati Linux - Newbie 5 05-03-2011 09:42 PM


All times are GMT -5. The time now is 09:40 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration