Skip to main content

MannaSim Script generator framework installation procedure

MannaSim framework

  • It is the Script generator used mainly for wireless sensor network research.
  • It was written in TCL and C++ for NS-2 network simulator. 
  • It is used for creating TCL scripts for the front-end activity done in MannaSim framework GUI.

MannaSim Installation: 

It can be installed in two ways: 
1. Installing Mannasim patch   (easier method)
2. Using Mannasim Source code

Method 1 - Installing Mannasim patch:

  • This is easier way for installing Mannsim; 
  • But, ensure that you didn't modify the ns-2 distribution files. At the time of writing this blog, the ns-2 distribution is with version 2.29.
Step 1: Click here to download ns-2.29 all-in-one package from ns site.
Step 2: Click here to download MannaSim Framework ns-2.29 patch.
Step 3: Type the following command on the ns-allinone-2.29 folder:
patch -p1 < file_name.diff
Step 4: Install ns-2.29 as usual typing ns-allinone-2.29 folder:
./install


Method 2 - Using Mannasim Source Code:

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


After installing and configuring using either of the methods above, to open the GUI, java is essential. So, to install java, run the following commands in terminal:
sudo apt-get install java
sudo apt-get install openjdk-7-jdk

Comments

Popular posts from this blog

NSG 2.1 Tcl/OTcl Script Generator

Are you a beginner for ns2 network simulator? Are you afraid of Tcl/oTcl script generation? Then there is a tcl script generator, named NSG 2.1 NSG - Network Simulation Generator NSG 2.1 is a java .jar file.  So, this application can run on all platforms (windows/linux/mac os). It deserves the java installed in you pc, prior to working with NSG 2.1. Java must be installed to run NSG2.1. So, initially, java must be installed. How to install java in Windows/ubuntu/mint/debian linux/ OS X ? Step 1 : Go to Terminal and run  java -version   to check the java version installed in your machine. Step 2 :  For Windows, click here  to download the java installer. Then, it is a typical next-next windows executable installation. For ubuntu/mint/debian linux operating systems, run the following commands in that terminal: sudo apt-get install default-jre sudo apt-get install default-jdk sudo apt-get install openjdk-7-jre sudo apt-get install...

List of Websites to get free e-books

Here follows the list of websites to download e-books for free. 1. www.bookfi.org 2. www.bookzz.org  These two websites offer 4 to 5 free downloads per day. Best advantage is that we need not go for any sign-in process or clicking on an advertisement. 3. http://manybooks.net      In this website, apart from downloading in pdf format, one can download in many other e-book formats. 4. www.ebookee.org 5. www.bookboon.com 6. www.gutenberg.org 7. www.books123.me   8. www.brupt.com This website provides file in word (.doc), powerpoint (.ppt) and pdf file formats. 9. www.pdfoxy.com This website provides books in pdf format, but we should wait for 12-15 seconds and enter a Captcha code. But no need to sign-in. 10. www.docstoc.com This is another decent website of downloading ebooks in .pdf format, with no advertisement and no signing in. 11. www.freecomputerbooks.com This is one of the best websites for downloading technical and profession...

SUMO installation in linux (Debian/Ubuntu/Mint)

SUMO - S imulation of U rban Mo bility SUMO an open source, portal, microscopic, multi-modal road traffic simulation. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.  It allows to simulate as to how a given traffic demand which consists of single vehicles moves through a given road network. The simulator allows to address a large set of traffic management topics. It is purely microscopic: each vehicle is modeled explicitly, has an own route, and moves individually through the network. SUMO Installation Procedure: Installation in Linux and mac OS Step I: Install two pre-requisite packages to build SUMO with GUI. Go to terminal and run: $ sudo apt-get install libgdal1-dev proj libxerces-c2-dev $ sudo apt-get install libfox-1.6-dev libgl1-mesa-dev libglu1-mesa-dev Step II: If you are using Unbuntu 12.04 or older versions, as it doesn't ship with libgdal package, create a symbolic link: $ sudo ln -s /usr/l...