Installing GNS3 0.8.5 on Ubuntu 13.10

There are two ways to install GNS3 on Ubuntu :

First one is by Synaptic Package  Manager , it will install GNS3 in the way he want , we will not have full control of GNS3

Second we can install manually by creating folders and having  a full access on files , than we will have full control of GNS3

So in this tutorial we will do the second one :

Lets first get the latest update 

sudo apt-get update

Than install the following dependencies:

sudo apt-get install python
sudo apt-get install qt4-dev-tools
sudo apt-get install pyqt4-dev-tools
sudo apt-get install libncurses5-dev zlib1g-dev libsdl-dev libpcap-dev

Now create folder and change  access permissions for GNS3 

cd /opt

sudo mkdir GNS3_Folder && sudo chmod 777 GNS3_Folder

cd GNS3_Folder
mkdir projects && chmod 777 projects
mkdir images && chmod 777 images
mkdir temp && chmod 777 temp
mkdir cache && chmod 777 cache
mkdir qemu && chmod 777 qemu
mkdir captures && chmod 777 captures
mkdir dynamips && chmod 777 dynamips

Now we need to download the packages :

cd /opt/GNS3_Folder

wget http://sourceforge.net/projects/gns-3/files/GNS3/0.8.5/GNS3-0.8.5-src.tar.bz2

cd /opt/GNS3_Folder/dynamips

wget http://sourceforge.net/projects/gns-3/files/Dynamips/0.2.8-RC2/dynamips-0.2.8-RC2-x86.bin

cd /opt/GNS3_Folder/qemu

wget http://sourceforge.net/projects/gns-3/files/Qemu/Linux/QEMU-0.14.1b-GNS3-Ubuntu-Linux.tgz

Now let’s go back to GNS3_Folder and untar files

cd /opt/GNS3_Folder

sudo tar jxvf GNS3-0.8.5-src.tar.bz2

sudo chmod 777 GNS3-0.8.5-src

cd /opt/GNS3_Folder/GNS3-0.8.5-src

sudo chmod 777 *.*   – this will set full permission to files inside GNS3-0.8.5-src

cd /opt/GNS3_Folder/dynamips

sudo chmod 777 dynamips-0.2.8-RC2-x86.bin

cd /opt/GNS3_Folder/qemu

sudo tar -xvzf QEMU-0.14.1b-GNS3-Ubuntu-Linux.tgz

cd QEMU-0.14.1b-GNS3

./Qinstall  – this will install qemu for GNS3

Now open GNS3 through CLI via Terminal

sudo /opt/GNS3_Folder/GNS3-0.8.5-src/gns3

Selection_010

General:

we will configure some setting – the setting should be as they appearing on the picture

Selection_012

Dynamips:

After changing setting click on ” Test Settings ”

Selection_013

Capture: 

This will save all network traffic when you will use wireshark

Selection_014

Qemu: 

After you done changes to your setting click on ” Test Settings ”

Selection_015

If you want to create shortcut or launcher on desktop than try the following

sudo apt-get install gnome-panel

gnome-desktop-item-edit –create-new ~/Desktop

gksu python “/opt/GNS3_root/GNS3-0.8.5-src/gns3”

Selection_017

So this was installing GNS3 on Ubuntu 13.10 – do not hesitate to contact me if you are facing any problems

 

 

Advertisements

4 Responses to Installing GNS3 0.8.5 on Ubuntu 13.10

  1. anne0001 says:

    Very nice tutorial Lulzim. You’ve configured wireshark within GNS3. I think you must have wireshark installed at first to use it while running gns3. Any idea how to launch wireshark within gns3? Great work and thanks.

    • lulzimveliu says:

      Thanks Anne
      Yes , you need to install just simple command sudo apt-get install wireshark,its located under internet

  2. K Sethu Rathnam says:

    Hi,
    I tried installing as per the instructions given above. But when i run the command – “./Qinstall” , i’m getting an error viz – “Can’t import Qt modules, PyQt is probably not installed …”. I don’t know how to proceed from here, as i am a new bee in using ubuntu.

    • lulzimveliu says:

      Hi Seth
      try sudo apt-get install python-qt4, than try to update and upgrade the system , if it doesn’t work , see did you download the right file for QEMU

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: