Hi everyone,
I have final year project related to the LEACH routing protocol. I want to change the number of nodes for LEACH? As for existing package, it is already 100 nodes, and i want to change it to 80 nodes and below..what should I do?
Thanks
Hi,
I intend to use mannasim script generator tool to create mobile nodes for routing protocols like aodv, leach , dsdv and dsr.
To be best of my knowledge, WSN nodes in mannasim are assumed to be static but I would like to know if there is a resource available which explains how the tcl code can be modified to achieve node mobility.
I have tried searching google but I haven't gotten satisfying search result.
It seems is better to ask an experienced ns2/mannasim user.
Be sure your kind response is valued
i am trying to simulate Tora for 50, 110, 170 and 200 number of nodes. but for 50 number of nodes trace file become so large that it does give segmentation fault error when i tried to extract results with awk file. for 100 number of nodes simulation never comes an end. please help me... if m missing something ...
when running leach. i got different leach.out
first i was confusing is it correct or no.
for example, one of them show that there is a collision. some times one TDMAschedule.txt file generated and some times more than one.
every time i run leach_test the out put differ. but i notice that in coditions.txt ==> the desired number of clusters is always 1
first, how can i change this value. and how it will effect on leach.out?
second, i need some illustration on how to understand leach.out to be able to determine it is correct or not.
thanks in advance
Hi. I have some doubts regarding “LEACH” protocol. I’m using ns-2.34 on Ubuntu 10.04 and patched leach protocol by following below link. I got ‘leach.out’ file, but I didn’t get ‘leach.err’ file.
https://abdusyarif.wordpress.com/201...-step-by-step/
Then I want to check out the leach source code file. The source code of the leach is not found in that folder. I ran out the leach test file and I’ve got a warning message.
Now i am doing m.tech and i wanna do project on NS-2. i have to study about this v-leach protocol and also i want prepare some extensions in that so if you's having any possibility please send some v-leach protocol code for me
i run leach protocol on ns2.34
from the package provided is
the additional module "pegasis/leach" > exidus-pegasis_ns-234-leach.tar.gz
Download link https://docs.google.com/file/d/0B7S2...it?usp=sharing
the generated nam file look like this
V -t * -v 1.0a5 -a 0
W -t * -x 1000 -y 1000
A -t * -n 1 -p 0 -o 0xffffffff -c 31 -a 1
A -t * -h 1 -m 2147483647 -s 0
why it is not complete ?
Hello
Now i try with leach+pegasis-ns234-files-2.tar.gz
but the same problem
in leach.err
mac/chanel.cc: INITIALIZE THE LIST xListHead
SORTING LISTS ...DONE!
but leach.out
Total Energy = 1.8677000593689714
Total Data = 0
Total Alive = 4
Hi,
I have been trying to get information on how to process the output of a tcl file (aodv and leach protocol using mannasim) which I got on my command line Iinterface. Actually, I don't even know the keywords to search as I am new to this and other minor attempts haven't yielded positive results., I know there is usually a trace file but I can't see any. All I see is on my command line.
I also observe that it took the space on the entire screen and I can't copy the output from the start ( I could only copy from node 19 out of 30 nodes) because of the huge number of output lines.
The last thing I havent been able to figure ou is whether temperature is equivalent to energy Iin mannasim as mannasim has only temperature and carbon dioxide?
Thanks
Hi.. I want to implement a LEACH protocol in ns-2.30 (ubuntu 10.04 version) for my project. Can anyone help me out..
I have serveral nodes related files under /var/lib/ directory as shown below:
Code:
machine001.cluster.org
machine002.cluster.org
machine003.cluster.org
machine004.cluster.org
I am trying to write a shell script which first finds out how many number of files are present in this directory. Then it should fetch the first name like machine001, machine002, machine003 etc. Then it should fetches ipaddress, hostname and netmask under machine001 first, then store it in some variable. Repeat this for all the nodes. How will the script look like?