Posts

Network Simulator 2 - presentation Slides

I have gone across more than 80 institutions in the country to give hands on session, workshop, seminars related to network simulator 2. Mostly I will try different simulations, different models for simulation, etc.

But basically, every researcher/students needs some basics to get to know about ns2.

These slides make you understand the basics of ns2. Still in the country, there are so many universities uses ns2 as their simulated platform for the networking course, wireless networks course, etc. reading these slides make you know the basics of ns2.

These slides can be downloaded from my slideshare profile.

Introduction to Network Simulator 2

Introduction to ns2 from Pradeep Kumar TS, PhD

Installation of Network Simulator 2

Installation of ns2 from Pradeep Kumar TS, PhD
Wired and Wireless Network Examples in ns2

Wired and Wireless Examples in ns2 from Pradeep Kumar TS, PhD
OTCL and C++ Linkages in ns2

OTcl and C++ linkages in NS2 from Pradeep Kumar TS, PhD
Recompiling Network Simulator 2

Re…

Error: Meta size 4064 too large (max = 1000)

Image
Error: Meta size 4064 too large (max = 1000)

When using Mannasim Simulator for ns2, you may encounter this error when you are trying to run a tcl file with LEACH protocol. Here is a small workaround for the solution.

To install mannasim, please go here.

To overcome the above error, open the file
~ns-2.35/common/packet.h
and change the following line

struct hdr_rca {
       int msg_type_;
       char meta_[1000];

to

struct hdr_rca {
       int msg_type_;
       char meta_[5000];

Since I get 4064 as meta size, i changed it to 5000, if you get more than 4064, then accordingly you can increase the meta size and compile it. 
Here is the important step to compile
~ns-2.35 $] ./configure --with-tcl-ver=8.5
~ns-2.35 $] make

Sometimes simply typing make will compile, but the .object files would not be created. So use the above two steps.

Here is the screenshot.



T S Pradeep Kumar

Installing Kali Linux Tools in Ubuntu or Linux Mint

Image
Kali linux is a debian based and its not easy to configure it on a typical PC. If the machine is UEFI based, then Kali is tough to customize.

So what is the alternative....? Here is the answer: Katoolin

Its the name of the package system for installing the entire kali linux tools (Penetration Testing) in Ubuntu or Debian based system.

Here I am trying to install inside my Linux Mint

OS Used: Linux Mint 18.2 Sonya
Prequisites: Python 2.7
Always perform these steps after the installation of ubuntu or Linux Mint

$] sudo apt update
$] sudo apt install build-essential autoconf automake libxmu-dev
$] sudo apt install git
$] git clone https://github.com/LionSec/katoolin.git
$] sudo cp katoolin/katoolin.py /usr/bin/katoolin
$] sudo katoolin

This will give various options as shown below
 In the above pic. Select 2 to View categories and you will get the screen as shown in the next image.
Select "0" to install all the applications.

This will install 1.3G to download and 3.5 GB space will be…

Contik OS - A Complete Video

Image
Contiki OS is an operating system for wireless sensor networks. You can use this OS to generate object code for supported sensors.

Please look at this following video that tells

How to use Contiki OSHow to deploy the OS in to motesHow to create our own application using ProtothreadsHow to create a target code for a given Sensor node and etc... Please comment below for any queries related to Contiki OS

T S Pradeep Kumar

Workshop on NS3 at VIT Chennai

Image
Network Simulation using NS3 workshop is being conducted at VIT Chennai on 31st August and 1st September 2017.  Please click the following link for registration: http://technovit.eventze.in/events
Also check  http://www.technovitchennai.com/

T S Pradeep Kumar

TCL installation error

Image
In case, if ns2 have to be recompiled based on a new addition of protocol or agent, there should be an entry to the Makefile.in. After the changes are made, the following things need to be done to compile the agents.

$] ./configure 
$] make 

but ./configure may throw an error as shown below like
"Configure: Error: Installation of Tcl Seems to be incomplete or not found"

To correct this problem, please try the following

$] ./configure --with-tcl-ver=8.5 

The above works only after the successful installation of ns2. If you are installing ns2 for the first time refer this blog post

http://www.nsnam.com/2014/11/ns2-installation-in-ubuntu-1404.html



T S Pradeep Kumar

Introduction to Contiki OS

Image
Introduction to Contiki OS

To install Contiki: Refer this post : http://www.nsnam.com/2014/09/contiki-os-operating-system-and.html

To Refer the Characteristics and comparison of Various OS, refer this Slides:



Operating System fo IoT from T S PRADEEP KUMAR
How to use Contiki OS for Sensor Simulation - A Detailed video is enclosed herewith.
It tells about
Oracle Virtual Box
How to create a Sensor mote using Contiki
How to write a new App in contiki
What are the different windows that categorise? and lot more. Refer this video



T S Pradeep Kumar