Skip to main content

Posts

Showing posts from November, 2013

Installing ns-3.37 and ns-3.35 in Ubuntu | Ubuntu 22.04 | NS3

Multiple Versions of ns3 in Ubuntu 22.04 In this post, we are going to install two versions of ns3 namely ns-3.35 and ns-3.37  My OS is : Ubuntu 22.04 LTS (Long Term Support) ns-3.35 uses waf and (./waf --run scratch/first)  ns-3.37 uses cmake  (./ns3 run scratch/first.cc) So we will install both the packages  Go through the video for complete instructions To start with  $ sudo apt update  $ sudo apt install build-essential autoconf automake libxmu-dev g++ python3 python3-dev pkg-config sqlite3 cmake python3-setuptools git qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar gsl-bin libgsl-dev libgslcblas0 wireshark tcpdump sqlite sqlite3 libsqlite3-dev  libxml2 libxml2-dev libc6-dev libc6-dev-i386 libclang-dev llvm-dev automake python3-pip libxml2 libxml2-dev libboost-all-dev  I have downloaded both the versions of ns3 fr

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 be pa

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 give this command to i