Showing posts from January, 2016

Installing Kali Linux Tools in Ubuntu or Linux Mint

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
$] sudo cp katoolin/ /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…

ns3 modules

Ns3 is a network simulation software, it depends on various in built and third party tools for enablement.
Here are some of the third party modules that can be enabled while running ns3. This is a handy note for such modules.
All these examples were tried on the ~ns-3.24.1/examples/tutorial/ file

1. NetAnim#include "ns3/netanim-module.h"
AnimationInterface anim("third.xml");

Open NetAnim and open the xml file (third.xml in this case). Always prefer to use the inbuilt netanim rather than an installed version of NetAnim.

2. Ascii Trace FilesA…

Operating System for IoT

This slides shows the operating system for Internet of things and it also shows the features of OS.

Operating System fo IoT from T S PRADEEP KUMAR T S Pradeep Kumar

Enable All interfaces in Wireshark

If you are running Ubuntu or Linux Mint, the wireshark may not list all the interfaces except bluetooth. There is a small workaround for enabling all the interfaces within wireshark

To install wireshark
$ sudo apt-get install wireshark

Checking for all the interfaces
$] ifconfig -a 
eth0      Link encap:Ethernet  HWaddr b4:b5:2f:90:41:98  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5528 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5528 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:522095 (522.0 KB)  TX bytes:522095 (522.0 KB…

IOT - CoAP implementation in Contiki OS

Constrained Application Protocol (CoAP) is a lightweight http protocol that reads and controls the sensors deployed for IoT.
It has actions like get, post, put, delete, observe, discover.

This coap can be accessed similar like http, For ex: to access a particular mote (Sensor) with IPv6 like this
The above line will fetch the sensor boards peripherals and one can control from the browser itself. Firefox has a Cu plugin to enable CoAP within the browser. CoAP is already available for all the devices like IOS, Android, Windows, Linux, Mac, etc,

So here is an example in contiki that shows how to use this coap based application using a border router.

Step 1: Contiki SelectionOpen instant Contiki (Which runs on VMWare or Virtual Box)Open Cooja from the Desktop directly or Open the Terminal and give the following steps

$] cd /home/user/contiki-2.7/tools/cooja
$] ant run 
If you want to simulate huge number of nodes then 
$] ant run_bigmem

Step 2: Selecting Border router…

IOT - Border Router in Contiki OS

This post shows the introduction of Border router in Contiki OS. Border router or edge router is connected to internet when the other sensor nodes are reporting the data via the border router.
Implementation of this router is provided by all IOT operating systems.
Using this border router, how to transmit data to the internet, how neighbours are understood and how the routes are computed.
This example shows the implementation of Border router in Contiki OS

OS Used: Contiki 2.7
Simulator : Pooja

Step 1: Contiki Selection Open Instant Contiki (Which runs on VMWare or Virtual Box)
Open Cooja from the Desktop directly or Open the Terminal and give the following steps

$] cd /home/user/contiki-2.7/tools/cooja
$] ant run 
If you want to simulate huge number of nodes then 
$] ant run_bigmem

Step 2: Selecting Border router File - New Simulation -> Enter Simulation Name (Leave the defaults as it is ) and then Click "Create"

Click Add Motes -> Select Sky Mote

In the Firmware, Select…

NS2 projects with Source Code

Before shedding huge money for projects,  please go through the links which has source code along with how to execute the project.
The following projects are either taken from another website or from a open source hub and all the works are compatible with ns-2.35. It is a individual work done by me (T S Pradeep Kumar). For some projects, i lost the source code or its misplaced, but all these posts have detailed explanation that tells how to install these projects.  Also the source codes are provided from a google drive link.
(If any one have a source code and dont know to compile, please send it to me through my google+ link, I will compile for you and let you know the results).

This posts is suitable for PG students, Research scholars and Graduate students.

Aqua Sim in NS2LEACH Protocol InstallationSecurity Protocol as a packet (Agent/Security_packet)Adding a new agent and application in ns2AntNet (Ant colony Algorithm in ns2)SUMO and MOVE Example traffic Simulation (Do it yourself e…