Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There is no LEACH for ns-2.35 .
But : You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But do not add any *PATH text to .bashrc .
All ns-2.26 ... ns-2.34 will build OK / work OK in any contemporary Linux OS.
@knudfl
hello sir..can you please provide me package of energy leach protocol as it is required me as base of my project..i will be thankful to you because i can do further modification in it as my project work..please..
hello knudfl, i have implemented original leach successfully. Energy leach protocol means which considers residual energy of nodes for new CH selection..i want to do further modification in it..thanx for your reply..
hi knudfl..ok i will check but as i am modifying
the code, i want the clusters
formed during first round..for that
i write this code-
proc temp1 {name} {
upvar 1 $name x
global data
set data $name
#puts "Nodes data=$data"
#return $data
temp2
}
proc temp2 {} {
global data
puts "final data=$data"
set data_array [lappend data_array
$data]
puts "dt_arr=$data_array"
return $data_array
}
where temp1 is called in bs-app.tcl
by call by reference and cluster nodes are sent as parameter as:
temp1 $actual_nodes_data
but the problem is it takes only
last cluster nodes in array and
previous once are getting flushed
or overwritten..can u suggest me
any solution to this?? please..
Last edited by keepwalking123; 02-28-2014 at 10:28 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.