SPIN and LEACH protocol in NS-2
Hi,
I have an upcoming project on wireless sensor networks and the protocols SPIN and LEACH.I would like to know which version of ns-2 should i use to implement these protocols and run some codes? Are there any open source codes available for these protocols? Please advice me or direct me in the right direction.A little confused as to how to begin. Thanks Regards |
LEACH patches are available for ns-2.27 and ns-2.34 :
http://www.linuxquestions.org/questi...ocol-885707/#2 ns234 info http://www.linuxquestions.org/questi...dora13-907076/ SPIN : Google .. spin ns2 .. Two hits with code : http://en.pudn.com/downloads71/sourc...259448_en.html http://en.pudn.com/downloads135/doc/...573456_en.html Seems to be the only available information ? And you will have to download the patch(es), to see which version of ns-allinone-2.xx it's for. .. |
thank you knudfl ..i shall check it out and try ..but it would work on any version of linux right?? i mean fc 11 or 13 would'nt matter much..had faced issues concerning version of fc with ns-3 earlier..
|
Default is CentOS / Scientific Linux.
( RHEL 6 / CentOS6 / SL 6 are Fedora 12 based.) The most versions of ns2 were built and tested on the older versions of RHEL / CentOS, e.g. CentOS 5. But any Fedora will do. Just avoid Ubuntu 11.04, 11.10 and similar. . |
hi knudfl,
I've downloaded the SPIN source code. Can u guide me in integrating it with ns. I am using ns2.34 installed on ubuntu 10.04. I've already integrated LEACH with the help of other threads but there are no threads for integrating SPIN. Can u please help me. Thanks anyway. |
Post # 5, @rajub : Welcome to LQ. .. :) ..
An answer may be possible, if you can send the SPIN code : http://www.linuxquestions.org/questi...ember&u=386037 |
Hi rajub,
Can you upload the spin code on the forum or can you paste the link over here?? Thanks |
thanks for the prompt reply...
i've downloaded the spin code from the links u have mentioned above.. hope they will work! http://en.pudn.com/downloads71/sourc...259448_en.html http://en.pudn.com/downloads135/doc/...573456_en.html |
let me know if the code available above works..
if not, please tell me where i can find it.. Thanks. |
#8 #9. May be not a valid link. No code.
Please use the link in post # 6. |
Knudfl,
Can you please post the code for SPIN and also guide me in integrating with ns2.I have finished working with leach and now need to start with SPIN. Regards |
hello knudfl
please help me.i had installed the ns2.34 on ubuntu 11.10 but i am not able to run the given LEACH code .please tell me the steps to run the code as soon as possible |
# 11 : The available SPIN code is for ns-2.1b5.
Not usable in a contemporary OS. May work with a 1999 OS / an old computer ? https://docs.google.com/open?id=0B7S...3F0MGR2LTRJcjQ → old-spin.tar.gz # 12, @geetu verma : Welcome to LQ. > #5 http://www.linuxquestions.org/questi...34-a-870368/#5 http://www.linuxquestions.org/questi...dora13-907076/ → Please use the attached files in posts #9, #11. NS-allinone-2.34, Ububtu 11.10 : http://erl1.wordpress.com/2011/10/14...neiric-ocelot/ . |
Quote:
|
# 14, @geetu verma : Please write in English.
Short hand writing / SMS speak is not accepted here at LQ. Quote:
if SPIN only was installed. And which OS / ns2 version did you use ? . |
All times are GMT -5. The time now is 08:38 AM. |