Page 1 of 1

Interface eth0 not found

Posted: Fri May 19, 2017 5:04 pm
by gui
Hello
I'm trying to get eve-ng running on a Google Cloud instance. I followed this install guide http://www.eve-ng.net/index.php/documen ... re-install but after rebooting the instance, I log in and see the eve-ng message saying that the "Interface eth0 was not found".
Is there any way to change the eve-ng installation to use interface ens4 instead of eth0 ?
I tried changing the Google Cloud instance interface name from ens4 to eth0 but it doesn't work (instance will lose connectivity).
Thanks in advance.
G.

Re: Interface eth0 not found

Posted: Sat May 20, 2017 8:07 am
by ramindia
gui wrote:
Fri May 19, 2017 5:04 pm
Hello
I'm trying to get eve-ng running on a Google Cloud instance. I followed this install guide http://www.eve-ng.net/index.php/documen ... re-install but after rebooting the instance, I log in and see the eve-ng message saying that the "Interface eth0 was not found".
Is there any way to change the eve-ng installation to use interface ens4 instead of eth0 ?
I tried changing the Google Cloud instance interface name from ens4 to eth0 but it doesn't work (instance will lose connectivity).
Thanks in advance.
G.
Just one tip for you.

Change /etc/network/interfaces configure your ens4 with IP address, reboot and try

use "lshw -C network" command to see what interfaces are configured.

R!

Re: Interface eth0 not found

Posted: Sat May 20, 2017 9:59 am
by ecze
Cloud instance works badly....
I tried a few month ago and was able to use eth0 as interface name but, nested virtualization is totally absent from google VM.
So Eve is unable to launch kvm VM ( ASA, Xrv, CSR, Vmx etc etc )

E.

Re: Interface eth0 not found

Posted: Sat Mar 24, 2018 4:26 pm
by SiD
Google Cloud Computing is suports nested vm!
trying to install EVE-NG on debian 9..... no luck

Re: Interface eth0 not found

Posted: Sat Mar 24, 2018 4:46 pm
by SiD
ok.
installed on Ubuntu 16.
cannot change interface
////
root@eve-ng:~# dmesg | grep -i eth
[ 1.100358] virtio_net virtio1 ens4: renamed from eth0
root@eve-ng:~#
/////

Re: Interface eth0 not found

Posted: Sat Mar 24, 2018 4:50 pm
by SiD
changed to static...no luck
after reboot

-Interface eth0 not found. -

root@eve-ng:~# dmesg | grep -i eth
[ 1.127610] virtio_net virtio1 ens4: renamed from eth0
root@eve-ng:~#

found on forums
"Look for “GRUB_CMDLINE_LINUX” and add the following”net.ifnames=0 biosdevname=0“.

From:
GRUB_CMDLINE_LINUX=""
To:
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0""
...
stilll no luck

Re: Interface eth0 not found

Posted: Sat Mar 24, 2018 4:56 pm
by SiD
found another lifehack...
https://www.freedesktop.org/wiki/Softwa ... faceNames/

but folder /etc/systemd/network/ is empty

Re: Interface eth0 not found

Posted: Sat Mar 24, 2018 7:11 pm
by SiD
about GCP nested virtualization
https://cloud.google.com/compute/docs/i ... -instances

about error "no eth0 found"
/etc/udev/rules.d/ change name there, profit!