Skip to main content

Posts

OLSR protocol in NS-2.35 (ns2)

OLSR protocol is called as Optimized link State routing protocol and is defined by  http://tools.ietf.org/html/draft-ietf-manet-olsr-03 The OLSR is available as a patch for ns2 for various versions. There is a new version UM-OLSR patch in the given link below. OS Used: Linux Mint 14 and Ubuntu 12.10 The following files are modified in ns-2.35 for OLSR ~ns-2.35/Makefile.in ~ns-2.35/common/packet.h ~ns-2.35/queue/priqueue.cc ~ns-2.35/tcl/lib/ns-agent.tcl ~ns-2.35/tcl/lib/ns-default.tcl ~ns-2.35/tcl/lib/ns-lib.tcl ~ns-2.35/tcl/lib/ns-packet.tcl ~ns-2.35/trace/cmu-trace.cc ~ns-2.35/trace/cmu-trace.h Download the OLSR File here (the original OLSR may contain some bug, so download from this location for bug free OLSR Code) Copy the file from ns-modified files/ to the corresponding location Ensure that you have a fresh installation of ns-2.35 (else pasting these files will overwrite the information what you have earlier) The zip file also has a patch file that can b...

VANET SImulator in Fedora 19 (32 bit) - SUMO and MOVE

Simulation of Urban Mobility (SUMO) along with MOVE is a software that helps in simulating  the VANETs. SUMO is the software that does the mobility of nodes, edges, etc from the MOVE software. Installation of SUMO and MOVE in Linux is always a challenging job. This post tells the installation of both these softwares SUMO and MOVE Installation of SUMO In my case, I have used Fedora 19 (32 bit) OS. There are many problems in 64 bit version of Fedora 19, but 32 bit OS uses perfectly. Execute the command one by one. sudo yum update sudo yum install perl libFOX-1.6.so.0  libGLU.so.1 libgdal.so.1 libproj.so.0 libxerces-c-3.1.so (this will install almost 30 MB of softwares downloaded from the internet) Fedora 19 Download the sumo software from http://download.opensuse.org/repositories/home:/behrisch/Fedora_19/i686/ there will be SVN versions and source files, but you can download ,  sumo-0.18.0-2.3.i686.rpm  Once downloaded, open the terminal and giv...

Installing Network Simulator 2 (ns-2.35) in Ubuntu 13.10 (64 bit)

This post will tell the installation steps for NS2 under Ubuntu 13.10. Step 1:  Download NS2 package (ns-allinone-2.35) Step 2:  Copy the file to /home/pradeep folder (you can use your corresponding home path). Step 3:  Open the terminal and execute the commands one by one Prompt:- sudo apt-get install build-essential autoconf automake libxmu-dev  (all these packages may not be needed, but install all the above for a safer installation of ns2) Prompt:- tar zxvf ns-allinone-2.35.tar.gz Prompt:- cd ns-allinone-2.35 Open the file (~ns-2.35/linkstate/ls.h)  using gedit or vi or vim and in line number 137 and change the following line void eraseAll() { erase(baseMap::begin(), baseMap::end()); } to void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); } Prompt:- ./install  ns2.35 on ubuntu Once the installation is completed you may see the screen like the image given below. Copy the PATH and LD_LIBRARY_PATH informatio...

Tracegraph installation in Ubuntu 13.10 (64 bit)

Installing Tracegraph in Linux is always a challenge and that too in a 64 BIT operating System. This post will help the readers in installing the tracegraph comfortably in Ubuntu 13.10 (64 bit OS). You may refer the older post too:  http://www.nsnam.com/2013/02/how-to-install-tracegraph-in-64-bit.html Ubuntu 13.10 is revamped with great features and also there are some limitations while installing 32 bit softwares in 64 bit OS. So here are the steps in Installing Tracegraph in Ubuntu 13.10 Download the Tracegraph.tar.gz file and copy it to the /home/username folder Enter the following commands one by one  Untar it by entering the command, " tar xvzf tracegraph.tar.gz " cd tracegraph202 ./trgraph  (if this command gives you ./trgraph command not found, the follow the next step) sudo apt-get install  lib32z1 lib32ncurses5 lib32bz2-1.0 libxi6 libxtst6 libxrender1 libxtst6:i386 libXp6:i386 libXt6:i386 The above command will...

Installing Network Simulator 2 (NS-2.35) in Fedora 19

Fedora 19 was launched last fortnight and it released with so many new features  http://pradeepkumar.org/2013/07/fedora-19-features.html To install Network Simulator 2 (ns-2.35), here are the steps to do it. For other OS, here is the installation instructions. in Fedora 18,  http://www.nsnam.com/2013/03/installing-ns-235-network-simulator-2.html in Linux Mint/Ubuntu 13.04  http://www.nsnam.com/2013/01/installation-of-network-simulator-2-ns.html Here comes the instructions for NS-2.35 in Fedora 19. Installation Instructions OS Used: Fedora 19 – 64 bit DVD Version  http://www.fedoraproject.org NS2: ns-allinone-2.35.tar.gz from http:// www.isi.edu/nsnam/ns/ ‎ Step 1: Copy the ns2 source file in to the home/ directory (always use the home directory and use ordinary user login) Step 2: unzip or untar the contents from the source file using the commands one by one cd /home/pradeepkumar tar zxvf ns-allione-2.35.tar.gz cd ns-allinone-2.35 Step 3...