Skip to main content


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

Shell Script Examples

Bourne Again Shell (bash) is the common shell used in Unix/Linux based Operating Systems. Also these days, even Windows OS also comes with an option called Power Shell.  This post will list out some basic exercises that a shell can do. Do follow this blog with more number of exercises. To run a bash file, you can use either of these following commands bash sh ./ (in this case the should be made executable) For making executable file, use this command  chmod 755 1. A Shell to Handle a File, rename a given file, compress it and move it to a newfolder and decompress it in the newfolder 1: #!/bin/bash 2: touch pri.txt 3: ls > ; pri.txt 4: mv pri.txt file.doc 5: tar zcvf compress.tar.gz file.doc 6: mkdir newfolder/ 7: cp compress.tar.gz newfolder/ 8: cd newfolder/ 9: tar zxvf compress.tar.gz 2. A shell to find a particular string from a file and redirect it to anothe

Installation of OMNeT++ in Linux Mint 16

This blog post shows the installation of OMNeT++ in Linux Mint 16 (Ubuntu 13.10) . Linux Mint 16 is just launched this week and Linux Mint is derived from the Base source of Ubuntu 13.10 Let us see, how to install OMNeT++ in Linux Mint. My Settings Used Linux Mint 16 (Petra) 32 Bit OS (As OMNeT++ libraries are mainly 32 bit libraries) OMNeT++ Version 4.3 Unlike Windows 7 or 8, you need to download some extra softwares in Linux You can also see the following link if you want to try OMNeT++ in Windows 7 or Windows 8. 1. Download the OMNeT++ package from this  URL See the Screenshot below and Select the first link  OMNeT++ 2. Unzip it using the following command   tar zxvf omnetpp-4.3.1.tgz 3. Install the following libraries  sudo apt-get install build-essential autoconf automake libxmu-dev tcl tk tcl-dev tk-d

Installation of OMNeT++ in Windows 8 and Windows 7

OMNeT++ is one of the simulator available free of cost for academic use. It is a network simulation framework that simulates various wired, wireless network protocols. This post will tell you the installation steps as needed to run OMNeT++ in windows family (Windows 7 or 8) Tools Needed (or What I had) : Operating System - Tested in Windows 8, Windows 8.1 and Windows 7 All the Simulation libraries are developed in 32 bit, but still 64bit OS also supports. I have used 64 bit Windows 8 and 32 bit Windows 7 I have downloaded the Omnet version 4.3. Older Versions of OMNeT++ may need Visual Studio installation. Steps for Installation: Actually speaking, OMNeT++ is developed for Linux operating Systems, but this also supports Windows OS through the mingw (Minimalist GNU for Windows) support. Other One being Cygwin (If you want to use Cygwin try on your own). Step 1: Download the required software from this weblink: (See the figure and i choose the second one) http://omnetpp