Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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
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??
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
@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 }
@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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.