LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 01-13-2012, 08:50 AM   #1
vijayukani
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
Leach implementation on ns-2.35


Can someone help me in patching mit leach on 2.35
 
Old 01-13-2012, 11:20 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.

.

Last edited by knudfl; 01-13-2012 at 11:23 AM.
 
Old 01-22-2015, 03:53 AM   #3
gauravsrivastav2507
LQ Newbie
 
Registered: Jan 2015
Posts: 1

Rep: Reputation: Disabled
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
 
Old 01-22-2015, 04:44 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.

-
 
Old 01-21-2018, 02:19 AM   #5
Rango4
LQ Newbie
 
Registered: Oct 2015
Posts: 6

Rep: Reputation: Disabled
NS-2.35 LEACH protocol tcl error str2addr:Address outside range of address field length

when I execute the tcl finished with an error (snap shot attached)...
Attached Thumbnails
Click image for larger version

Name:	mannasim error.PNG
Views:	50
Size:	85.5 KB
ID:	26782  

Last edited by Rango4; 01-21-2018 at 02:22 AM.
 
Old 01-21-2018, 09:35 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 !


-

Last edited by knudfl; 01-21-2018 at 09:38 AM.
 
  


Reply

Tags
gear, leach, ns2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error in LEACH charanya Linux - Wireless Networking 0 11-07-2011 05:50 AM
LEACH installation geethamit Linux - Software 1 11-01-2011 03:58 PM
LEACH installation geethamit Linux - Software 1 10-17-2011 10:45 AM
protocol leach ezzati Linux - Newbie 5 05-03-2011 08:42 PM
leach in ns2.33 hayet Linux - Newbie 2 03-18-2011 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration