Q: My EVE's HDD is full. How to expand HDD space in the EVE? 
A: It is achieved by adding new HDD to your EVE. Do not expand current HDD. Follow the guide to the link below.

http://www.eve-ng.net/index.php/documentation/howto-s-2/88-howto-expand-filesystem-on-eve-vm

 

Q: How to recover my EVE-PRO or make backup copy ?
A: Please follow this How To: Recover or backupe EVE-PRO

 

Q: How to backup content of EVE-NG ?
A: For backup EVE content copy following folders:

/opt/unetlab/addons/

/opt/unetlab/tmp/

/opt/unetlab/labs/

Optional: if you had created own templates in EVE-PRO then backup data below as well.

/opt/unetlab/html/templates/

/opt/unetlab/html/images/

/opt/unetlab/html/includes/config.php

 

Q: How to reset EVE management IP settings / DNS / NTP / Root password ?
A: from the EVE cli type: rm -f /opt/ovf/.configured. Then reboot and login from cli again. Your EVE will jump to initial setup wizard.

 

Q: My EVE is showing: "Eve host license host error (97)"? 
A: It can happen if your EVE was very long time offline and after power it on, EVE VM still not received the license validation token. It usually solves automatically in 15 minutes.

To force EVE Pro license validations please do:

1. make sure EVE is online and FQDN settings are properly configured.  You must be able to ping named ping, like: ping www.eve-ng.net
2. Then from EVE CLI issue command: systemctl restart licserver
3. after 3-5 mins check License with with fix permissions command: /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
It must show: Online Check state: Valid

 

Q: I cannot login in the EVE WEB UI? 
A: Usually it can be 2 issues.

First issue is, if you have simply overloaded your EVE HDD. To check if HDD is not overloaded, please issue command:

df -h

Make sure if no one value is showing 100%. If so you must expand EVE HDD. Expansion of HDD is mentioned above or in EVE Cookbook.

Second issue is, if you had powered off your PC when VM ware and EVE VM was running. Same could happen if you had used suspend VM. These two actions can crash your EVE SQL database. To fix SQL database issue cli command:

unl_wrapper -a restoredb

To do not crash your EVE SQL database, use the following EVE cli command to properly shutdown it:

shutdown -h now

 

Q: What happened to user roles (User, Editor)? 

A: User roles were removed from the comunity edition and all users are admins. User Roles are part of the the Learning Center Edition. (Detailed information about this version, its features and release dates will be posted on the site, stay tuned)

 

Q: When in HTML5 console, I click on disconnect and got into a guacamole login page and can’t get any sessions in HTML5 now.
A: Logout/Login from/into eve to be able to open html console again.

 

Q: Why Qemu nodes are slow on my I7 64G ram ?
A: Typically, Antivirus deep inspection slows down Vmware Workstation and Virtual machines. Last observation was that even nodes (vIOS, CSR) running on EVE were under AV inspection. Avoid using AV on Vmware binary.


Q: How to upgrade my EVE?

Watch VIDEO
A:run those commands:
       apt autoremove
        apt update
        apt upgrade

        ( reboot if needed  - see homepage instructions )

IMPORTANT: after updating your EVE VM reboot it and CLEAR your browser cache.

Q: How to migrate from UNL to EVE? Is an upgrade possible?
A: No. The only way is to backup all images, labs etc from UNL, Install fresh EVE from ISO or OVA and restore backups.

Q: Why my wireshark doesn’t work?
A: You need to edit C:\Program Files\EVE-NG\wireshark_wrapper.bat file and change root password to match one you use.

Q: Starting more then 10 CSR gives CPU HOG. What to do?
A: UKSM is good for 10 CSR, if you want to launch more than 10 CSR, disable UKSM

 

Q: How to fix permissions?
A: Run bellow command from cli
        /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Q: How to check which EVE-NG version is running from CLI?
A: Run those commands from cli for EVE-Community or EVE-Professional
        dpkg -l eve-ng
        dpkg -l eve-ng-pro

 

Q: What is the default username and password for EVE-NG?
A: CLI   - root/eve
    WEB - admin/eve 

 

Q: How to connect multiple nodes to the same network?
A: Add a network object to the lab topology and connect multiple nodes to it.
  

 

Q: What is CPU Limit Status?
A: It's limiting CPU overload per node, but it does not involve common CPU utilization.

 

Q: My IOL nodes lost configuration in the NVRAM after upgrading to v2.0.3-53, what should I do?
A: Correct, if lab was created before version v2.0.2-23, IOL used old code with bugs which was fixed in later releases. new Version need re run node which will create new NVRAM for your IOL. Solution to keep your configurations: The best way if you have exported those configuration using export cfg feature. Then you can boot node after NVRAM wipe with your configuration in the new version of EVE.

 

Q: How to Reset/Recovery Web admin access?
A:  For community Edition, Type next 2 command lines in EVE CLI as Root user:

echo "DELETE from users where username = 'admin';" | mysql --host=localhost --user=root --password=eve-ng eve_ng_db

echo "INSERT INTO users VALUES ('admin',NULL,'root@localhost',-1,'Eve-NG Administrator','85262adf74518bbb70c7cb94cd6159d91669e5a81edf1efebd543eadbda9fa2b',NULL,'','admin','',1);" | mysql --host=localhost --user=root --password=eve-ng eve_ng_db

    
    This will add/restore "admin" account with password "eve" (without quotes)

A:  For Professionnal Edition (if you have older EVE Pro version 2.0.4-77 and below) , Type next 2 command lines in EVE CLI as Root user:

echo "DELETE from users where username = 'admin';" | mysql --host=localhost --user=root --password=eve-ng eve_ng_db

echo "INSERT INTO users VALUES ('admin',NULL,'root@localhost',-1,'Eve-NG Administrator','85262adf74518bbb70c7cb94cd6159d91669e5a81edf1efebd543eadbda9fa2b',NULL,'','admin','',0,-1);" | mysql --host=localhost --user=root --password=eve-ng eve_ng_db

    
    This will add/restore "admin" account with password "eve" (without quotes)

A:  For Professionnal Edition (if you have EVE Pro version 2.0.4-97 and higher) , Type next 2 command lines in EVE CLI as Root user:

echo "DELETE from users where username = 'admin';" | mysql --host=localhost --user=root --password=eve-ng eve_ng_db

echo "INSERT INTO users VALUES ('admin',NULL,'root@localhost',-1,'Eve-NG Administrator','85262adf74518bbb70c7cb94cd6159d91669e5a81edf1efebd543eadbda9fa2b',NULL,'','admin','',0,-1,'internal');" | mysql --host=localhost --user=root --password=eve-ng eve_ng_db

 
    This will add/restore "admin" account with password "eve" (without quotes)

 

 Q: How to fix error "Failed to lock the lab (60061) ?
 A: Type next  command line in EVE CLI as Root user:

find /opt/unetlab/labs/ -name '*.lock' -exec rm {} \;

 

Q: Which ports I must open on Firewall to grant telnet access from remote connection ?

A: EVE is using ports starting from 32768

Formula is = 32768+128*POD+1 -> 32768+128*POD+128    POD: user id ( admin = 0 )


Exemple: you got admin (POD 0) + 2 users ( POD 1, POD 2 ) 

32768+128*0+1(First port for POD0)   -> 32768+128*2+128(Last port of POD 2 ) = 32769 -> 33152

Port for Dummies:

POD First Port Last Port
0 32769 32896
1 32897 33024
2 33025 33152
3 33153 33280
4 33281 33408
5 33409 33536
6 33537 33664
7 33665 33792
8 33793 33920
9 33921 34048
10 34049 34176
11 34177 34304
12 34305 34432
13 34433 34560
14 34561 34688
15 34689 34816
16 34817 34944



so,...simple mathematics.
Of course you have to be sure open ports 80(443 if you use SSL) and 22.