installing leach patch in ns2.34 in ubuntu9.10
how to add new patch for leach protocol in ns2.34 in ubuntu9.10
Welcome to LQ. .... :) ....
The LQ member @ emtarik05 says here in post # 21,
"" I modified MIT LEACH to work on NS2.34 ubuntu 9.10 ""
May be send a message to emtarik05 asking
for the files and the method ?
I did ask, but got no response so far.
Actually, it's no big problem using ns-allinone-2.27
on Ubuntu, please read post # 3 here :
More info : LQ Search http://www.linuxquestions.org/questions/search.php
>>> 1) 'Tag Name' = ns2 ,,, 2) 'Tag Name' = leach
Good luck !
i installed ns2.35 on ubuntu8.04 lts Desktop edition.
and now i want tu run leach algorithm on it.
i dont know what should i do,
please tell me the steps of runnin leach algorithm.and send me the url of everything that i have to download it or email them for me(firstname.lastname@example.org)
i read ur posts about ns2.27,but they didnt work for me,may be beacuse of the differnce between versions!
'ns-allinone-2.27' + LEACH .. .. Ubuntu 8.04 Hardy LTS
@ sahel_s , post # 3 , Ubuntu 8.04 Hardy LTS ..
1) Patching otcl-1.13 ( To be usable for LEACH / g++ 3.3.3 too )
patch -p1 < otcl-113-configure.in.patch
The ns-allinone-2.27 "./install" runs with no errors.
2) Tcl,tk : sudo apt-get install tcl8.4-dev tk8.4-dev
sudo ln -s /usr/include/tcl8.4/*.h .
.. where the 'period' ( . ) means the current directory.
3) Install otcl and tclcl to be used by LEACH :
./configure --prefix=/usr/ && sudo make install
4) A gcc, g++ version 3.3.3 is required.
5) The "LEACH" files :
cd ns-allinone-2.27/ns-2.27 && tar xvf mit.tar.gz
make -f 1-LEACH-Makefile-modified
A missing libintl.so ?
post # 31 : You will have to build gettext with libintl*
./test : shows LEACH is OK. The modified 'test' script, post # 6 here
adding LEACH ns2.34
Im want to add LEACH on NS2.34 but I don't understand how to do it. please help me on it.
Post #5, @keepwalking : Welcome to LQ.
May be something here
> Posts #68 #78 #88 , etc. by @emtarik05.
Message from @keepwalking :
""I'm do my research based on the LEACH protocol, can you please help me
to find the ns2.34 pakage that is having LEACH add on it. ... ""
Answer : The patch is here
Please read the LQ leach threads. LQ Search → Tag = leach.
Thank you for send the LEACH package to me, now Im still need to know how to add it on ns2.34.
Post # 8
Sorry, I don't know, how to use the files.
May be one of the files has some explanation ?
Or it is obvious, where they should be copied to ?
Otherwise, the usual suggestion is to ask @emtarik05 or @nour-eddine for information.
EDIT : See post #5 here
And by the way, why not use ns-allinone-2.27 ? Which is very well documented.
A new "documentation" here ( post # 8 ) by @bnkdul
http://www.linuxquestions.org/questi...sion-852647/#8 EDIT >>>
EDIT : http://www.linuxquestions.org/questi...34-a-870368/#5
And : #9, # 11 http://www.linuxquestions.org/questi...dora13-907076/
but i want see Wave figure for energy,coverage ... in leach
What should I do?
please help me...
respected sir i already patch leach, leach-c and pegasis but we need .awk file to analyze the output. below file is my .tr file please give me some guidance about .awk file.
so you patched the dead Ubuntu 9
9 has not been supported in many years
Post #11, @ shahidz / Ubuntu 12.04?
I.e. there is no out.tr with e.g. leach+pegasis-ns234-files-2.tar.gz
... There are leach.tr, leach-c.tr, pegasis.tr .
Awk script : Write an awk script (or a perl script).
Or use a script from `awk_scripts-04.2014.tar.bz2´
|All times are GMT -5. The time now is 07:16 AM.|