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 10-31-2014, 05:13 AM   #1
jaygan85
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Rep: Reputation: Disabled
i need leach protocol source code along with execution step.


i am a new to ns2. due to my research work, i need leach protocol source code along with execution step. i installed ubuntu and ns2.37 version in my system. please help me. thanks in advance.
 
Old 10-31-2014, 05:30 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 latest update of leach is "leach+pegasis-ns234-files-2.tar.gz"
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Build example http://www.linuxquestions.org/questi...-4175504301/#2

LEACH info
. http://www.linuxquestions.org/questions/tags/pegasis/
. http://www.linuxquestions.org/questions/tags/leach/
. https://groups.google.com/forum/?fro...ns-users/leach
. https://groups.google.com/forum/?fro...rs/_1GiuzK2Ixw
. https://groups.google.com/forum/?fro...-users/pegasis

? Any questions ? Then please specify your "Ubuntu" :
a) $ uname -m
b) $ cat /etc/issue


-

Last edited by knudfl; 10-31-2014 at 09:58 AM.
 
Old 11-01-2014, 05:42 AM   #3
jaygan85
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
thanks, i installed ubuntu 12.10 version

ubuntu 12.10 version installed in my computer, whether you send a code, that suitable for this ubuntu version. thanks in advance
 
Old 11-01-2014, 07:50 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
#3 .

Which Ubuntu 12.10 ? I.e. "12.10" comes in more the one architecture.
REPEAT : What's the output from this command : $ uname -m

Build example, Ubuntu 12.10 - 32bits (i386 / i686) :
A) sudo apt-get install \
g++ g++-4.4 patch autoconf automake libtool libxmu-dev xgraph
B)
1) $ tar xvf ns-allinone-2.34.tar.gz
2) $ cd ns-allinone-2.34/
3) $ patch -p0 < otcl_ns234_gcc-4.4.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
4) $ tar xvf leach+pegasis-ns234-files-2.tar.gz
5) $ export CC=gcc-4.4 CXX=g++-4.4 && ./install
6) $ cd ns-2.34/
7) $ sudo make install

-
 
  


Reply



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
help me i need tcl code for leach protocol urgently manoj robin Linux - Newbie 1 09-20-2014 03:02 AM
Leach Protocol Code thamim Linux - Newbie 10 03-03-2014 12:03 PM
source code of leach protocol MAHAKR Linux - Newbie 1 06-11-2011 03:48 AM
problem in understanding step by step execution of n-code files Najia Iqbal Programming 5 04-06-2006 12:55 AM

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

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