It is currently Wed Jun 19, 2013 5:50 pm


All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: How to Configure GNS3 0.8.2 ubuntu & mint X64
PostPosted: Tue Mar 13, 2012 7:13 am 
Offline

Joined: Mon Mar 12, 2012 5:05 pm
Posts: 3
Step 1: Open up Terminal for dependencies
sudo apt-get update
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
exit

Step 2:Download GNS3 ver 0.8.2 and extract in /opt

cd /opt
sudo wget http://sourceforge.net/projects/gns-3/f ... z/download

sudo tar -xjvf GNS3-0.8.2-src.tar.gz
sudo rm GNS3-0..8.2--src.tar.gz
sudo mv GNS3-0..8.2--src /opt/GNS3

or you can download manually from GNS site (http://www.gns3.net/download/) .


Step 3: Create the following directories in Ubuntu:
These directories will be used by GNS3 – such as projects – where your working projects will be stored, cache, temp, IOS images, etc.

cd /opt/GNS3
sudo mkdir Dynamips
sudo mkdir IOS
sudo mkdir Project
sudo mkdir Cache
sudo mkdir tmp
sudo chmod o+rw -R ./Project
sudo chmod o+rw -R ./tmp
sudo chmod o+rw -R ./IOS

Step 4 :Download binary of dynamips and make it executable

cd Dynamips ie (/opt/GNS3/Dynamips)
sudo wget http://www.ipflow.utc.fr/dynamips/dynam ... -amd64.bin
sudo chmod +x ./dynamips-0.2.8-RC2-amd64.bin

Step 5: . Go to edit | preferences and in the ‘Terminal command:’ section type in:
gnome-terminal -t %d -e ‘telnet %h %p’ > /dev/null 2>&1 &

Step 6. Under ‘Paths’ change the ‘Project directory:’ to

/opt/GNS3/Project
and the ‘IOS/PIX/ASA directory:’ to
/opt/GNS3/IOS

Step 7. Click on Dynamips tab on the left
For the ‘Executable path:’ type in
/opt/GNS3/Dynamips/dynamips-0.2.8-RC2-amd64.bin

Step 8. Change the ‘Working directory:’ to
/opt/GNS3/tmp
Click on the Capture tab on the left

Step 9. For the ‘Working directory for capture files:’ change it to
/opt/GNS3/Project

Step 10 For Qemu

wget http://download.savannah.gnu.org/releas ... 1.0.tar.gz
tar xvzf qemu-0.11.0.tar.gz
cd qemu-0.11.0
wget http://downloads.sourceforge.net/gns-3/ ... h?download
First copy this line :> patch -p1 -i qemu-0.11.0-olive.patch
then this line :> ./configure --target-list=i386-softmmu
make
sudo make install



Change qemu path to /usr/bin/qemu and qemu-img path to /usr/bin/qemu-img

Tip: if u want to run ASA then run first “directory/qemuwrapper/qemuwrapper.py” in terminal


Suggestion are welcome to make this article upto date.




Last edited by vipergt on Sun Sep 23, 2012 5:22 am, edited 9 times in total.

Top
 Profile  
 
 Post subject: Re: How to Install and Configure GNS3 ver 0.8.2 ubuntu 11.10
PostPosted: Tue Apr 10, 2012 10:51 am 
Offline

Joined: Tue Apr 10, 2012 10:16 am
Posts: 4
Hi ,

I am totally new to most of all .

My Systems information :

Ubuntu 11.10 64bit
GNS3 v .0.8.2


i follwed all the steps and went really good without any trouble ..

GNS 3 installation was successful . ----- Step - 1
Dynamips 64bit was cussessful ----- Step 2
Dynamips started on GNS3 ----- Step 3

Attachment:
dynamips.png
dynamips.png [ 132.83 KiB | Viewed 8185 times ]


Here is the problem starts on qemu : Step : 4

a . Downloaded the file file and patching files on home folder .
b . Extraceted and both folders and i copied files from Patch folder to pasted on the wemu folder .
Attachment:
qemupatching.png
qemupatching.png [ 214.77 KiB | Viewed 8185 times ]


Patching : Step : 5

Attachment:
patching-noerror.png
patching-noerror.png [ 77.57 KiB | Viewed 8185 times ]


Attachment:
qemu-config missging target.png
qemu-config missging target.png [ 120.4 KiB | Viewed 8185 times ]


Top
 Profile  
 
 Post subject: Re: How to Install and Configure GNS3 ver 0.8.2 ubuntu 11.10
PostPosted: Tue Apr 10, 2012 11:27 am 
Offline

Joined: Tue Apr 10, 2012 10:16 am
Posts: 4
FInally i found the solution for this issue


Qemu compilation and patching on Linux


Compiling Qemu on Linux (Ubuntu) is quite simple.

sudo apt-get install libncurses5-dev zlib1g-dev libsdl-dev libpcap-dev
wget http://download.savannah.gnu.org/releas ... 1.0.tar.gz
tar xvzf qemu-0.11.0.tar.gz
cd qemu-0.11.0
wget http://downloads.sourceforge.net/gns-3/ ... h?download
patch -p1 -i qemu-0.11.0-olive.patch
./configure --target-list=i386-softmmu
make
sudo make install


Top
 Profile  
 
 Post subject: Re: How to Install and Configure GNS3 ver 0.8.2 ubuntu 11.10
PostPosted: Sun Apr 22, 2012 2:01 pm 
Offline

Joined: Mon Mar 12, 2012 5:05 pm
Posts: 3
thx kartook for screenshot and making article up to date.


Top
 Profile  
 
 Post subject: Re: How to Install and Configure GNS3 ver 0.8.2 ubuntu 11.10
PostPosted: Sun Apr 22, 2012 5:57 pm 
Offline

Joined: Tue Apr 10, 2012 10:16 am
Posts: 4
step by step

http://goo.gl/z1FMW


Top
 Profile  
 
 Post subject: Re: How to Install and Configure GNS3 ver 0.8.2 ubuntu 1x.xx
PostPosted: Thu Jul 05, 2012 11:13 am 
Offline

Joined: Thu Jul 05, 2012 9:37 am
Posts: 1
There are typo with ./configure -- (dash dash) which are replaced by simple dash, after applying patch.
Another typo at step 6 of patching 6. patch -p1 -i qemu-0.14.1_net_hpatch => 6. patch -p1 -i qemu-0.14.1_net_h.patch (missing dot)

Thanks for this howto !


Top
 Profile  
 
 Post subject: Re: How to Install and Configure GNS3 ver 0.8.2 ubuntu 1x.xx
PostPosted: Mon Jul 16, 2012 9:28 pm 
Offline

Joined: Mon Jul 16, 2012 7:30 pm
Posts: 3
Hi great post

which downloads should I get if I'm using Ubuntu 11.0.4 32 bit.

When I run "make" and then "make Install"
I get...

net/udp.c:80: error: ‘NET_CLIENT_TYPE_UDP’ undeclared here (not in a function)
net/udp.c:123: note: previous definition of ‘net_init_udp’ was here
make: *** [net/udp.o] Error 1

Kind regards

NetworkZeus


Top
 Profile  
 
 Post subject: Re: How to Install and Configure GNS3 ver 0.8.2 ubuntu 1x.xx
PostPosted: Tue Jul 24, 2012 6:45 am 
Offline

Joined: Mon Mar 12, 2012 5:05 pm
Posts: 3
Did u patched the qemu with udp patch or not




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO