View previous topic :: View next topic |
Author |
Message |
dansou90 n00b
Joined: 13 Apr 2012 Posts: 65
|
Posted: Fri Sep 07, 2012 8:15 pm Post subject: Packet Tracer 533 |
|
|
Hello,
is there anywhere an ebuild for the new packet tracer from Cisco? I'm currently leraning for the CCNA Exploration (Starting with the Network Fundamentals Course) and just wanted to install it on Gentoo, but there is only an ebuild for packet tracer 532 on the regen2 overlay. If there isn't, could you give me some advice on how to modify the existing one for the new version?
Thank you! |
|
Back to top |
|
|
anyNiXwilldo Apprentice
Joined: 20 Feb 2004 Posts: 176 Location: US
|
Posted: Tue Sep 11, 2012 10:50 pm Post subject: |
|
|
You don't have to have an ebuild. Log into netacad and download whatever Packet Tracer Fedora-rpm.bin you need. Use rpm2tgz to convert it from a .bin to .rpm file. Copy the rpm file to /. Then extract the rpm. It will dump everything in one folder at /usr/local/PacketTracer. When you don't need it any more, just delete that folder. Hope your system is multlib because the rpm is 32 bit. _________________ Of course you can have my root password. I'm on Hardened! |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Wed Sep 12, 2012 1:34 am Post subject: |
|
|
Although it may be safe to extract this one RPM manually, if it extracts to the location claimed, it is generally a very bad idea to install things that way. You should always install system-wide files through the package manager, so that they can be found and removed later. If the package is a prebuilt binary, as in this case, the ebuild for it will extract the archive, copy the files to $D, and possibly rearrange them. |
|
Back to top |
|
|
anyNiXwilldo Apprentice
Joined: 20 Feb 2004 Posts: 176 Location: US
|
Posted: Wed Sep 12, 2012 3:56 am Post subject: |
|
|
It most definitely is NOT the preferred way to install things. But if you extract it first in Gentoo (and not from the / directory) you can easily see what files it contains, as well as the install locations for those files. This way, you will know what it will do before you actually install it.
There's a better way though. Install qemu-kvm in your Gentoo. Download the Fedora 17 i686 iso. Install Fedora into qemu-kvm, then update it, which will take a while. Install libpng-compat, because Packet Tracer 533 or 5.3.3 or whatever the new one is, relies on libpng12, while Fedora defaults to libpng15. Once you've got libpng-compat installed, go to Netacad and download Packet Tracer for Fedora, chmod +x then ./Packet-tracer-long-a$$-name to install. yum install wireshark too, because you'll need it for the labs. _________________ Of course you can have my root password. I'm on Hardened! |
|
Back to top |
|
|
dansou90 n00b
Joined: 13 Apr 2012 Posts: 65
|
|
Back to top |
|
|
anyNiXwilldo Apprentice
Joined: 20 Feb 2004 Posts: 176 Location: US
|
Posted: Wed Sep 12, 2012 9:39 pm Post subject: |
|
|
I don't know how to modify the ebuild for what you want. You would need to edit this line, so that the ebuild would download the 533 version:
SRC_URI="http://cisco.netacad.net/cnams/resourcewindow/noncurr/downloadTools/app_files/${MY_PT}_Generic_Fedora.tar.gz
I tried to get to that folder by clicking on this link:
http://cisco.netacad.net/cnams/resourcewindow/noncurr/downloadTools/app_files/
Unfortunately, that link redirects to:
http://www.cisco.com/web/learning/netacad/index.html
And without the correct name of the version you want, the ebuild would have no way to download it.
It's working perfectly here on i686 Fedora 17 in qemu-kvm though. I was able to knock out a couple of labs this afternoon with it. I wasn't sure if it would work, since all of my Gentoo installs are nomultilib. _________________ Of course you can have my root password. I'm on Hardened! |
|
Back to top |
|
|
dansou90 n00b
Joined: 13 Apr 2012 Posts: 65
|
Posted: Mon Sep 17, 2012 2:26 pm Post subject: |
|
|
As the package is fetch restricted (you need to login to the Cisco Network Academy for downloading it), I think the SRC_URI Line isn't the one to change. I think it is one of the above lines; those which specify the version of the package. Here something has to be changed, but I don't know what. So is there anyone who has got some experience in writing ebuilds who could help out here? |
|
Back to top |
|
|
slugggerzzz n00b
Joined: 07 Mar 2012 Posts: 65 Location: Manchester, UK
|
Posted: Mon Oct 15, 2012 3:25 pm Post subject: |
|
|
I dont think there will ever be a ebuild for packet tracer.
Use GNS3 its supports full IOS. _________________ Slugggerzzz ... |
|
Back to top |
|
|
dansou90 n00b
Joined: 13 Apr 2012 Posts: 65
|
Posted: Mon Oct 15, 2012 4:28 pm Post subject: |
|
|
As I already said, there is an ebuild for version 5.32 - see my post above... |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Oct 15, 2012 5:23 pm Post subject: |
|
|
dansou90 wrote: | As I already said, there is an ebuild for version 5.32 - see my post above... |
dansou90 ... if you look at the ebuild it is hardcoded to download 533, so though named 5.32 it is actually 5.33 (I assume as whomever created the ebuild forgot to bump the package version when updating it). So, the ebuild should provide you with that version regardless of any changes. The issue however is that the package is 'fetch restricted' (meaning you have to have a cisco account, and download the tarball manually), and that is the only method by which it can be installed.
best ... khay |
|
Back to top |
|
|
|