Skip to main content


Greedy Perimeter Stateless Routing (GPSR) protocol in ns3

GPSR - Greedy Perimeter and Stateless Routing.

VANETs - Vehicular Adhoc NEtworks.

Under and post graduate - You can use the modules as it is and compare these protcols for VANETs.

If you are a PhD scholar, you can modify the protocols and design your own GPSR alternatives.

In this video, we will be seeing the installation of GPSR and some source codes.

ns-3.27 which i could not succeed, So I prefer going to ns-3.23
we can both multiple version of ns3. I am going to run ns-3.23 for GPSR and other simulations with ns-3.27 and ns-3.29

Welcome to the Installation.

If you are installing ns3 for the first time, install the following packages.

(You can copy paste)

$] sudo apt install build-essential autoconf automake libxmu-dev  python-pygraphviz cvs mercurial bzr git cmake p7zip-full python-matplotlib python-tk python-dev python-kiwi python-gnome2 python-gnome2-dev qt4-dev-tools qt4-qmake qt4-qmake qt4-default gnuplot-x11 wireshark default-jdk

We will download the …
Recent posts

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"
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
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 (Select accordingly). In My case, I have selected USB HDD. Select Graph…

Installing TexLive 2019 in Ubuntu 18.04

Installation of TexLive 2019 in Linux (Ubuntu 18.04 LTS)
TeX (Tech)

Installation of TexLive 2019

Please watch the video for full installation

I used .iso file to download, the Total size is 3.3GB for Linux,

and i used the torrent file to download, it took me just 20 min to download the entire .iso file

Extract the .iso file to a folder and open a terminal

$] sudo ./install-tl
(it goes into a terminal mode, which is faster compared to the GUI Mode)

$] sudo ./install-tl -gui
after the installation, set the PATH, MANPATH and INFOPATH as suggested by LATEX

export PATH=$PATH:/usr/local/texlive/2019/bin/x86_64-linux
export MANPATH=/usr/local/texlive/2019/texmf-dist/doc/man
export INFOPATH=/usr/local/texlive/2019/texmf-dist/doc/info

put these lines in to the /home/pradeepkumar/.bashrc

$] gedit /home/pradeepkumar/.bashrc
We have installed TexLive 2019 and texstudio.

To install texstudio

$] sudo apt install texstudio
The look and feel of TexStudio looks like this image.

texlive, it install everyt…

Electrical Machine Design (equations)

FactorsDC Machine Transformers Induction Machines Synchronous MachinesOutput EquationPa=CoD2Ln, where Pa=P/h for generators, Pa=P for motorsFor Single Phase
Q=2.22 f Bm Ai Kw Aw d10-3
For Three Phase
Q=3.33 f Bm Ai Kw Aw d 10-3Q=CoD2 L ns
KVA Input Q=
HP * 0.746 / Cos f * hQ=CoD2 L ns
KVA Input Q=
HP * 0.746 / Cos f * h
For Turbo alternators
Q=1.11Bavac KwsVa2 L 10-3/nsOutput CoefficientCo=Bav ac* 10-3where Bav-magnetic loading and ac - electric loadingDNACo=11 Kws Bav ac 10-3Co=11 Kws Bav ac 10-3 Choice of Magnetic LoadingFlux Density in Teeth Frequency of Flux Reversals Size of machineDNAMagnetizing current, Flux Density, Iron lossIron loss, Stability, Voltage Rating, Parallel Operation, Transient ShortCircuit current Choice of Electric LoadingTemperature rise,
speed of machine, Voltage, Armature reaction, CommutationDNAOverload Capacity, Copper losses, Temperature rise, Leakage ReactanceCopper loss, Synchronous reactance, Temperature rise, Stray Load losses,
Voltage rating Flux …

Technology Tools for Teachers and Educators

The Mediocre teacher tells,
The good teacher explains,
The superior teacher demonstrates,
the great teacher inspires......

William Arthur Ward
If you are a teacher or a professor, you cannot survive with out technology and impress or inspire students of this generation. If you want to become a great teacher, here are some tools that you can use for your teaching and learning. The tools are characterised based on the categories. One or more of the tools can be used within or outside the classroom.
Presentation Tools
MS Office (Power Point, Word and Excel)Libre Office (Its Free and open source)WPS Office (Its free, have support of all the MS Office files)Prezi (Its a tool for infographics and animations within presentation)MS Sway (This is from Microsoft and its a graphic content generation that can make the students learn the subject in a greater depthKeynote (for Apple machines). Others also can use through to generate presentation using keynote.

Social Media
Facebook GroupsGo…

How to Access MOODLE in Intranet and Internet

When Moodle is accessed either in Intranet or internet, there will not be any issue. But occasions when the MOODLE Site has to be accessed both in the intranet and in the Internet, here is a simple trick
Server Used: IBM Blade Servers
Operating system: Windows Server 2008
Moodle Version: 2.4
WAMP Server is used.
Number of Users: 3000 (Students) + 200 (Faculty)
Open the config.php from ~/moodle/config.php
include these lines
$CFG->wwwroot = 'http://'.$server_id.'/vitcc';
$CFG->dataroot  = 'C:\\wamp\\moodledata';
before the following line
$CFG->directorypermissions = 07xx;
Restart the WAMP Server and you can Check MOODLE Site both in Internet and Intranet.

The above Image tells the intranet Link and the internet link can be opened outside the campus network

Virtual Host in Bitnami Lampstack

IF you have a website that runs with an IP address and you decide to move it to a domain, then here is the clear step.  Also this post will be helpful to you if you are running a same website by two different IP Address (One in campus and another outside the campus)

Your IP Address (Example): (Internal IP)
Your IP Address (Example): (External IP)

You want to move it to: (instead of

Step 1:
Open the file /opt/lampstack-5.5.31-0/apache/conf/bitnami/bitnami.conf
In the above file, Change these lines  (The bold lines are the changed ones)

<VirtualHost _default_:80>
DocumentRoot “/opt/lampstack-5.5.31-0/apache2/htdocs/site”
<Directory “/opt/lampstack-5.5.31-0/apache2/htdocs”>
Options Indexes FollowSymLinks
AllowOverride All
<IfVersion < 2.3 >
Order allow,deny
Allow from all
<IfVersion >= 2.3 >
Require all granted
<VirtualHost _def…

Mannasim Installation in NS2 - NS2 Tutorial # 18