It is currently Thu Oct 01, 2020 1:26 pm


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Updated Steps for Debian Install- Multiple Tabbed Console
PostPosted: Fri Apr 11, 2014 1:26 am 
Offline

Joined: Fri Apr 11, 2014 1:06 am
Posts: 1
Just created a revision for the Debian Install for the new Alpha release. Missing some things that abled me to get it running properly. My apologies to Eric Games and the others that put alot of work into submitting there thoughts for others to use. Greatly appreciated. Just put together a revision of other steps and mine into one place so people can get up and running faster.

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.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 gns3-gui-master.zip from https://github.com/GNS3/gns3-gui
unzip gns3-gui-master.zip
cd gns3-gui-master
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
unzip gns3-server-master.zip
cd gns3-server-master
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. Install Dynamips
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


6. This Step is not Mandatory but can provide increased legibility
Download INCONSOLATO font

apt-get install fonts-inconsolata

7. Download ROXTERM console client. Light weight with tabbed interface
apt-get install roxterm

8. Type in ROXTERM
Change profile and font and color settings to your choice.

9- 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

10 - 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

11. Specify Dynamips path in GNS3
Go to: Edit->Preferences
Specify the path of dynamips. In my case it is “/usr/bin/dynamips”. Modify the path if you want location
Click Apply button
Click OK button


12 - 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

13. Change console session
There is no ROXTERM selection but you can use any of the others. I use the MATE selection then type
Go to: Edit->Preferences->GeneralPreferences->ConsoleApplications
Type command below into Console Application Command field
roxterm -p gns3 -n %d --tab -e telnet %h %p

Press Apply and Ok

14 - You are ready
You can now use GNS3 alpha. See below for added commands for IOU devices.

15. IOU devices you might find generate %AMDP2_FE-6-EXCESSCOLL error messages
This is an issue with IOU images that had a fix for. They don’t impact performance as far as I can tell.
To get rid of these messages. Log into your IOU devices and go to Config T mode and type the following

logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS


You are done enjoy. Any comments or suggestions please add below. Thanks all.




Top
 Profile  
 
 Post subject: Re: Updated Steps for Debian Install- Multiple Tabbed Consol
PostPosted: Tue Apr 22, 2014 9:46 am 
Offline

Joined: Thu Apr 17, 2014 9:31 am
Posts: 2
Has anyone been able to successfully use SecureCRT with this Debian installation?


Top
 Profile  
 
 Post subject: Re: Updated Steps for Debian Install- Multiple Tabbed Consol
PostPosted: Sat May 31, 2014 1:30 am 
Offline

Joined: Fri May 30, 2014 5:48 pm
Posts: 5
I'm getting the error below when launching gns3



[email protected]:~/gns3/dynamips-master# gns3
GNS3 GUI version 1.0a6
Copyright (c) 2007-2014 GNS3 Technologies Inc.
[I 140530 18:28:59 main:74] current locale is en_US.UTF-8
****** Exception detected, traceback information saved in /root/.config/GNS3/exception.log ******

PLEASE REPORT ON development-f14.html OR http://github.com/GNS3/gns3-gui/issues

Traceback (most recent call last):
File "/usr/local/bin/gns3", line 9, in <module>
load_entry_point('gns3-gui==1.0a6', 'gui_scripts', 'gns3')()
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6-py3.3.egg/gns3/main.py", line 189, in main
handler = logging.FileHandler(os.path.join(os.path.dirname(QtCore.QSettings().fileName()), "GNS3_client.log"), "w")
File "/usr/lib/python3.3/logging/__init__.py", line 969, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib/python3.3/logging/__init__.py", line 993, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/root/.config/GNS3/GNS3_client.log'

Could not save traceback to /root/.config/GNS3/exception.log: [Errno 2] No such file or directory: '/root/.config/GNS3/exception.log'
[email protected]:~/gns3/dynamips-master#


Top
 Profile  
 
 Post subject: Re: Updated Steps for Debian Install- Multiple Tabbed Consol
PostPosted: Sat May 31, 2014 8:45 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Hi,

You used a dev version of GNS3. Please download the lastest release:

https://github.com/GNS3/gns3-gui/archiv ... alpha6.zip
https://github.com/GNS3/gns3-server/arc ... alpha6.zip

Thanks,

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Updated Steps for Debian Install- Multiple Tabbed Consol
PostPosted: Thu Jul 03, 2014 11:17 pm 
Offline

Joined: Tue Jun 10, 2014 2:26 am
Posts: 9
I just used these instructions to install on LinuxMint 17 Cinnamon 64bit with the following caveats/notes:

Step 2:
(optional):
Since I'm running 64bit linux I need to ensure I have the 32bit libraries for IOL to run correctly.
apt-get install ia32-libs
Additionally, IOL looks for libcrypto.so.4 so I soft link to available 32bit library.
ln -s /usr/lib/i386-linux-gnu/libcrypto.so.0.9.8 /usr/lib/i386-linux-gnu/libcrypto.so.4
Step 4:
IOUyap download path is truncated:
http://sourceforge.net/projects/gns-3/f ... z/download

Step 5:
Latest Dynamips uses cmake:
apt-get install git
cd dynamips
mkdir build
cd build
cmake ..
make install

Step 8:
Type in "roxterm" not "ROXTERM" (Case sensitive.)

Step 9:
Using your hostid (which is in the error message in the GNS3 console if you try to run an IOL image without the correct iourc key) and hostname generate a iourc key. (Need Cisco internal access to do so, FYI.)
nano ~/IOURC.txt
[license]
<hostname>: <key>




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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