Page 1 of 2
| [ 16 posts ] | Go to page1, 2Next |
How to generate Cisco IOURC licence key on GNS3 VM with Python 3. Here is a link for Cisco IOU gen for Python 2. Here is a link for Routing Loop. Running Cisco Switches on GNS3. April 6, 2016 May 9, 2016 ANJAN CHANDRA Catalyst Switch. C language basics pdf in telugu. Run the Keygen in IOU VM. Now write some simple command into the VM console. Bielsko-Biala, Poland; Machida, Japan; Izumo, Japan; San Jose, United States; Blida, Algeria. Quot;vilem helenquot; homero y marge haciendo el amor imagenes tomtom iberia ipa fileape aku pemuas nafsu bapak mertua quot; index jailbait barcoleta 2011 test bank for hesi exit.
Print view | Previous topic Next topic |
|
Author | Message |
---|
Posted: Wed Apr 02, 2014 10:49 am |
|
Joined: Mon Jul 25, 2011 6:32 am Posts: 24 | I am using keygen file to create license.uploaded the keygen.py file to same location using web browser. while runnning the keygen .py getting line2 syntax error. command using = python3 keygen.py Can anyone tell how to run the keygen.py and why it shows syntax error.
|
|
Top |
Posted: Wed Apr 02, 2014 11:20 am |
|
Joined: Wed Apr 02, 2014 7:52 am Posts: 37 | In Python3, print in now a function. Meaning you should have something like this print () not ' as it was in the earlier versions of Python. i.e. print '*********************************************************************' becomes print ('*********************************************************************') _________________ John Baptist, with love for networks
|
|
Top |
Re: Cisco IOU vs GNS3 tnewshott Dec 5, 2012 6:16 PM ( in response to grimord ) Cisco Learning Labs is a product offering that runs on top of IOU.
Posted: Wed Apr 02, 2014 11:42 am |
|
Joined: Mon Jul 25, 2011 6:32 am Posts: 24 | Thanks will try it. Can you tell the whole procedure to get the license no. I have the required files.
|
|
Top |
Posted: Wed Apr 02, 2014 6:25 pm |
|
Joined: Mon Nov 18, 2013 1:13 pm Posts: 26 | Hey guys, I faced the same problem that you'all are facing. First of all let me tell you that IOU is available only to the Cisco Employees. So if you're not the one you can't use it. But that's not the case.! You can get you own IOU license if you have a blank VM with Linux installed. Web IOU will also do. Just follow the steps: 1. Change the hostname and hostid in the new VM. 2. Change hostname with gns3-iouvm type command as hostname gns3-iouvm now type command hostid, you should be able to see 00000000 ( 8 0's ) 3. There is python crack which is available on net ( I am attaching the file ) 4. Copy the CiscoIOUKeygen.py to your new VM using WinSCP. 5. Execute the file as per the link http://vmgeeks.wordpress.com/2012/07/21 .. ware-esxi/ 6. Once thy python file has been executed you will be able to see your own license. Need any help feel free to ask. Regards, Nirav Dave.
Attachments: | CiscoIOUKeygen.py [1014 Bytes] Downloaded 3757 times
|
|
|
Top |
Post subject: Re: License problem for IOU |
|
Joined: Wed Apr 02, 2014 7:34 am Posts: 10 | In Python3, print in now a function. Meaning you should have something like this print () not ' as it was in the earlier versions of Python. i.e. print '*********************************************************************' becomes print ('*********************************************************************') I'd recommend running the keygen.py file using python 2.7 and not version 3.. as thats what works for me. if you need to change the hostid, you can use this shell script to set a value you like.. http://fazlearefin.blogspot.com.au/2013 .. hosts.html If you need, to make a copy of the keygen.py file and then statical set your hostid and hostname variables in the file and run it.
|
|
Top |
Posted: Tue Apr 15, 2014 11:07 am |
|
Joined: Sun Sep 16, 2012 9:55 pm Posts: 541 Location: England | I have managed to port the script to be compatible with both python 2.7 and python3. I have compared the output from the amended script and the original.. both generate the same for me!
Attachments: | CiscoIOUKeygen.py [1.03 KiB] Downloaded 10758 times
|
_________________ Daniel Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS. Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!
|
|
Top |
Posted: Wed Apr 23, 2014 8:04 pm |
|
Joined: Wed Apr 02, 2014 5:20 pm Posts: 80 Location: Lancaster, Pa | |
Top |
Post subject: Re: License problem for IOU |
|
Joined: Fri Apr 04, 2014 5:42 pm Posts: 11 | Hello, where do you put in the sudo python ... My IOU VM dont even understand the sudo command. thanx in advance. cheers,
|
|
Top |
Posted: Wed Jun 04, 2014 7:43 pm |
|
Joined: Sun Sep 16, 2012 9:55 pm Posts: 541 Location: England | You shouldn't need sudo to run the script.. It does othing that would require root privileges _________________ Daniel Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS. Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!
|
|
Top |
Posted: Wed Jun 04, 2014 7:47 pm |
|
Joined: Fri Apr 04, 2014 5:42 pm Posts: 11 | thanx. ok so I put the script on a directory in my vm iou that I downloaded here. And what is the command then to execute that script? Do I have to edit the script - so put in the Host-ID and Name? thanx a lot, cheers,
|
|
Top |
Page 1 of 2
| [ 16 posts ] | Go to page1, 2Next |
Cisco Iou Keygen Pygmy Download
Print view | Previous topic Next topic |
|
Author | Message |
---|
Posted: Thu Apr 24, 2014 8:20 am |
|
Joined: Thu Apr 24, 2014 8:04 am Posts: 3 | Hey guys, I am not exactly a noob when it comes to Unix/Linux, but I am also not an expert. Anyway, I have literally spent countless hours over the course of the last couple of weeks trying to get the IOU license to generate and let me begin to build my topology. I have read and followed the steps for cracking the license file outlined in this forum but I am still not able to get it to work. Here is my first issue when attempting to power on my IOUs: IOU License Error: invalid license License for key 3d8 required on host 'gns3-iouvm'. Obtain a license for this key and host from the following location: http://wwwin-enged.cisco.com/ios/iou/license/index.html Place in your iourc file as follows (see also the web page for further details on iourc file format and location) [license] gns3-iouvm = <16 char license>; I tried executing the CiscoIOUKeygen.py that someone kindly posted (python command does not work) and this is the output I see: [email protected]:/home# bash CiscoIOUKeygen.py Warning: unknown mime-type for '*********************************************************************' -- using 'application/octet-stream' Error: no such file '*********************************************************************' Warning: unknown mime-type for 'Cisco IOU License Generator - Kal 2011, python port of 2006 C version' -- using 'application/octet-stream' Error: no such file 'Cisco IOU License Generator - Kal 2011, python port of 2006 C version' CiscoIOUKeygen.py: line 4: import: command not found CiscoIOUKeygen.py: line 5: import: command not found CiscoIOUKeygen.py: line 6: import: command not found CiscoIOUKeygen.py: line 7: import: command not found CiscoIOUKeygen.py: line 9: syntax error near unexpected token `(' CiscoIOUKeygen.py: line 9: `hostid=os.popen('hostid').read().strip()'[/color] I am running Debian Jessie (same IOUvm provided on the GNS3 website). Also, here is are the contents of my IOURC file: [license] gns3-iouvm = 1020304050607080 *NOTE - I manually input the 16-character value seen above in the IOURC file. Any help would be greatly appreciated.
|
|
Top |
Posted: Thu Apr 24, 2014 10:27 am |
|
Joined: Sun Sep 16, 2012 9:55 pm Posts: 541 Location: England | The IOU license script shouldn't be run using bash (aka shell), as it is written in python. (They're different interpretors) Grab the script from: post28850.html#p28850 which will work with python 2.7 or python 3 From the terminal type in: python CiscoIOUKeygen.py This will then generate your license code _________________ Daniel Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS. Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!
|
|
Top |
Posted: Fri Apr 25, 2014 2:43 am |
|
Joined: Thu Apr 24, 2014 8:04 am Posts: 3 | Hi Dan, Thanks for your response. I tried running the script after uploading it to my VM but it still comes up with errors: [email protected]:/home/gns3/Documents/GNS3/images# python CiscoIOUKeygen10.py bash: python: command not found Any ideas?
|
|
Top |
Posted: Fri Apr 25, 2014 4:07 am |
|
Joined: Sat Oct 11, 2008 1:41 pm Posts: 2668 Location: Canada | Any ideas? Yes, try python3 _________________ Jeremy, GNS3 Programmer & Benevolent Dictator for Life.
|
|
Top |
Cisco Iou Image Download
Posted: Mon Apr 28, 2014 3:41 am |
|
Joined: Thu Apr 24, 2014 8:04 am Posts: 3 | Hi Jeremy, Thank you for the quick response and sorry for my delayed response! I ran the following command shortly after posting my last message to this thread: python3 CiscoIOUKeygen.py That command executed without issue. I added the license key to my IOURC file and it worked like a charm! Thanks again to both you and Daniel for helping me out!!!
|
|
Top |
Posted: Fri May 30, 2014 3:19 pm |
|
Joined: Sun Nov 29, 2009 5:22 am Posts: 47 | do you have to edit anything in the file? I got an error python3 CiscoIOUKeygen.py File 'CiscoIOUKeygen.py', line 2 print '*********************************************************************' ^ SyntaxError: invalid syntax
|
|
Top |
Cisco Iou Keygen
Posted: Fri May 30, 2014 3:40 pm |
|
Joined: Sun Sep 16, 2012 9:55 pm Posts: 541 Location: England | do you have to edit anything in the file? I got an error python3 CiscoIOUKeygen.py File 'CiscoIOUKeygen.py', line 2 print '*********************************************************************' ^ SyntaxError: invalid syntax Try the updated version of the script.. post28850.html#p28850
_________________ Daniel Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS. Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!
|
|
Top |
Cisco Iou Keygen Pygmy S