LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Leach implementation on ns-2.35 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/leach-implementation-on-ns-2-35-a-923596/)

vijayukani 01-13-2012 08:50 AM

Leach implementation on ns-2.35
 
Can someone help me in patching mit leach on 2.35

knudfl 01-13-2012 11:20 AM

Welcome to LQ.

The tested LEACH patches are for ns-2.27 , ns-2.34
ns-2.27 http://www.linuxquestions.org/questi...2-27-a-785379/

ns-2.34 http://www.linuxquestions.org/questi...34-a-870368/#5
And : http://www.linuxquestions.org/questi...ra13-907076/#9
>> Posts #9, #11.


Just guessing : You are using Ubuntu 11.10 : Not usable for any ns2.
The latest easy usable is 10.10. Recommended is Ubuntu 10.04,
if it must be Ubuntu. ( The default ns2 OS is CentOS / Scientific Linux.)

P.S. : I think that some LQ member made a leach patch for ns-2.35.
But no files revealed yet ?
The post should appear, when you read some of the LQ ns2 threads about leach.

.

gauravsrivastav2507 01-22-2015 03:53 AM

leach and GEAR implementation in ns-2.35 on ubuntu12.04
 
i am new at ubuntu. please tell me once how add these protocols in ns2.35. please suggest the steps so that it could be easily carried.
thank you

knudfl 01-22-2015 04:44 AM

Post #3, @gauravsrivastav2507 : Welcome to LQ.

Leach cannot be added to ns-2.35 : Please use ns-allinone-2.34.
* You can have as many versions of ns-allinone-2 as you want,
installed at the same time.

Ubuntu 12.04 : Must be the 32bits ( i686 / i386 ) version.

Build example, Leach ...
. https://groups.google.com/forum/?fro...c/OlR1n0gAK_4J

Gear is already present in ns-2.3x : Read your thread here →
https://groups.google.com/forum/?fro...E/lYM5eaQcZwgJ
$ cd ns-allinone-2.34/ns-2.34/tcl/ex/diffusion3/
$ ns gear-2pp-5n-1s-1r.tcl
.... etc. etc.

-

Rango4 01-21-2018 02:19 AM

NS-2.35 LEACH protocol tcl error str2addr:Address outside range of address field length
 
1 Attachment(s)
when I execute the tcl finished with an error (snap shot attached)...

knudfl 01-21-2018 09:35 AM

Ref. post #5 Mannasim.

See https://groups.google.com/forum/?fro...rs/L5M2vwuybLU
→ → MannaSim , Jan 21 - 2018



P.S. : Images with text will usually be ignored. Please show as text !


-


All times are GMT -5. The time now is 09:08 AM.