Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492
Rep:
Welcome to LQ.
Why ns-2.35 ? Not easy to install in Fedora 16.
(Can be done with the "long term supported version of Fedora 12" = CentOS 6.5 ).
The available ZRP code is for ns-2.33 :
You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But do not add any *PATH text to .bashrc !
Fedora :
1) $ tar xvf ns-allinone-2.33.tar.gz
2) $ cd ns-allinone-2.33/
3) $ tar xvf zrp-ns233-patching.tar.gz https://drive.google.com/file/d/0B7S...it?usp=sharing
4) $ export CC=gcc34 CXX=g++34
5) $ ./install
6) $ cd ns-2.33/
7) $ cp ns ns-zrp
8) $ su <enter-root-password>
9) # cp ns-zrp /usr/local/bin/
... Then you can do : $ ns-zrp <example>.tcl
... from zrp-examples-2012.tar.bz2 https://drive.google.com/file/d/0B7S...it?usp=sharing
I want to make a hybrid routing protocol. But I don't know on which protocol i should work.Then I need some scripts of Hybrid routing protocols so as to run in ns2 and get an idea about them. Hope i will get some sol.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492
Rep:
Post #3, @skapoor : Welcome to LQ.
ZRP is a hybrid protocol. And probably the best documented ?
The ZRP code will work with ns-2.33, ns-2.34, ns-2.35.
Patches :
zrp-diff2014_ns233.patch, zrp-ns234.patch, zrp-ns235.patch.
Latest : http://www.linuxquestions.org/questi...-4175526171/#2 → #2
swati@swati-Aspire-5738:~/zrp-examples$ ns zrp-Demo2-1.tcl
invalid command name "Agent/ZRP"
while executing
"Agent/ZRP set radius_ 2 "
(file "zrp-Demo2-1.tcl" line 17)
i am facing this Agent-ZRP problem in every script i run.Plz help meto solve this problem
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492
Rep:
← #5 .
If you added a zrp patch to ns-2.33, ns-2.34, ns-2.35,
.. then you are either using a wrong 'ns',
or you have a failed build of ns2+zrp.
About $ ns zrp-Demo2-1.tcl :
You are not supposed to use plain 'ns'.
Please use a copy of the zrp patched 'ns', to a new name :
$ cp ns ns-zrp ( Or any naming you may prefer.)
$ sudo cp ns-zrp /usr/local/bin/
Then it is : $ ns-zrp zrp-Demo2-1.tcl
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492
Rep:
← ref. #7.
How do you expect to run a zrp simulation in a simulator with no ZRP ?
Please explain.
Besides that, a ZRP patched ns-2.33 ns-2.34 ns-2.35 will not disturb other protocols.
And : ZRP can also be added simultaneously with other added protocols.
Example : UM-OLSR + ZRP.
hello. I want to run a traffic generation scenario in zrp protocol. please provide me some scripts that can run without the zrp patch installation
No, thanks...you need to read the 'Question Guidelines' link in my posting signature. Also, read the LQ Rules about opening your own thread for your own question...you re-opened an old thread, and hijacked it with your own quesiton.
We will be happy to HELP you, but we aren't going to write scripts for you, or look things up for you. Asking for handouts without showing ANY effort of your own is not only very rude, but VERY LAZY as well.
Hi
i need to implement ZRP protocol in vanet scenario in ns2.33. Is there any patch file to simulate ZRP in vanet. Can i make changes in the available patch(In manet patch). If so tel me how can i modify it?
Hi
i need to implement ZRP protocol in vanet scenario in ns2.33. Is there any patch file to simulate ZRP in vanet.
Yes, see post #9.
Quote:
Can i make changes in the available patch(In manet patch).
Yes, you can make whatever changes you want in code that's on your system.
Quote:
If so tel me how can i modify it?
Open whatever file(s) you'd like in an editor, and change them.
Seriously, your entire question isn't something we can answer. You can look up and find the ZRP source easily with a Google search, so asking us to look it up isn't nice. And asking IF you can make changes to a file on your own system is a very obvious "yes", and as far as telling you how to modify it, that also doesn't have an easy answer. You modify a source file with an editor...WHICH editor is up to you. WHAT you change depends on what you want the new program to do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.