LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2015, 04:06 AM   #1
lintreesa
LQ Newbie
 
Registered: Apr 2013
Posts: 16

Rep: Reputation: Disabled
Run AOMDV protocol with TFRC-CR module


I have successfully added TFRC-CR package to ns-2.31. The research publication based on this work titled "End-to-End protocols for Cognitive Radio Adhoc Networks: An Evaluation Study" has some scenarios with AOMDV protocol. But I found that AOMDV protocol is not added in ns-2.31 version. I tried to add the patch file , but i got errors. Can anyone help me to fix this problem?
 
Old 11-08-2015, 06:08 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
Ref. http://wpage.unina.it/marcello.caleffi/ns2/aomdv.html
>> http://wpage.unina.it/marcello.calef...aomdv-old.html

TFRC-CR works best with ns-2.31, so we are using "ns-allinone-2.31" :
cd ns-allinone-2.31/ (Patched with TFRC-CR)
patch -p0 < aomdv_for-tfrc-cr-patched_ns231.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
<set compilers> && ./install
cd ns-2.31/
cp ns ns ns231-tfrc-crahn+aomdv

Testing : $ ./ns231-tfrc-crahn+aomdv test-3nodes.tcl 3 10 1
$ ./ns231-tfrc-crahn+aomdv test-random-topology__use-options.tcl 10 128 2
... both OK.

TFRC-CRAHN info http://www.linuxquestions.org/questions/tags/crahn-ns2/

? Where did you get the "scenarios with AOMDV protocol" ? A link, please
( Ref http://www.sciencedirect.com/science...66531610001604 ? )


-

Last edited by knudfl; 11-08-2015 at 09:33 AM.
 
Old 11-08-2015, 10:43 PM   #3
lintreesa
LQ Newbie
 
Registered: Apr 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
thank you

I am using ubuntu 12.04, Can you pls tell me how to get gcc-4.1 and g++-4.1

Thank you
 
Old 11-09-2015, 02:14 AM   #4
lintreesa
LQ Newbie
 
Registered: Apr 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi

I have installed TFRC-CR module with AOMDV successfully. Thanks for your guidance.(My os is ubuntu 10.10 compiler gcc-4.1 and g++-4.1)

When I tried to run the example files from "https://github.com/abdulla-alali/CRAHN_examples" by only changing the agent name from AODV to AOMDV i got errors (i copied the error information in the attached text file). I don't know that is the right way to run AOMDV. Please help me

Thank you
Attached Files
File Type: txt AOMDV ERROR.txt (3.2 KB, 23 views)
 
Old 11-09-2015, 04:45 AM   #5
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
Re #4.
Quote:
An Evaluation Study" has some scenarios with AOMDV protocol.
? Where do you read that ?

About AOMDV : Is partly present in TFRC-CR : $ grep -Rin aomdv *
So it may have been tested ... and given up.


The examples {test-3nodes.tcl, test-random-topology.tcl} are modified simple-wireless.tcl.

`ns-2.xx/tcl/ex/simple-wireless.tcl' is "DSDV" Runs also with AODV, AOMDV. With a default 'ns'.
But not with the TFRC-CR compiled 'ns', ns231-tfrc-crahn+aomdv
The basic aomdv.tcl : No luck.

--------------------------------------------------

Re #3 : compat compilers for Ubuntu 12.04 - i686.

gcc41-compat https://drive.google.com/file/d/0B7S...ew?usp=sharing
g++41-compat https://drive.google.com/file/d/0B7S...ew?usp=sharing

compat-gcc34 https://drive.google.com/file/d/0B7S...ew?usp=sharing
compat-g++34 https://drive.google.com/file/d/0B7S...ew?usp=sharing


-
 
Old 11-09-2015, 05:06 AM   #6
lintreesa
LQ Newbie
 
Registered: Apr 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
Ok thank you..please find the attached paper
 
Old 11-09-2015, 05:14 AM   #7
lintreesa
LQ Newbie
 
Registered: Apr 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
this is the url http://citeseerx.ist.psu.edu/viewdoc...=rep1&type=pdf

I couldn't upload ,because the file size is more
 
Old 11-09-2015, 10:07 AM   #8
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
Re #7.

Large files : Please upload to 'Google Docs'.
( You get 15 GB free space. To use for all kind of backups.)
 
  


Reply

Tags
compat-gcc, crahn-ns2, 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
how to implementing black hole attack simulation on routing protocol AOMDV ns 2.35 q0dr1 Linux - Wireless Networking 3 07-02-2015 05:22 AM
Protocol Converter Module in Linux BELAL Linux - Newbie 1 04-09-2015 07:50 AM
aomdv.tcl file 4 ns2.34 puru45 Linux - Newbie 2 11-20-2014 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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