LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-19-2014, 07:42 AM   #1
nadine01
Member
 
Registered: Oct 2014
Posts: 62

Rep: Reputation: Disabled
leach-c patch


Hi,

I need leach-c patch for ns2.35
 
Old 11-19-2014, 04:45 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Have you tried searching the forums? A quick 2-second search brought up many forums/threads, here is one of many: http://www.linuxquestions.org/questi...2-35-a-923596/

Have a look at the bottom of this page for 'Similar Threads'; you will probably have more luck searching around for exactly what you want, versus a guy like me guessing what you need, for what system, etc. Try searching harder next time! And also a rule of thumb, you should post what distro/system/etc you are using, along with a more detailed post.

Cheers!
 
Old 11-19-2014, 05:58 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,737

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
Quote:
I need leach-c patch for ns2.35
There is an excellent "patch package" for ns-2.34 :
leach+pegasis-ns234-files-2.tar.gz → Files created by @exidus.

Example, #2 http://www.linuxquestions.org/questi...-4175524367/#2

Using ns-2.35 for leach, leach_c :
Is mostly about downgrading ~200 files to "style ns-2.34".
EDIT : The known example appears to be an ns-2.34 renamed to ns-2.35 .


-

Last edited by knudfl; 11-19-2014 at 10:53 PM.
 
Old 11-24-2014, 05:22 PM   #4
nadine01
Member
 
Registered: Oct 2014
Posts: 62

Original Poster
Rep: Reputation: Disabled
but i need leach-c
 
Old 11-24-2014, 07:19 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,737

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
← #4 .

"leach+pegasis-ns234-files-2.tar.gz" is the latest update of leach_c.

You cannot get leach_c alone, leach is included too in the files.

Running the leach_c simulation : Edit line 5 in leach_test to →
alg=leach_c
... and run $ export RCA_LIBRARY=/home/<name>/ns-allinone-2.34/ns-2.34/mit/rca && export uAMPS_LIBRARY=/home/<name>/ns-allinone-2.34/ns-2.34/mit/uAMPS && ./test

-
 
  


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
installing leach patch in ns2.34 in ubuntu9.10 g_vaibh Ubuntu 19 04-09-2015 10:43 AM
how to install leach patch in ns2.34 in ubuntu 9.10 anjon.sunny Linux - Newbie 9 04-30-2014 05:05 AM
patch for working leach protocol in ns2.34 fedora rajcek Linux - Wireless Networking 4 02-04-2013 07:59 AM
patch de LEACH pour ns2.35 amirova Linux - Newbie 4 11-23-2012 11:41 AM
About LEACH patch for NS 2.34 in fedora 11 tonazrul Linux - Wireless Networking 4 04-05-2011 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration