LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-22-2015, 11:23 PM   #1
mahsa rkh
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
how to add PEGASIS source code to ns2.27


Hello every bode
I need to simulate LEACH and PEGASIS protocol in ns2 aaand compare them. my ns version is ns2.27. at this step I have the PEGASIS source code but I don't khnow how and where I shoud add it. Can any one help me?
 
Old 01-23-2015, 12:10 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 updated {LEACH, Pegasis} code for a contemporary OS :
Is for ns-2.34/.

The patch : leach+pegasis_ns234.patch.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

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


* Please use ns-allinone-2.34 for a starters.
Then you can always port the code to ns-2.27, if you want so.
* You can have an infinite number of ns-allinone.2.xx builds,
installed at the same time.

Pegasis info http://www.linuxquestions.org/questions/tags/pegasis/
Build example https://groups.google.com/forum/?fro...c/OlR1n0gAK_4J


-
 
  


Reply

Tags
leach, ns2, pegasis



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
Modification of AODV protocol source code of NS2 in Cognitive radio networks lakshmanarao.k Programming 3 11-18-2016 07:21 PM
No data sent in Pegasis.out (NS2) tsabran Linux - Newbie 11 07-03-2015 08:01 AM
Source code for Back Propagation Network in NS2.35 R.Mosheca Linux - Newbie 0 08-07-2014 01:44 PM
ns2 source code for clustering in WSN sindhuu Linux - Newbie 1 04-14-2012 02:01 AM
Requirement of source code in OMNETT++ or NS2 balu1988 Linux - General 1 02-09-2011 11:01 AM

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

All times are GMT -5. The time now is 07:20 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