Easy
step by step procedure for beginners in NS-3.24 installation in
UBUNTU 12.04 LTS or UBUNTU 14.04LTS
D.VINAYAGAM M.Tech
vinotd@gmail.com
+918681954006
NS3 Installation in Ubuntu 12.04 version
Ubuntu 2012(12) april(04) RELEASE
Installation of Dependencies
vina@ubuntu:~/workspace/bake$
sudo apt-get update
vina@ubuntu:~/workspace$
sudo apt-get install gcc g++ python python-dev qt4-dev-tools
mercurial bzr cmake libc6-dev g++-multilib gdb valgrind gsl-bin
libgsl0-dev libgsl0ldbl flex bison libfl-dev tcpdump sqlite sqlite3
libsqlite3-dev libxml2 libxml2-dev libgtk2.0-0 libgtk2.0-dev
uncrustify python-pygraphviz python-kiwi python-pygoocanvas
libgoocanvas-dev
vina@ubuntu:~/workspace$
sudo apt-get install vtun lxc bridge-utils uml-utilities
vina@ubuntu:~/workspace$
sudo apt-get install doxygen graphviz imagemagick texlive
texlive-extra-utils texlive-latex-extra python-sphinx dia
vina@ubuntu:~/workspace$
sudo apt-get install python-pygccxml
vina@ubuntu:~/workspace$
sudo apt-get install libxml2-dev
vina@ubuntu:~/workspace$
sudo apt-get install python-setuptools
vina@ubuntu:~/workspace$
sudo apt-get install gnuplot plotdrop
vina@ubuntu:~/workspace$
sudo apt-get install wireshark
----------------------------------------end
package updation------------------------------------
know
your location/directory at present
vina@ubuntu$
pwd
make
a directory
vina@ubuntu$
mkdir workspace
download
ns-3 package
vina@ubuntu:~/workspace$
sudo apt-get install wget
vina@ubuntu:~/workspace$ wget http://www.nsnam.org/release/ns-allinone-3.23.tar.bz2
unrar
the ns-3-allinone package
vina@ubuntu:~/workspace$
tar -xvjf ns-allinone-3.24.tar.bz2
vina@ubuntu:~/workspace$
cd ns-allinone-3.24/
Compilation,
installation, building
vina@ubuntu:~/workspace$
chmod +x build.py
vina@ubuntu:~/workspace$
./build.py --enable-examples --enable-tests
vina@ubuntu:~/workspace$
cd ns-3.24/
vina@ubuntu:~/workspace$
./waf --enable-examples --enable-tests configure
vina@ubuntu:~/workspace$
./waf
run
command the file
vina@ubuntu:~/workspace$
./waf --run scratch/scratch-simulator
vina@ubuntu:~/workspace$
./waf --run scratch/first
------------------------------------------------------------------------------------------------------
If
anyone require workshop (hand on training for beginners) can contact
me for further details and i had mentioned the details below (contact
no. and email id)
-------------------------------------------------------------------------------------------------------
Aim
: to promote the research in NS-3 open source simulation
software with free GPL license) with Advanced features
to visualize, trace the logging, animate the networks virtually
and emulate the test network in NS-3 before hardware
implementation.
Objective
: Providing Practical and Theoretical training related
to NS-3 simulator.
Content:
Introduction
of use of NS-3 simulator and features
NS-3
Installation,
Bake
installation with all modules & development package for research
Tarball
installation with all modules
Basic
programming console (python and C++), how to use the simulator,
Develop
the NS-3 code with explanation from basic step
Basic
programs execution (build, compile, run) in NS-3
Simulate
all wireless scenarios and also examples programs for easy
understanding
Verifying
and tracing output using real world software (graphically, visually,
Animated, logging).
optional
: Basic procedures for including modules,
Adding
protocols/modules in specific, testing the protocol.
Requirements for Ns-3 installation
1. Vmware version 9 or Version 8 or higher with ubuntu 12.04 Operating system.
Specification in ubuntu 12.04 installation:
-
(20GB HDD for comfortable usage os ubuntu in future use)
-
(miminum 1.5GB ram guest OS (ubuntu 12.-04) allocated out 3GB ram mother OS(windows10 or 8 or 7)
2. INTERNET facilities with interruption or minimum 512kps link
or
1. Dual OS ubuntu 12.04 (updated)
(40GB HDD and minimum 2GB ram)
2. Internet connection for 2 to 6 hours
Requirements for Ns-3 installation
1. Vmware version 9 or Version 8 or higher with ubuntu 12.04 Operating system.
Specification in ubuntu 12.04 installation:
-
(20GB HDD for comfortable usage os ubuntu in future use)
-
(miminum 1.5GB ram guest OS (ubuntu 12.-04) allocated out 3GB ram mother OS(windows10 or 8 or 7)
2. INTERNET facilities with interruption or minimum 512kps link
or
1. Dual OS ubuntu 12.04 (updated) (40GB HDD and minimum 2GB ram)
2. Internet connection for 2 to 6 hours
Documents and ubuntu 12.04 module Given to students:
A VMWARE Module (ubuntu.vmx) with Ns-2.34-allinone package preinstalled in ubuntu 12.04 LTS
A VMWARE Module (ubuntu.vmx) with Ns-2.34-allinone & Ns-3-development (NS 2.24 package late 2015 release) package preinstalled in ubuntu 12.04 lts
Benefits: NS-3 workshop Manuals (Installation, NS-3 programs with output simulation, and prequites for Ns-3 Softwares installation will be provided.
Contact:
Vinotd@gmail.com Contact no. +918681954006
Location:
Pondicherry
Classes
will be handled in their colleges (located within India)
Give
the details of college/institutions for conducting the workshop.
Minimum
1 day for hand on training for full NS-3 installation.