HTML5 console seems to have a lot of bugs. Recommend using the Legacy console.
python /opt/unetlab/addons/iol/bin/CiscoIOUKeygen.py
rm /opt/unetlab/addons/iol/bin/CiscoIOUKeygen.py touch /opt/unetlab/addons/iol/bin/CiscoIOUKeygen.py nano /opt/unetlab/addons/iol/bin/CiscoIOUKeygen.py
print("*********************************************************************") print("Cisco IOU License Generator - Kal 2011, python port of 2006 C version") import os import socket import hashlib import struct # get the host id and host name to calculate the hostkey hostid=os.popen("hostid").read().strip() hostname = socket.gethostname() ioukey=int(hostid,16) for x in hostname: ioukey = ioukey + ord(x) print("hostid=" + hostid +", hostname="+ hostname + ", ioukey=" + hex(ioukey)[2:]) # create the license using md5sum iouPad1 = b'\x4B\x58\x21\x81\x56\x7B\x0D\xF3\x21\x43\x9B\x7E\xAC\x1D\xE6\x8A' iouPad2 = b'\x80' + 39*b'\0' md5input=iouPad1 + iouPad2 + struct.pack('!i', ioukey) + iouPad1 iouLicense=hashlib.md5(md5input).hexdigest()[:16] print("\nAdd the following text to ~/.iourc:") print("[license]\n" + hostname + " = " + iouLicense + ";\n") with open("iourc.txt", "wt") as out_file: out_file.write("[license]\n" + hostname + " = " + iouLicense + ";\n") print("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nCopied to the file iourc.txt\n ") print("You can disable the phone home feature by:") print("echo '127.0.0.127 xml.cisco.com' >> /et[c]/hosts\n")
python3 /opt/unetlab/addons/iol/bin/CiscoIOUKeygen.py
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Update EVE-NG
apt-get update -y apt-get upgrade -y reboot
Then you will probably have to power off/on the VM.
Check EVE Version
dpkg -l eve-ng dpkg -l eve-ng-pro
Add More Storage
virtiob.qcow2
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 40G
Check Free Space
df -h
veos-4.15.5M login: admin
csr1000v-3.16.00.S.155-3.S csr1000v-universalk9.03.14.00.S.155-1.S-std
c3725-adventerprisek9-mz.124-15.T14.image
c7200-adventerprisek9-mz-152-4.S7.image
asa-842-k8
asav-952-204
xrv-k9-6.0.1
viosl2-adventerprisek9-m-15.2.4055
olive-12.1.R1.9
login: root
cli
paloalto-7.0.1
Will have to use VNC to login in. Telnet will not work initially.
Login: admin
Password: admin
Default CLI username/password: admin/default
https://support.f5.com/csp/article/K13148
May not be needed for version 13
bigip-12.0
How to enable Telnet:
cd /opt/unetlab/addons/qemu/bigip-xxxx rmmod nbd modprobe nbd max_part=16 /opt/qemu/bin/qemu-nbd -c /dev/nbd0 hda.qcow2 mount /dev/nbd0p1 /mnt/ sed -e 's/ \(console=tty0 \)\([^c]\)/ \1 console=ttyS0 \2/' -e 's/\(^splashimage.*\)/#\1\nserial --unit=0 --speed=9600\nterminal --timeout=8 console serial\n/' -i /mnt/grub/grub.conf umount /mnt/ /opt/qemu/bin/qemu-nbd -d /dev/nbd0 rmmod nbd
Works
vios-adventerprisek9-m-15.6.2T
linux-tinycore-6.4 not working yet
L2-ADVENTERPRISEK9-M-15.2-20150703.bin
L2-ADVENTERPRISEK9-M-15.2-IRON-20151103.bin
Type the following via SSH to start:
LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L2-ADVENTERPRISEK9-M-15.2-20150703.bin 1
LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L2-ADVENTERPRISEK9-M-15.2-IRON-20151103.bin 2
LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L3-ADVENTERPRISEK9-M-15.2-M5.3.bin 1
LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L3-ADVENTERPRISEK9-M-15.4-2T.bin 1
systemctl restart licserver
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions dummy
Try setting your quality level to high in the VNC client session configuration instead of Auto.
https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-linux-host-image/
https://cloudmoran.wordpress.com/2019/04/18/eve-ng-qemu-modify-base-images/
# ip addr add 192.168.1.100/24 dev eth0 broadcast 192.168.1.255
# ip link set eth0 up
https://maunium.net/blog/resizing-qcow2-images/