Skip to main content

Posts

Showing posts from September, 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

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: The default insta

NS3 installation in Linux Mint 14 (64bit)

This blog is mainly dealing with Network Simulator 2 (NS2). However, more number of requests coming from my readers about the usage of NS3 for network simulation. So I started learning that too and here is the first post on NS3. NS3 is also a discrete event simulator for internet systems and targeted for mainly Education and research purpose. Ns3 uses two languages python and C++, whereas ns2 uses OTCL and C++. The codes from NS2 will not be executing under NS3, however there are some codes have been converted from NS2 like OLSR, etc. NS3 supports both IP and Non IP Based networks, protocols like OLSR, AODV, etc and networks like WiFi, WiMax, LTE, etc. This post will tell you how to install Network Simulator 3 (NS3) to be installed on a Linux Mint 14 (64bit OS). May be it will work too good for Ubuntu 13.04 also. The NS3 software can be downloaded from  http://nsnam.org . It consists of good documentation too. The recent version is 3.17 (ns-allinone-3.17) . Here is the webs