Skip to main content

Posts

Showing posts from January, 2020

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 Kali Linux 2019 along with Windows 10

Kali Linux along with Windows 10 Kali Linux 2019. For Detailed Instructions: Please follow the Video Link Step 1: Have a pen drive or USB Drive of minimum 8GB (16GB Pendrive) Format it to FAT32 Partition. Step 2: Check your Disk Drive Properties. MBR or GPT Master Boot Record, GPT- GUID Partition Table. See the following image, It shows the partition style as "Master Boot Record" Master Boot Record Step 3: Download bootable Software (RUFUS). Its a powerful USB bootloader creator software. rufus works only with windows. See the following image for rufus window. Use of DD Mode is preferred instead of ISO Model for Kali Linux (Else you might get an error like CD ROM Detection during installation...). Use dd MODE as given in the following figure Rufus Selection of DD or ISO Method. Step 4: Reboot the system and bring the bootloader. Rebooting now... Step 5 : Press F12 or ESC or F1 as per the Laptop model you have. There will be two options: USB HDD or EFI

TORA Protocol in NS-2.35 (NS2)

This post tells you how to enable the TORA (Temporally ordered routing Algorithm) protocol in Network Simulator 2 (ns-2.35) TORA is a protocol in wireless adhoc networks that works with timing parameters. NS-2.35 comes with the TORA protocol by default but it has to be tweaked manually to make it run. This post will help you to do that. You can watch this video for detailed instructions: Step 1: Generate a Scenario for TORA protoco using NS2 Scenario Generator NSG Software. We have created a tcl file using NSG2.1.jar $] java -jar NSG2.1.jar Three files have to be modified ~ns-2.35/tora/tora.cc ~ns-2.35/tora/tora.h ~ns-2.35/imep/imep.cc There are various websites that tells you how to configure TORA by making changes to the above three files.  Change 1: tora.h In the tora.h file, go to the end of the File before the agent completes, include these two lines #include <classifier/classifier-port.h> protected: PortClassifier *dmux_; Tora.h C