Skip to main content

Posts

Showing posts from October, 2015

MANET Routing Protocols using ns3

#AODV #OLSR #MANETs #DSDV #DSR

Download the Code here: 
https://drive.google.com/open?id=1OkVOsifjN9UfQjPGvfR7OuS-x_GBRgCV

Check the Video for Detailed instruction and how to use the plots, graphs and source code.


Comparison of MANET routing Protocols 1. AODV
2. DSDV
3. DSR
4. OLSR
using NS3 (Network Simulator 3)
B.Tech, M.Tech, PhD...
1. Reactive Vs Proactive routing
2. PErformance comparison of MANET protocols
3. AODV Vs DSDV Comparison

https://www.nsnam.com and also at my channel.

What Version: ns-3.29
My Ubunut OS is: Ubuntu 18.04

This file we are going to use for our simulation:
/home/networks/ns-allinone-3.29/ns-3.29/examples/routing/manet-routing-compare.cc

Once you under stand the code, now lets run this example

Step 1: Copy the above file in to ~ns-3.29/scratch/ folder

Step 2: Understand this code.
Step 3: Run this code
Open the terminal, Go to ns-3.29 and run the following command

$] ./waf --run scratch/manet-routing-compare

enable the following header file

#include "ns3/flo…

TinyOS Installation in Ubuntu 12.04 - IoT Perspective

This post tells you how to install TinyOS installation in Ubuntu 12.04 (I used this old OS as the tinyos 2.0.2 is released earlier and has the full support). However you can try installing in a recent OS also.  But prefer Ubunu with LTS support. 

OS Used: Ubuntu 12.04
Tiny OS Used: Pulled from git (an easier method to do the installation)


NesC compiler installation 

$] sudo apt-get update
$] sudo apt-get install build-essential autoconf2.64 automake libxmu-dev flex bison emacs gperf
$] git clone git://github.com/tinyos/nesc.git
$] cd nesc/
$] ./Bootstrap
$] ./configure 
$] make
$] make install (If not working, then try sudo make install)

Tiny OS installation

$] git clone git://github.com/tinyos/tinyos-main.git
$] cd tinyos-main/tools
$] ./Bootstrap
$] ./configure
$] make
$] sudo make install


 T S Pradeep Kumar