GNS3
http://forum.gns3.net/

Howto first alpha release on Linux Debian
http://forum.gns3.net/topic8988.html
Page 1 of 3

Author:  grossmj [ Wed Apr 02, 2014 5:23 am ]
Post subject:  Howto first alpha release on Linux Debian

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.

Author:  roumys [ Wed Apr 02, 2014 6:00 am ]
Post subject:  Re: Howto first alpha release on Linux Debian

For anyone looking for Debian Jessi x86.

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

Author:  pguerreiro [ Wed Apr 02, 2014 9:41 am ]
Post subject:  Re: Howto first alpha release on Linux Debian

Can't install NETIFACES.

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

- E: Unable to locate package python3-netifaces

Author:  jbrake [ Wed Apr 02, 2014 2:39 pm ]
Post subject:  Re: Howto first alpha release on Linux Debian

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.

Author:  Axis [ Wed Apr 02, 2014 3:49 pm ]
Post subject:  Re: Howto first alpha release on Linux Debian

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

Author:  Axis [ Wed Apr 02, 2014 4:14 pm ]
Post subject:  Re: Howto first alpha release on Linux Debian

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

Author:  jbrake [ Wed Apr 02, 2014 5:04 pm ]
Post subject:  Re: Howto first alpha release on Linux Debian

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.

Author:  revs [ Wed Apr 02, 2014 5:26 pm ]
Post subject:  Re: Howto first alpha release on Linux Debian

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.

Author:  shtivis [ Wed Apr 02, 2014 7:44 pm ]
Post subject:  Re: Howto first alpha release on Linux Debian

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?

Author:  josephraa [ Wed Apr 02, 2014 8:10 pm ]
Post subject:  Re: Howto first alpha release on Linux Debian

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

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/