LinuxQuestions.org
Help answer threads with 0 replies.
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 03-27-2015, 12:39 PM   #1
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Rep: Reputation: Disabled
AODV modification


I want step by step guidance for folllowing

I had modified original AODV files in NS-2 and put all modified files in another folder named IAODV, now I want NS-2 to recognize my new protocol, How to do this

I am using ubuntu 12.04 and ns-2.35

Please provide step by step guidance, i searching this on internet since last week but not getting satisfactory answers

Thanks a lot in advance
 
Old 03-28-2015, 10:09 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shyjuu View Post
I want step by step guidance for folllowing
I had modified original AODV files in NS-2 and put all modified files in another folder named IAODV, now I want NS-2 to recognize my new protocol, How to do this I am using ubuntu 12.04 and ns-2.35

Please provide step by step guidance, i searching this on internet since last week but not getting satisfactory answers
This is not the place to come and get personalized, step-by-step instructions. There is AMPLE documentation on NS2 and AODV, and you've been given guidance (and have been asked questions, which you still haven't answered) before. Again, we will be glad to HELP you, but you need to show us what you have done first.

Putting "how to add a new protocol in NS2" into Google pulls up over 400,000 hits. I find it hard to believe that after an entire week of reading such things, not one of the MANY step-by-step guides that come up help you.
 
Old 03-29-2015, 08:13 AM   #3
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
This is not the place to come and get personalized, step-by-step instructions. There is AMPLE documentation on NS2 and AODV, and you've been given guidance (and have been asked questions, which you still haven't answered) before. Again, we will be glad to HELP you, but you need to show us what you have done first.
I always post question on this Forum after searching google first and trying possible solution, i had already described before in all my post what i have done already, so if somebody has already been succesfull in adding new protocol with some steps, then they can just send me link, I would go through it

Thanks for guidance.
 
Old 03-29-2015, 10:25 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shyjuu View Post
I always post question on this Forum after searching google first and trying possible solution, i had already described before in all my post what i have done already, so if somebody has already been succesfull in adding new protocol with some steps, then they can just send me link, I would go through it
Nice....so if we look it up for you, and hand you a link, you'll read it??

And sorry, you have been given VERY extensive instructions in your other threads:
http://www.linuxquestions.org/questi...s2-4175537441/
http://www.linuxquestions.org/questi...s2-4175537017/

If you don't understand those instructions, you are free to look at any of the over 400,000 you can find with the Google search mentioned before. And asking people to look things up for you and send you links is fairly rude, especially when you've been asked questions before that you haven't bothered answering.
 
1 members found this post helpful.
Old 03-29-2015, 10:48 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
@shyjuu : There is no final recipe for unknown secret files.
I.e. we don't know your code.

A new protocol is added like any already existing protocol in ns-2.35.
You can read e.g. all "aodv" entries with the 'grep' command,
and try similar entries for iaodv :

$ cd ns-2.35/ && grep -Rin aodv *
... Besides aodv/[files] and Makefile.in, it is :
ns-2.35/common/packet.h, lines 130, 269, 348
ns-2.35/routing/{ rttable.cc, rttable.h }
ns-2.35/tcl/lib/{ ns-agent.tcl, ns-lib.tcl, ns-mobilenode.tcl, ns-packet.tcl }
ns-2.35/trace/{ cmu-trace.cc, cmu-trace.h }


-
 
3 members found this post helpful.
Old 03-29-2015, 11:56 AM   #6
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
@shyjuu : There is no final recipe for unknown secret files.
I.e. we don't know your code.

A new protocol is added like any already existing protocol in ns-2.35.
You can read e.g. all "aodv" entries with the 'grep' command,
and try similar entries for iaodv :


-
SIR can i send you my modified code, please provide me your email id.
 
Old 03-29-2015, 12:03 PM   #7
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
@shyjuu : There is no final recipe for unknown secret files.
I.e. we don't know your code.

ns-2.35/common/packet.h, lines 130, 269, 348
ns-2.35/routing/{ rttable.cc, rttable.h }
ns-2.35/tcl/lib/{ ns-agent.tcl, ns-lib.tcl, ns-mobilenode.tcl, ns-packet.tcl }
ns-2.35/trace/{ cmu-trace.cc, cmu-trace.h }


-
SIR i had already done modification to all the files that you have mentioned in this reply
Thanks a lot, your replies are really helping me
 
Old 03-29-2015, 04:45 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shyjuu View Post
SIR can i send you my modified code, please provide me your email id.
If you want people to do your work/school assignments for you, please post this in the LQ Job Marketplace, along with how much you're willing to pay. But I highly doubt anyone is going to debug your code for you...this isn't the place to come for free, personalized, one-on-one email tech support/programming.
Quote:
Originally Posted by shyjuu
SIR i had already done modification to all the files that you have mentioned in this reply Thanks a lot, your replies are really helping me
Glad you're getting help...but before posting follow-up questions that are nearly identical to the one you've already asked, it would be good if you followed the many tutorials you can find on Google, then TELL US which one(s) you tried, and what the error(s) were. Just saying you 'tried possible solution', tells us next to nothing.
 
  


Reply

Tags
iaodv, 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
Modification of AODV protocol source code of NS2 in Cognitive radio networks lakshmanarao.k Programming 3 11-18-2016 07:21 PM
modification in AODV in NS2 shyjuu Linux - Wireless Networking 1 03-18-2015 01:36 PM
NS2: Need of plain plain aodv.cc and aodv.h files chenil Linux - Software 1 07-10-2013 06:17 AM

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

All times are GMT -5. The time now is 09:26 PM.

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