Skip to main content

Posts

Showing posts from July, 2015

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

Aqua Sim for NS2 - Underwater Sensor Networks

Sensor nodes deployed inside water are known to be underwater sensor networks. These network is helpful in fish cultivation, habitat monitoring, predicting ptusami, etc. Updated 9th April 2016 : the link to download the Aquasim is updated , the regular link is not working This network uses different MAC protocol, routing protocol, etc. Real test bed are costlier and one cannot afford it. Simulators are the ultimate solution to know about these networks. Aquasim is one such tool that is integrated in ns2 for handling underwater sensor networks. This simulator supports new mac layer, new protocols that are helpful in routing inside water. There are examples also to simulate these networks. Here is the installation steps of Aquasim.  Some points to be taken care of ns-allinone-2.30 is used in creating the underwater sensor networks  nam misbehaves (or does not work) in recent Ubuntu and Mint distributions.   Need to have the X11, automake and build essential tools to install A

nam installation - Segmentation Fault (Solved)

If you are encountering "Segmentation Fault" error while running nam in Ubuntu 14.04 or Linux Mint 17+ editions, this post will be helpful for you. Download the nam file from this link First, remove the nam which was installed earlier using the following command  pradeep@localhost $] sudo apt-get remove nam and install the new nam which was downloaded just now. go to the folder where the file was downloaded and issue the following command pradeep@localhost $]  sudo dpkg --install nam_1.15-10_i386.deb See the screenshot below to install and use nam Nam  T S Pradeep Kumar

Passive Optical Network (PON) in NS3

This post will tell you how to install and work with Passive Optical Network Simulation under NS3.  I request the readers to not to ask any help related to the working of this PON (Passive Optical Network) as I was helping one of my friend in compiling this tool. and I dont know anything about optical networks. Version: ns-allinone-3.19 PON: xgpon OS: ubuntu 14.04.2 and Linux Mint 17.2 Download ns-allinone-3.19 from here Download XGPON from here Installation of NS3 To install ns3, perform the following steps. 1. Open the terminal 2. Execute the following commands one by one pradeep@localhost $] sudo apt-get update pradeep@localhost $]sudo apt-get install build-essential autoconf automake libxmu-dev python-pygoocanvas python-pygraphviz cvs mercurial bzr git cmake NetAnim p7zip-full python-matplotlib python-tk Unzip the ns-allinone-3.19.tar.bz2 in the home folder (/home/pradeepkumar) pradeep@localhost $] tar jzvf ns-allinone-3.19.tar.bz2 pradeep@localhost $] cd