It is currently Thu Oct 01, 2020 12:56 pm


All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Mon May 12, 2014 3:16 pm 
Offline

Joined: Wed Feb 16, 2011 5:07 pm
Posts: 114
Hello all,

i would just like to inform you that if you are using Fedora 20 or openSUSE (version 12.3 or higher) you can try the new gns3 just installing it by your package manager :)

For Fedora 20:

Code:
cd /etc/yum.repos.d
wget http://download.opensuse.org/repositories/home:/anubisg1:/networking/Fedora_20/home:anubisg1:networking.repo
yum install gns3-gui


(you could actually use yum-config-manager. In any case the Repository URL is http://download.opensuse.org/repositori ... Fedora_20/

For openSUSE 12.3

Code:
zypper ar http://download.opensuse.org/repositories/home:/anubisg1:/networking/openSUSE_12.3/
zypper in gns3-gui


For openSUSE 13.1

Code:
zypper ar http://download.opensuse.org/repositories/home:/anubisg1:/networking/openSUSE_13.1/
zypper in gns3-gui


For openSUSE Tumbleweed

Code:
zypper ar http://download.opensuse.org/repositories/home:/anubisg1:/networking/openSUSE_Tumbleweed
zypper in gns3-gui



This will download and install the latest git build of gns3-gui and and gns3-server with all the related dependencies (iouyap included @gns3 developers!!! we want source code here!!!)

As a side note, in the repository you can also find the "legacy" version of gns3 (0.8.7) and autonetkit (latest git supporting json)

I personally tested it on Fedora 20 and Suse 13.1 and it works like a charm.

If you are asking yourself why you should trust my repository, well i'll just say that i am the person that creates the official openSUSE packages for LXDE and gns3/dynamips . Free to lookup my name if you don't believe it. (Andrea Florio andrea_at_opensuse_dot_org )

i hope this will be helpful to somebody

Andrea




Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Thu May 15, 2014 5:38 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Quote:
(iouyap included @gns3 developers!!! we want source code here!!!)


Here it is, I've put the code on GitHub. https://github.com/GNS3/iouyap

However, the original author will probably fork this and work from his own repo. I'll let you know.

Keep up the good work.

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Fri May 16, 2014 8:45 am 
Offline

Joined: Wed Feb 16, 2011 5:07 pm
Posts: 114
thanks alot, everything is packaged properly now including iouyap :)

if someone is looking for instructions on how to build it, here they are:

Required for compiling: gcc, flex, bison, libiniparser-devel, glibc-devel
Required for runtime : libiniparser (iniparser) libpthread (glibc)

Compile it manually:

bison --yacc -dv netmap_parse.y
flex netmap_scan.l
gcc -Wall -g *.c -o iouyap -liniparser -lpthread


Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Tue May 27, 2014 7:13 pm 
Offline

Joined: Tue May 27, 2014 7:04 pm
Posts: 1
I had a bit of trouble installing this using the provided repository, here's what error messages I got, and how I fixed it.
After running the server in another terminal window, I issued the "gns3" command :
Code:
>gns3
Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2878, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 698, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 600, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (ws4py 0.3.5 (/usr/lib/python3.3/site-packages), Requirement.parse('ws4py==0.3.4'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/gns3", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2882, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 596, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: ws4py==0.3.4


Looked like I had too new a version of ws4py (0.3.5) when gns3 was expecting version 0.3.4.

To fix this, I did some reading into how to install a specific version of ws4py. The command to install a specific version is this :
Code:
sudo pip-python3 install ws4py==0.3.4

The pip-python3 application should report that it found another version, uninstalled it, and installed the correct version :
Code:
>sudo pip-python3 install ws4py==0.3.4
[sudo] password for <user>:
Downloading/unpacking ws4py==0.3.4
  Downloading ws4py-0.3.4.tar.gz
  Running setup.py egg_info for package ws4py
   
Installing collected packages: ws4py
  Found existing installation: ws4py 0.3.5
    Uninstalling ws4py:
      Successfully uninstalled ws4py
  Running setup.py install for ws4py
   
Successfully installed ws4py
Cleaning up...


Verify by issuing command "gns3" and seeing the expected gui open.
This has been tested on Fedora 19 and Fedora 20.


Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Tue May 27, 2014 7:18 pm 
Offline

Joined: Wed Feb 16, 2011 5:07 pm
Posts: 114
I believe it was upgraded overnight.. I'll fix it in a short while.


Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Tue May 27, 2014 9:43 pm 
Offline

Joined: Wed Feb 16, 2011 5:07 pm
Posts: 114
Ok, I fixed the ws4py version mismatch... Thanks for reporting... In few minutes the packages will be published together with the latest git 1.0 alpha 6 dev 3

to solve it, on fedora:

Code:
yum clean all
yum downgrade python3-ws4py
yum upgrade


on opensuse:

Code:
zypper dup


Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Mon Jul 07, 2014 10:54 pm 
Offline

Joined: Mon Jul 07, 2014 10:49 pm
Posts: 4
Hi,

I've a problem in Fedora 20 when I try to use IOU.
When I start the device it stops in a few seconds:

Code:
[I 140708 00:51:57 iou_device:284] IOU IOU1 [id=1]: iouyap path set to /usr/bin/iouyap
[I 140708 00:51:57 iou_device:261] IOU IOU1 [id=1]: iourc file path set to /tmp/tmpvoxwz4
[I 140708 00:51:57 iou_device:477] IOU IOU1 [id=1]: NETMAP file created
[I 140708 00:51:57 iou_device:573] starting IOU: ['/home/user/GNS3/images/IOU/i86bi_linux-ipbase-ms-12.4.bin', '-L', '-c', 'initial-config.cfg', '1']
[I 140708 00:51:57 iou_device:575] logging to /tmp/gns3-y32l8w-files/iou/device-1/iou.log
[I 140708 00:51:57 iou_device:582] IOU instance 1 started PID=5408
[I 140708 00:51:57 iou_device:488] starting ioucon for IOU instance IOU1 to accept Telnet connections on 192.168.1.42:4001
[I 140708 00:51:57 iou_device:458] IOU IOU1 [id=1]: iouyap.ini updated
[I 140708 00:51:57 iou_device:502] starting iouyap: ['/usr/bin/iouyap', '-q', '513']
[I 140708 00:51:57 iou_device:504] logging to /tmp/gns3-y32l8w-files/iou/device-1/iouyap.log
[I 140708 00:51:57 ioucon:356] Telnet server ready for connections on 192.168.1.42:4001
[I 140708 00:51:57 iou_device:511] iouyap started PID=5410
[I 140708 00:51:57 iou_device:315] IOU1 has started
[I 140708 00:52:03 ioucon:634] exiting...
[I 140708 00:52:03 iou_device:610] stopping iouyap PID=5410 for IOU instance 1
[I 140708 00:52:03 iou_device:346] IOU1 has stopped


I've tried disabling the firewall, but the problem continues. Could be a problem with SELinux? Although I don't get any notification from SELinux.

Thanks.


Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Mon Jul 07, 2014 11:17 pm 
Offline
Site Admin

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

Can you post the content of /path-to-your-project/iou/device-1/iou.log?

Thanks,

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Tue Jul 08, 2014 2:52 pm 
Offline

Joined: Mon Jul 07, 2014 10:49 pm
Posts: 4
Hi,

Thank you for the quick reply.

This is the log:
Code:
/usr/bin/iouyap: Parsing NETMAP...
/usr/bin/iouyap: --------------
/usr/bin/iouyap: Starting IOU UDS listener
/usr/bin/iouyap: Starting IOU UDP listener
/usr/bin/iouyap: Main thread going to sleep
/usr/bin/iouyap: Received signal 15
/usr/bin/iouyap: Stopping listeners and cleaning up
/usr/bin/iouyap: Exiting


Top
 Profile  
 
 Post subject: Re: Install GNS3 1.0 on Fedora 20 and openSUSE >= 12.3
PostPosted: Tue Jul 08, 2014 2:59 pm 
Offline

Joined: Wed Feb 16, 2011 5:07 pm
Posts: 114
can you do "ldd /home/user/GNS3/images/IOU/i86bi_linux-ipbase-ms-12.4.bin" please? i think your problem is that you didn't set up your iou properly (you probably miss the libcrpto symlink or the license)

once you did that, please also run only:

/home/user/GNS3/images/IOU/i86bi_linux-ipbase-ms-12.4.bin -p 2001 -e 1




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

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:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO