Interface eth0 not found

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
gui
Posts: 1
Joined: Fri May 19, 2017 4:53 pm

Interface eth0 not found

Post by gui » 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.

ramindia
Posts: 409
Joined: Sun Mar 19, 2017 10:27 pm

Re: Interface eth0 not found

Post by ramindia » Sat May 20, 2017 8:07 am

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!

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: Interface eth0 not found

Post by ecze » Sat May 20, 2017 9:59 am

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.

User avatar
SiD
Posts: 9
Joined: Sat Mar 24, 2018 4:22 pm

Re: Interface eth0 not found

Post by SiD » Sat Mar 24, 2018 4:26 pm

Google Cloud Computing is suports nested vm!
trying to install EVE-NG on debian 9..... no luck

User avatar
SiD
Posts: 9
Joined: Sat Mar 24, 2018 4:22 pm

Re: Interface eth0 not found

Post by SiD » Sat Mar 24, 2018 4:46 pm

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:~#
/////

User avatar
SiD
Posts: 9
Joined: Sat Mar 24, 2018 4:22 pm

Re: Interface eth0 not found

Post by SiD » Sat Mar 24, 2018 4:50 pm

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

User avatar
SiD
Posts: 9
Joined: Sat Mar 24, 2018 4:22 pm

Re: Interface eth0 not found

Post by SiD » Sat Mar 24, 2018 4:56 pm

found another lifehack...
https://www.freedesktop.org/wiki/Softwa ... faceNames/

but folder /etc/systemd/network/ is empty

User avatar
SiD
Posts: 9
Joined: Sat Mar 24, 2018 4:22 pm

Re: Interface eth0 not found

Post by SiD » Sat Mar 24, 2018 7:11 pm

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!

Post Reply