Launch your timos from Web interface
on cli:
Look into: /opt/unetlab/data/Logs/unl_wrapper.txt
You should see commands to run timos:
Code: Select all
root@eve-ng:~# cat /opt/unetlab/data/Logs/unl_wrapper.txt
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_0 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_1 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_2 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_3 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_4 2>&1
Jun 03 14:59:10 INFO: tunctl -u unl24 -g root -t vunl24_1_5 2>&1
Jun 03 14:59:10 INFO: CWD is /opt/unetlab/tmp/24/749a0f62-d70b-481a-bb84-c4e9ebd30eef/1
Jun 03 14:59:10 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -T 24 -D 1 -t "7750SR" -F /opt/qemu/bin/qemu-system-x86_64 -d 0 -- -nographic -device e1000,netdev=net0,mac=50:18:00:01:00:00 -netdev tap,id=net0,ifname=vunl24_1_0,script=no -device e1000,netdev=net1,mac=50:18:00:01:00:01 -netdev tap,id=net1,ifname=vunl24_1_1,script=no -device e1000,netdev=net2,mac=50:18:00:01:00:02 -netdev tap,id=net2,ifname=vunl24_1_2,script=no -device e1000,netdev=net3,mac=50:18:00:01:00:03 -netdev tap,id=net3,ifname=vunl24_1_3,script=no -device e1000,netdev=net4,mac=50:18:00:01:00:04 -netdev tap,id=net4,ifname=vunl24_1_4,script=no -device e1000,netdev=net5,mac=50:18:00:01:00:05 -netdev tap,id=net5,ifname=vunl24_1_5,script=no -smp 1 -m 2048 -name 7750SR -uuid d65e3301-e910-4e55-896a-04d866b84895 -hda hda.qcow2 -machine type=pc-1.0,accel=tcg -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc > /opt/unetlab/tmp/24/749a0f62-d70b-481a-bb84-c4e9ebd30eef/1/wrapper.txt 2>&1 &
root@eve-ng:~#
From Web UI, stop your timos then on cli,
go into the same directory
Code: Select all
cd /opt/unetlab/tmp/24/749a0f62-d70b-481a-bb84-c4e9ebd30eef/1
After run the same command.
Code: Select all
/opt/unetlab/wrappers/qemu_wrapper -T 24 -D 1 -t "7750SR" -F /opt/qemu/bin/qemu-system-x86_64 -d 0 -- -nographic -device e1000,netdev=net0,mac=50:18:00:01:00:00 -netdev tap,id=net0,ifname=vunl24_1_0,script=no -device e1000,netdev=net1,mac=50:18:00:01:00:01 -netdev tap,id=net1,ifname=vunl24_1_1,script=no -device e1000,netdev=net2,mac=50:18:00:01:00:02 -netdev tap,id=net2,ifname=vunl24_1_2,script=no -device e1000,netdev=net3,mac=50:18:00:01:00:03 -netdev tap,id=net3,ifname=vunl24_1_3,script=no -device e1000,netdev=net4,mac=50:18:00:01:00:04 -netdev tap,id=net4,ifname=vunl24_1_4,script=no -device e1000,netdev=net5,mac=50:18:00:01:00:05 -netdev tap,id=net5,ifname=vunl24_1_5,script=no -smp 1 -m 2048 -name 7750SR -uuid d65e3301-e910-4e55-896a-04d866b84895 -hda hda.qcow2 -machine type=pc-1.0,accel=tcg -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc
You should see start ..... process used to start...
Code: Select all
3/5 13:3:45.919 INF Tennant_id = 24
3/5 13:3:45.919 INF Device_id = 1
3/5 13:3:45.919 INF TS configured.
3/5 13:3:45.919 INF Starting child (/opt/qemu/bin/qemu-system-x86_64 -nographic -device e1000,netdev=net0,mac=50:18:00:01:00:00 -netdev tap,id=net0,ifname=vunl24_1_0,script=no -device e1000,netdev=net1,mac=50:18:00:01:00:01 -netdev tap,id=net1,ifname=vunl24_1_1,script=no -device e1000,netdev=net2,mac=50:18:00:01:00:02 -netdev tap,id=net2,ifname=vunl24_1_2,script=no -device e1000,netdev=net3,mac=50:18:00:01:00:03 -netdev tap,id=net3,ifname=vunl24_1_3,script=no -device e1000,netdev=net4,mac=50:18:00:01:00:04 -netdev tap,id=net4,ifname=vunl24_1_4,script=no -device e1000,netdev=net5,mac=50:18:00:01:00:05 -netdev tap,id=net5,ifname=vunl24_1_5,script=no -smp 1 -m 2048 -name 7750SR -uuid d65e3301-e910-4e55-896a-04d866b84895 -hda hda.qcow2 -machine type=pc-1.0,accel=tcg -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc).
press ctrl+c
an launch the subcommand showed:
Code: Select all
/opt/qemu/bin/qemu-system-x86_64 -nographic -device e1000,netdev=net0,mac=50:18:00:01:00:00 -netdev tap,id=net0,ifname=vunl24_1_0,script=no -device e1000,netdev=net1,mac=50:18:00:01:00:01 -netdev tap,id=net1,ifname=vunl24_1_1,script=no -device e1000,netdev=net2,mac=50:18:00:01:00:02 -netdev tap,id=net2,ifname=vunl24_1_2,script=no -device e1000,netdev=net3,mac=50:18:00:01:00:03 -netdev tap,id=net3,ifname=vunl24_1_3,script=no -device e1000,netdev=net4,mac=50:18:00:01:00:04 -netdev tap,id=net4,ifname=vunl24_1_4,script=no -device e1000,netdev=net5,mac=50:18:00:01:00:05 -netdev tap,id=net5,ifname=vunl24_1_5,script=no -smp 1 -m 2048 -name 7750SR -uuid d65e3301-e910-4e55-896a-04d866b84895 -hda hda.qcow2 -machine type=pc-1.0,accel=tcg -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc
Now you should see on cli how timos works...
PS: btw I found a bug in templates of timos...
I will update template file for future release
in the meantime, change /opt/unetlab/html/templates/timos.php
and just before last line ( $p['qemu_options'] .= ' -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc';) add :
$p['cpu'] = 2;
$p['qemu_options'] = '-machine type=pc-1.0,accel=kvm';