LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to implement a LEACH protocol using ns-2.30? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-implement-a-leach-protocol-using-ns-2-30-a-4175532997/)

Srihk 02-03-2015 11:42 PM

how to implement a LEACH protocol using ns-2.30?
 
Hi.. I want to implement a LEACH protocol in ns-2.30 (ubuntu 10.04 version) for my project. Can anyone help me out..

knudfl 02-04-2015 04:16 AM

Welcome to LQ.

Any particular reason for ns-2.30 ?
1) LEACH may not live together with other added protocols.
2) You can have as many times ns-allinone-2.xx as you want,
installed at the same time.
But : Do never add any ns2 *PATH text to .bashrc.


The updated LEACH files : leach+pegasis-ns234-files-2.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Also available as a patch : You can read the code added for Leach →
leach+pegasis_ns234.patch.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Build examples ....
. http://www.linuxquestions.org/questi...-4175524367/#2
. http://www.linuxquestions.org/questi...-4175504301/#2
. http://www.linuxquestions.org/questi...-4175499594/#7

-

Srihk 02-04-2015 05:42 AM

leach protocol
 
Thanks for your valuable comment..
Well,there is one major reason..
Anyways,I want to implement it on ns-2.30.

knudfl 02-04-2015 08:34 AM

← ref. post #3.
Quote:

Well,there is one major reason
Please tell what reason that would be.

Srihk 02-04-2015 09:04 PM

Reason
 
Hi.. I'm doing Research in Underwater acoustic sensor networks (UASNs).
Platform: Aquasim tool
It is built in ns-2.30.

knudfl 02-05-2015 06:31 PM

← ref. #5.

Underwater acoustic sensor networks :
? Have you done some search with Google ?
My first thought was Underwater DESERT (~ns234),
. http://nautilus.dei.unipd.it/desert-underwater
. http://nautilus.dei.unipd.it/desert-...OCEANS2012.pdf
. http://nautilus.dei.unipd.it/desert-...medded-systems

... but it seems a later work can be found : SUNSET
. http://ieeexplore.ieee.org/xpl/login...mber%3D6608141
. http://reti.dsi.uniroma1.it/UWSN_Gro...set_desert.pdf

Ref.
. https://www.google.com/webhp?hl=all&...ensor+networks
. https://www.google.com/webhp?hl=all&...ensor+networks
. https://www.google.com/webhp?hl=all&...ensor+networks
. https://www.google.com/webhp?hl=all&...ensor+networks
----------

P.S. : Fairly easy to add a leach patch to Aqua-sim (ns-2.30).
Builds OK. The uw simulations will work OK.
The leach simulation won't : As predicted in post #2.

-

Srihk 02-08-2015 04:27 AM

underwater tool
 
Hi.. I did a literature survey, but most of the researchers build their own c++ simulator for UASNs. In Aquasim tool, few of them published a paper on it. So, I chose it to implement and finding a bit challenging and tough to build a new protocol.

Aquasim:
http://obinet.engr.uconn.edu/wiki/index.php/Aqua-Sim
http://uwsn.engr.uconn.edu/publication

Can you suggest a tool for UASNs, if u dont mind..
It will be helpful for my Research.

knudfl 02-08-2015 10:33 AM

Google : ns2+underwater+acoustic+sensor+networks

https://www.google.com/webhp?hl=all&...ensor+networks

. http://www.researchgate.net/post/How...Sensor_Network
→ → @Kashif A Khan →
» If you're working on underwater acoustic sensor networks
then I would recommend you to use NS-2 simulator
because NS-2 have some built in features or packages
which support sensor networks simulation in underwater
and you can also use some of NS-2 based open source
simulator already available on internet.
But still I'm not sure what are your specific requirements
and only can suggest you briefly.
..
http://www.researchgate.net/go.Deref...2-1962-2-3.pdf «

Etc. etc. , 8,000 hits.

-

Srihk 02-10-2015 04:59 AM

desert lib
 
Hi.. will you guide me to install a DESERT_Underwater tool.

knudfl 02-10-2015 05:35 AM

← ref. #9.
Quote:

install a DESERT_Underwater tool
Which "Linux OS" have you got now ?
You are supposed to Specify the OS every time you ask a question like that
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://linuxsilo.net/docs/smart-questions_en.html
a) This command will show the OS architecture : $ uname -m
b) OS name and version, please.

-

Srihk 02-11-2015 05:36 AM

OS
 
Hi.. Sorry Sir, i forgot to mention it.
I'm using Ubuntu-10.04.
I tried to install, but got stuck during the installation of NS-2.34.

knudfl 02-11-2015 05:51 AM

← ref. #11.

Please answer the (most) important question » a) $ 'uname -m' «
... asked for in post #10 .




-

Srihk 02-11-2015 08:58 AM

uname -m
 
1 Attachment(s)
i686

Srihk 02-11-2015 10:03 AM

Error
 
1 Attachment(s)
Again, I tried to re-install and i've got some of the errors.
Please, guide me to solve this!!


All times are GMT -5. The time now is 10:07 AM.