Linux - NewbieThis 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
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 have a problem in understanding NS2 and the implementatio of the CONFIDANT code in NS2.35.
In fact ,i didn't find the code of CONFIDANT.
if someone worked in ns2 and CONFIDANT can please send me the code of CONFIDANT,it will be of great help to me.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
I assume you have some kind of Linux OS,
and easily can install ns-allinone-2.28 to test the code.
I.e. all versions, ns-allinone-2.26 .. 2.34
can be built on any contemporary 32bits Linux OS.
? Is there a big difference beetwen ns2.35 and ns2.28 :
Yes. AFAIK the MAC** setup was completely changed somewhere around ns229..ns230.
Quote:
I have to use ns2.35
Why do you have to use ns-2.35 ? ?
Any questions ? Then please specify your OS : Name and version.
My OS is Ubunto 10.12 .I have to use ns2.35 because my teacher asked me to use it .She said that ns2.35 is a complete version.But I have only the code you sent to me.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 5 .
Please show the output from these two commands :
1) $ cat /etc/issue
2) $ uname -m
About ns-2.35 : May be it has some advanced features.
But that won't do the job if you don't need those extra things.
Most important : It may not be easy to port the code to ns-2.35 .
Some MAC functions are used, and all MAC is completely changed since ns-2.28 .
CONFIDANT : May be there is some more code to get, see page 117 (about the CD)
→ imm3961.pdf http://etd.dtu.dk/thesis/185873/imm3961.pdf
.. and the c++ code formatting will be right, compared to the "pdf text".
The author `Shanshan Song' still lives here in Denmark →
Post address : Haugesundvej 15, DK - 2850 Naerum
You could write her and ask if it's still possible to buy a copy of the CD.
Thank you for your help but unfortunately i can't buy a copy of the CD. Also,our teacher is still asking me to do the simulation in ns2.35.
please may you help me to know the steps i should do to have the code in ns2.35
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 11 .
As you can see when reading the pdf file, the author uses English text.
No harm done with a short polite request to the author.
! The address in post #8 is the "International address" :
<Name> <Street> <DK - 2850 Naerum> Denmark.
And : Not asking, you don't know what the code costs.
Could be a very small amount of $$.
I decide with my teacher to implement confidant based in aodv protocol not in dsr and i discovered that i will modify the aodv code .tcl .cc .hh ... to have a new protocol.
I should so add the watchdog ,trust ,a promescute mode.i need help to do these because i haven't much time.thank you
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.