I think Python updated python3 libraries and now it's not running. I'm using Ubuntu 14. I get error: File 'CiscoIOUKeygen.py', line 2 print '*********************************************************************' ^ SyntaxError: Missing parentheses in call to 'print' I tried to add parentheses to the print lines, but now i get error: Traceback (most recent call last): File 'CiscoIOUKeygen.py', line 18, in md5input=iouPad1 + iouPad2 + struct.pack('!L', ioukey) + iouPad1 TypeError: Can't convert 'bytes' object to str implicitly Any ideas?
It was not very clear to me but now I understand why there is no windows version of this script. You need to run it from the shell of your GNSVM and not from your main operating system. Here are some simple instructions using GNS3 2.1. ??? ???a Vice City Deluxe 2008 Election. 3 (Fairly sure its Python 3 and not Python 2) In the GNS Shell type, wget python3 CiscoIOUKeygen3f.py You should see your license key on the screen, it will look something like. [license] gns3vm = 73635fd3b0a13ah0; Type this into GNS3 Edit - Preferences - IOS on UNIX (The big white box) Don't forget to end the license with the; after your license key. [license] gns3vm = 73635fd3b0a13ah0.
To make this work do the following on the VM you are running IOU/IOL on. I use nano - so be sure you have that installed with the following command: apt-get install nano Next Move to the directory you are running IOU from: In EVE-NG it is this -->cd /opt/unetlab/addons/iol/bin Create the python script: nano key.py press Ctrl-O to save press Ctrl-X to exit now run the script: python2 key.py you will get some output. Now create your license file: nano iourc Paste the two lines in there for the license file, the first line is [license] press Ctrl-O to save press Ctrl-X to exit You may also need to make the iourc file executable: chmod +x iourc now paste the line starting with grep in the console. That should be it and the IOL should start now.