Posts

Showing posts from August, 2014

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…

Installing PyViz in NS3

Image
This post tells the method to install PyViz (or visualizer module) in ns3. Visualize is a module that shows the output in the form of animation and there are some packages need to be installed.
For installation of ns3, you may refer this link: http://www.nsnam.com/2014/08/ns3-installation-in-linux-mint-17.html
For another Animation NetAnim installation, follow this link: http://www.nsnam.com/2014/08/installing-netanim-software-for-ns3-in.html

Steps to install PyViz (visualizer)
1. Open the termina and execute the command one by one
pradeep@localhost $] sudo apt-get install python-dev python-kiwi python-pygoocanvas python-pygraphviz
pradeep@localhost $]  sudo apt-get install python-gnome2 python-gnomedesktop python-rsvg
Once installed, go to the ns-allinone-3.20 folder and execute this command 
pradeep@localhost $] cd ns-allinone-3.20
pradeep@localhost $] ./build.py --enable-examples --enable-tests

Thus "visualize" is installed successfully.
the general command to run the visualize…

NS3 installation in Linux Mint 17

Image
This post tells you how to install ns3 in Linux Mint 17 64 bit OS or Ubuntu 14.04. For both the OS, the installation procedure is same.

OS Used: Ubuntu 14.04 and Linux Mint 17
Instruction Set: 64 bits
NS3 Version: ns-allinone-3.20

Steps1: Open the Terminal and execute the command one by one
pradeep@localhost $] sudo apt-get update
pradeep@localhost $]sudo apt-get install build-essential autoconf automake libxmu-dev python-pygoocanvas python-pygraphviz cvs mercurial bzr git cmake NetAnim p7zip-full

the following screenshot shows the installation.
Step 2: Download the ns-allinone-3.20.tar.bz2 from the http://www.nsnam.org website.
Step 3: Copy the file to the /home/user/  and execute the commands one by one by opening the terminal
pradeep@localhost $] tar jxvf ns-allinone-3.20.tar.bz2
pradeep@localhost $] cd ns-allinone-3.20/
pradeep@localhost $] ./build.py --enable-examples --enable-tests


This process will take some amount of time to get it installed. Once installation is over, check a si…

Installing NetAnim software for NS3 in Ubuntu 14.04

Image
This post will tell you the installation instructions for NetAnim Software in Ubuntu.
NS3 is a discrete event simulator similar to ns2 and both vary depends on the languages in which they were used.
NS3 uses C++ with optional Python bindings, whereas ns2 uses OTCL with C++.
The ns2 comes with a default network animator called nam and it will be there in the allinone package of ns2.  But ns3 does not have any default animator, but there is a support from the NetAnim.

NetAnim is a software that process the xml files for graphical output which are generated through ns3. 

Method 1:
NetAnim can be downloaded from the URL http://code.nsnam.org/jabraham3/netanim-3.104

Method 2:
However, ubuntu or debian or Linux Mint solves this problem through apt-get itself.

Prerequisites:

NS3 compiled (or installed) OS Used: Ubuntu 14.04 64 bitNS3 Version (ns-3.20) See this post to install ns3: http://www.nsnam.com/2013/09/ns3-installation-in-linux-mint-14-64bit.html

pradeepkumar@pradeepkumar~$ sudo apt-get i…