It is currently Mon Oct 16, 2017 9:46 pm


All times are UTC




Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 5:23 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Written by Eric Gamess.

0 - First of all, you will need Debian Jessie x86. Version
amd64 will not work!!! Install Debian Jessie x86 on your
computer or on a VMware Virtual Machine. If you use
VMware Workstation, I recommend to use a basic window
manager such as xfce4. Gnome will not work well on the
actual version of VMware (version 10.0.1 or earlier). If
you use a real computer (not a VM), gnome or other window
manager will work fine. Note that Debian Jessie is the unstable
version for now (April 1st, 2014). Debian Wheezy (Debian 7),
the stable version, did not work for me.

1 - Install "gns3-gui"
apt-get install python3
apt-get install python3-setuptools
apt-get install python3-pyqt4
apt-get install python3-ws4py

Download the latest version from https://github.com/GNS3/gns3-gui/releases
unzip the archive
cd to the unzipped directory
python3 setup.py install

2 - Install "gns3-server"
apt-get install python3-zmq
apt-get install python3-tornado
apt-get install python3-netifaces

Download gns3-server-master.zip from: https://github.com/GNS3/gns3-server/releases
unzip the archive
cd to the unzipped directory
python3 setup.py install

3 - Fix the missing library for IOU
apt-get install libssl1.0.0
ln -s /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.4

4 - Install iouyap
Download iouyap.tar.gz from: http://sourceforge.net/projects/gns-3/f ... z/download
tar zxvf iouyap.tar.gz
cp iouyap /usr/local/bin/iouyap

5 - Specify your IOURC License file
You will need a License for IOU. It is a text file named "iourc" or "IOURC".
Start a xterm or a console
Run GNS3 by typing "gns3" and <ENTER> in the console
window you just opened. You will need to give your Membership
Number and email address.
Go to: Edit->Preferences->IOU on UNIX->General settings
In "Path to IOURC:", specify the path of your IOURC file.
Click "Apply" button
Click "OK" button

6 - Specify the location of iouyap
Go to: Edit->Preferences->IOU on UNIX->General settings
In "Path to iouyap (local Linux server only):", specify the path of your
iouyap file. In my case, it is "/usr/local/bin/iouyap". Modify step 4
if you want another location.
Click "Apply" button
Click "OK" button

7 - Specify your IOU images (e.g. i86bi-linux-l3-ipbase-12.4.bin)
Go to: Edit->Preferences->IOU devices->IOU images
In "IOU path:", specify the IOU image
Click "Save" button
Click "Apply" button
Click "OK" button

8 - You are ready
Now play with GNS3 v1.0. Your IOU devices must be ready
to be used.



_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 6:00 am 
Offline

Joined: Mon Jul 01, 2013 12:56 am
Posts: 3
For anyone looking for Debian Jessi x86.

http://cdimage.debian.org/cdimage/jessi ... etinst.iso


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 9:41 am 
Offline

Joined: Wed Nov 27, 2013 11:08 am
Posts: 66
Location: Portugal
Can't install NETIFACES.

Result of "sudo apt-get install python3-netifaces"

- E: Unable to locate package python3-netifaces


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 2:39 pm 
Offline

Joined: Wed Apr 02, 2014 2:34 pm
Posts: 4
Excellent, thanks you so much for this. I had performed all of this on an xubuntu 14.04 32-bit and the only piece I was missing was the installation of iouyap. Once I installed that and pointed GNS3 to it, it now works fine. So I have been able to get this working on Xubuntu 14.04 32-bit following these exact instructions. I would assume this would be the same for other *buntu distros.


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 3:49 pm 
Offline

Joined: Fri Jan 10, 2014 3:50 pm
Posts: 25
decided to try the linux version since I can't get past the network error: connection refused. Anyway, everything was working great up until the pt-get install python3-netifaces

which returned the same as the person above E: Unable to locate package python3-netifaces


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 4:14 pm 
Offline

Joined: Fri Jan 10, 2014 3:50 pm
Posts: 25
was able to run the install with just python-netifaces and complete the setup. However while it may look like everything is running I cannot open a console window and half the time I get "i86bi-linux-l2-adventerprisek9-15.1.bin: error while loading shared libraries:libcrypto.so.4: cannot open shared object file: No such file or directory


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 5:04 pm 
Offline

Joined: Wed Apr 02, 2014 2:34 pm
Posts: 4
Hey Axis,

Are you on a 32-bit version? Specifically, Debian or Ubuntu? If so Have you tried this:

ln -s /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.4

Also, run:

ldd i86bi-linux-l2-adventerprisek9-15.1.bin

paste the results of that command.


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 5:26 pm 
Offline

Joined: Wed Aug 14, 2013 4:22 pm
Posts: 30
Keep in mind that we are using Debian testing branch: the things are in motion and sometimes you can not get packages that were there yesterday. Make sure you are trying to installing Debian jessie, and you are trying to get python3-netifaces (that "3" is important). I was able to install everything yesterday, try a different mirror maybe.

jbrake wrote:
Hey Axis,

Are you on a 32-bit version? Specifically, Debian or Ubuntu? If so Have you tried this:

ln -s /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.4



I believe it should be ln -s /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/i386-linux-gnu/libcrypto.so.4 , since that is where the libraries are kept. It works for me.


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 7:44 pm 
Offline

Joined: Tue Apr 01, 2014 9:08 pm
Posts: 12
When I try to start the dynamips I get the following error:
server error [-3200]: Dynamips doesn't exist
server error [-3200]: uncaught exeption <class 'KeyError>: None

Any ideas?


Top
 Profile  
 
 Post subject: Re: Howto first alpha release on Linux Debian
PostPosted: Wed Apr 02, 2014 8:10 pm 
Offline

Joined: Tue Apr 01, 2014 2:11 pm
Posts: 43
Location: Ohio, US
shtivis wrote:
When I try to start the dynamips I get the following error:
server error [-3200]: Dynamips doesn't exist
server error [-3200]: uncaught exeption <class 'KeyError>: None

Any ideas?

Have you installed the required version of dynamips? If not, try the following:

Code:
sudo apt-get install libelf-dev
sudo apt-get install uuid-dev
sudo apt-get install libpcap-dev
wget https://github.com/GNS3/dynamips/archive/master.zip
unzip master.zip
cd dynamips-master/
sudo make
sudo mv dynamips.stable /usr/bin/dynamips


That worked for me to install the latest version of dynamips on Ubuntu 13.10



_________________
Joe Amen - Enterprise IT Consultant
CompTIA A+, Net+
CCNA in progress


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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