WEB-IOU (vm-22) can be run in ubuntu 16.04 using the virtual machine manager… You do not need VMWARE! For those whose exposure is limited only to VMWARE, and/or who have no interest in using KVM, return immediately to your Windows wheelchair because this is not for you.
download WEB-IOU or VM 22, or whatever it might be called at this time. It should turn up easily on a search. If you have any difficulty with this first step:
A) ask your dog or cat or mom for search instructions, or
B) forget it, you don’t deserve to use it
Once you’ve downloaded the archive file, v22 VM.zip, for example, unarchive it to a folder. If you need instructions on how to open an archive file, see A) or B).
The archive will expose 2 VMDK files. These are VMWARE files. These are the only 2 files of interest.
arteq@lab:~/vm22$ ls -al | grep .vmdk$
-rw-rw-r– 1 arteq arteq 953996288 Jul 5 2014 vm22-1.vmdk
-rw-rw-r– 1 arteq arteq 71680 Jul 5 2014 vm22-2.vmdk
As mentioned, the following presupposes you are not afraid of UNIX, that the CLI does not give you night sweats and that you don’t expect to receive a trophy merely because you participated.
verify that your bios supports KVM and that it is enabled
INFO: /dev/kvm exists
KVM acceleration can be used
Install qemu-kvm. This is your last chance to ask your mom for help…
sudo apt-get install qemu-kvm qemu virt-manager virt-viewer libvirt-bin
from the same directory run below qemu-img convert command to convert vmdk files to .img format. (RAW)
ls *.vmdk | xargs -n 2 -I % qemu-img convert % %.img
you now have 2 image files.
arteq@lab:~/vm22$ ls -al | grep .img
-rw-r–r– 1 arteq arteq 7516192768 Aug 23 18:07 vm22-1.vmdk.img
-rw-r–r– 1 arteq arteq 2147483648 Aug 23 18:07 vm22-2.vmdk.img
below cmd merges the two files into 1 raw image file
cat *.img >> vm22.raw
import the merged raw file into the VIRTUAL MACHINE MANAGER:
open virtual machine manager which you already installed as part of qemu package
import virtual machine from file drop down in virtual machine manager
choose radio button import existing disk image
click forward and add storage path (can be the local dir where you merged image files)
select os type and version:
linux ubuntu 16.04
hit forward button
add memory and cpu’s
at next screen hit finish (you can check “customize configuration before install” at your own risk. my suggestion is to keep it simple until you know what you are doing)
select finish and vm spins up. note ip address and log in as root with pwd cisco.
IMPORTANT if you get the error VT not supported when the vm spins up, check your linux box for this:
this should have been set in the bios
if kvm is supported, the issue is with the vm itself.
2 things to try
go to details-cpu
try check box “Copy host CPU configuration” and reboot the vm.
if the VT error remains:
uncheck “Copy host CPU configuration”
and manually type in the drop down box directly below “Copy host CPU configuration”
apply and reboot the vm
plug ip address into browser.
you will need to add support for telnet/ssh. in firefox go to about:config
add a new entry as boolean and it’s value is FALSE
network.protocol-handler.expose.telnet or something equally significant. MAKE SURE the entry is boolean with a value of FALSE..
you can try to get telnet to work natively as terminal, or xterm or whatever, but what i did was install putty.
you shouldn’t need to add a script, or use gconf-editor.
once you have supplied firefox with the false boolean, and after you’ve started devices in WEB-IOU (for which you will need to provide images),
the first time you click a device for telnet access you will be prompted to choose an application. Of course, I chose putty.
note: roxterm with tabbed term windows integrates easily; simply download eve-ng-integration
or use ppa:
sudo add-apt-repository ppa:smartfinn/eve-ng-integration
sudo apt-get update
sudo apt-get install eve-ng-integration
and edit with any editor:
sudo nano ~/.local/share/applications/eve-ng-integration.desktop
overwrite the Exec=env statement to read as below:
Exec=env OVERRIDE_TERMINAL_CMD=”roxterm –tab -e” eve-ng-integration %u