You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

Happy new year guys!!!, This is 2015 and without GNS3 1.2.1 running on Kali Linux i don’t think it will go well. On our previous tutorial on GNS3 we talked about how to install GNS3 1.2 on Ubuntu with a script. The provided script doesn’t work for Kali Linux  because of tons of unmet dependencies. To get GNS3 version 1.2 working on Kali Linux follow this tutorial, i tested it on My kali Linux 1.0.9 64-bit and it works fine.

 What is GNS3?
GNS3  is a graphical network simulator that allows you to design complex network  topologies.  You  may  run  simulations  or  configure devices  ranging from simple workstations to powerful Cisco routers. It is based on NS-3, a discrete-event network simulator for Internet  systems,  and  Dynamips,  an  IOS  emulator  which allows users to run IOS binary images from Cisco Systems.
Gns3 was written by Jeremy  GrossmannDavid  Ruiz,  Romain  Lamaison, Aurelien  Levesque  and  Xavier  Alt.

How to get GNS3 v1.2 running on Kali Linux
1) First thing to do is to add debian testing repositories to our repository list. To do this type:

 vi /etc/apt/sources.list

2) If you are not used to vi editor you can use leafpad with the following command:

leafpad /etc/apt/sources.list

 Add the following two  repositories at the end

deb testing main non-free contrib
deb-src testing main non-free contrib


How To Install Webmin in Ubuntu.

3) Do system update.

sudo apt-get update

4) upgrade your gcc compiler so that pycrypto can be build successfully. Say yes/ok to any prompt popping.

 sudo apt-get install gcc

5) Fix locale settings to messed up locales by gcc installation.

 sudo localedef -i en_US -f UTF-8 en_US.UTF-8

6) Get python3 and it’s  dependencies installed and working

sudo apt-get install python3-setuptools
sudo apt-get install python3-pyqt4
sudo apt-get install python3-ws4py
sudo apt-get install python3-netifaces
sudo apt-get install python3-zmq 
sudo apt-get install python3-tornado
NOTE: If you get an error while installing python3-tornado, don’t worry, GNS3 will just work.

7) To be able to build dynamips packages, install these dependencies.

sudo apt-get install cmake
sudo apt‐get install libelf‐dev
sudo apt‐get install uuid‐dev
sudo apt‐get install libpcap‐dev

8) Download
You should have an account in order to download, the good news is that you can use your facebook account to login, go to download and select linux source.

9) Unzip the file, it contains,,,

$ unzip

10) Build GNS3 server

$ cd GNS3-1.2.1-source
$ unzip
$ cd gns3-server-1.2.1
$ sudo python3 install
$ cd ..

11)Build GNS3 GUI

 $ unzip
 $ cd gns3-gui-1.2.1
 $ sudo python3 install
 $ cd ..

12) Build Dynamips

$ unzip dynamips-0.2.14
$ cd dynamips-0.2.14
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
$ sudo setcap cap_net_admin,cap_net_raw=ep /usr/local/bin/dynamips
$ cd ../..

14) Build GNS3 GUI

$ unzip
$ cd gns3-gui-1.2
$ sudo python3 install
$ cd ..

15) Meet IOU Dependencies

$ sudo apt-get install libssl1.0.0:i386
$ sudo ln -s /lib/i386-linux-gnu/ /lib/
$ sudo apt-get install bison
$ sudo apt-get install flex
$ sudo apt-get install git
$ git  clone
$ cd iniparser
$ make
$ sudo cp libiniparser.* /usr/lib/
$ sudo cp src/iniparser.h /usr/local/include
$ sudo cp src/dictionary.h /usr/local/include

Install iouyap

$ unzip
$ cd iouyap-0.95
$ make install
$ sudo cp iouyap /usr/local/bin/
$ cd ..

16) Install VPCS

$ unzip
$ cd vpcs-0.6
$ cd src
$ ./
$ sudo cp vpcs /usr/local/bin/
$ cd ../..

17)  Fix Gnome menu icons in GNS3

gconftool-2 --type Boolean --set /desktop/gnome/interface/menus_have_icons True

18) You’re done. Now it’s time to launch GNS3 1.2.1 Latest
I noticed that when you run gns3 as standard user, GNS3 does  not fill the screen, the only solution i know to this is starting gns3server as root and running GNS3 as root:

$ sudo gns3server

On another window launch gns3 as root

$ sudo gns3

That’s all…………………………………
Check: Installing Apache OpenOffice in Kali Linux, Ubuntu and Debian

 How to Install phpMyadmin in Kali Linux and Debian

As an appreciation for the content we put out,
we would be thrilled if you support us!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here