ZRP patch for ns2.33
Hello...
I already done ns2.33 installation in ubuntu 14.04 Now i want to ZRP patch for ns2.33 For this any file changes required ? if yes then which file what change required ? I performed steps which are given in this site but while executed then shows following error : invalid command name "Agent/ZRP" while executing "Agent/ZRP set radius_ 2 "(file "zrp1.tcl" line 68) so please tell me how to patch ZRP for ns2.33 in ubuntu 14.04 sucessfuly Please help me. Thank you. |
Quote:
|
ZRP patch for ns2.33 for ubuntu 14.04
Quote:
i followed steps : http://magnet.daiict.ac.in/magnet_me...n.html#Sec_1.2 http://magnet.daiict.ac.in/magnet_me....33_ZRP.tar.gz http://magnet.daiict.ac.in/magnet_me...PatchZRP.patch http://magnet.daiict.ac.in/magnet_me.../patchmyZRP.sh It is assumed, that you have a working ns-allinone-2.33, i.e. the './install' command was run with no errors. ""Section 3.2 Instructions : 1. First put following files into NS-2 home's parent directory: * ns-allinone-2.33_ZRP.tar.gz (This contains my code) * PatchZRP.patch * patchmyZRP.sh (THIS SHELL-SCRIPT FILE - This script file should be run from NS-2 home' parent directory) 2. Run patchZRP.sh from shell."" ( Like 'sh patchZRP.sh' ). ..... But the script patchZRP.sh isn't working, easier to do manually : a) cd ns-allinone-2.33/ && patch -p1 < PatchZRP.patch b) touch ns-2.33/common/packet.h && touch ns-2.33/trace/cmu-trace.h c) cd ../ && tar xvf ns-allinone-2.33_ZRP.tar.gz d) cd ns-allinone-2.33/ns-2.33 && make -k and also followed : 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 but after performing both steps i got same error invalid command name "Agent/ZRP" while executing "Agent/ZRP set radius_ 2 "(file "zrp1.tcl" line 68) while run tcl file of zrp.. so please help me how do i correct this error ? Thank you |
All times are GMT -5. The time now is 03:56 PM. |