new install Nodes don't see/load dynamips image

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
plain_steve
Posts: 2
Joined: Thu Jan 19, 2023 3:36 pm

new install Nodes don't see/load dynamips image

Post by plain_steve » Thu Jan 19, 2023 4:00 pm

just installed eve-ng and loaded cisco 7200 image. ( followed instructions) . In the gui the node show no image slected and the drop down show no image

root@eve-ng-01:~# mkdir abc
root@eve-ng-01:~# cd abc
root@eve-ng-01:~/abc# ls
c7200p-adventerprisek9-mz.152-4.S6.bin
root@eve-ng-01:~/abc# unzip -p c7200p-adventerprisek9-mz.152-4.S6.bin > c7200p-adventerprisek9-mz.152-4.S6.ima ge
warning [c7200p-adventerprisek9-mz.152-4.S6.bin]: 28344 extra bytes at beginning or within zipfile
(attempting to process anyway)
root@eve-ng-01:~/abc# mv c7200p-adventerprisek9-mz.152-4.S6.image /opt/unetlab/addons/dynamips/
root@eve-ng-01:~/abc# cd
root@eve-ng-01:~# rm -rf abc
root@eve-ng-01:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

root@eve-ng-01:~# cat /opt/unetlab/data/Logs/unl_wrapper.txt
Jan 19 16:33:20 WARNING: Attribute ignored, invalid node_image (40006).
Jan 19 16:33:20 WARNING: Node has no valid image (40025).
Jan 19 16:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_0 2>&1
Jan 19 16:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_0.disable_ipv6=1
Jan 19 16:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_16 2>&1
Jan 19 16:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_16.disable_ipv6=1
Jan 19 16:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_17 2>&1
Jan 19 16:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_17.disable_ipv6=1
Jan 19 16:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_18 2>&1
Jan 19 16:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_18.disable_ipv6=1
Jan 19 16:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_19 2>&1
Jan 19 16:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_19.disable_ipv6=1
Jan 19 16:33:20 ERROR: Image not found (80014).
Jan 19 16:33:20 ERROR: Failed to build CMD line (80046).
Jan 19 16:33:20 Jan 19 16:33:20 ERROR: Failed to build CMD line (80046).
Jan 19 16:33:20 Jan 19 16:33:20 ERROR: Failed to start node (12).
root@eve-ng-01:~# ls /opt/unetlab/addons/dynamips/
c7200p-adventerprisek9-mz.152-4.S6.image
root@eve-ng-01:~# ls -lh /opt/unetlab/addons/dynamips/
total 85M
-rw-r--r-- 1 root root 85M Jan 19 15:31 c7200p-adventerprisek9-mz.152-4.S6.image


when running from the CLI
root@eve-ng-01:~# dynamips -P 7200 /opt/unetlab/addons/dynamips/c7200p-adventerprisek9-mz.152-4.S6.image
Cisco Router Simulation Platform (version 0.2.21-amd64/Linux stable)
Copyright (c) 2005-2011 Christophe Fillot.
Build date: Nov 25 2016 21:35:03

IOS image file: /opt/unetlab/addons/dynamips/c7200p-adventerprisek9-mz.152-4.S6.image

CPU0: carved JIT exec zone of 64 Mb into 2048 pages of 32 Kb.
NVRAM is empty, setting config register to 0x2142
C7200 instance 'default' (id 0):
VM Status : 0
RAM size : 256 Mb
IOMEM size : 0 Mb
NVRAM size : 128 Kb
NPE model : npe-400
Midplane : vxr
IOS image : /opt/unetlab/addons/dynamips/c7200p-adventerprisek9-mz.152-4.S6.image

Loading ELF file '/opt/unetlab/addons/dynamips/c7200p-adventerprisek9-mz.152-4.S6.image'...
load_elf_image: invalid load address 0xa000
C7200 'default': failed to load Cisco IOS image '/opt/unetlab/addons/dynamips/c7200p-adventerprisek9-mz.152-4.S6.image'.
Unable to initialize router instance.
You do not have the required permissions to view the files attached to this post.

Uldis (UD)
Posts: 5086
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: new install Nodes don't see/load dynamips image

Post by Uldis (UD) » Thu Jan 19, 2023 9:19 pm

WRONG image names

In the Ubuntu name is very sensitive, extra letter or uppercase makes sense

your image name is c7200p-
but must be
c7200-
You do not have the required permissions to view the files attached to this post.

plain_steve
Posts: 2
Joined: Thu Jan 19, 2023 3:36 pm

Re: new install Nodes don't see/load dynamips image

Post by plain_steve » Fri Jan 20, 2023 1:47 pm

Thank you for the reply and the solution.

Post Reply