Sunday 2 November 2014

MannaSim installation procedure for generating Script 

Script generator framework

MannaSim framework is the Script generator used mainly for sensor network research.

Note: After installing ns2, this procedure must be undergone.

Step 1: Download Manasim.tar.gz file
 
Step 2: untar the file by typing
            tar zxvf manasim.tar.gz
 
Step 3: A new folder titles manasim with appear. copy that file and paste it in /home/usernname/ns2.35-allinone/ns.2.35/
 
Step 4: Open the mansim folder. Then, go to NS-modified-files folder. There you can find a few files.


Copy the files from the ns-modified-files/ to these locations
ns-allinone-2.35/ns-2.35/apps/udp.cc
ns-allinone-2.35/ns-2.35/common/ns-process.h
ns-allinone-2.35/ns-2.35/common/packet.cc
ns-allinone-2.35/ns-2.35/common/packet.h
ns-allinone-2.35/ns-2.35/Makefile.in
ns-allinone-2.35/ns-2.35/tcl/lib/ns-default.tcl
ns-allinone-2.35/ns-2.35/tcl/lib/ns-lib.tcl
 
Step 5:Then, go to /home/username/ns2.35-allinone/ns2.35
Then, type each command at terminal
           ./configure
           make

Step 6: Java installation procedure

            sudo apt-get install java
            sudo apt-get install openjdk-7-jdk

No comments:

Post a Comment