Page 1 of 1

Problem with renaming ens3 to eth0

Posted: Thu Nov 08, 2018 5:35 pm
by netgus
Hello,

I need to create several Linux with different configurations. To do this, I followed the procedure described in EVE-COOK-BOOOK and on the website.

Everything works except that the last procedure of renaming the network card doesn't work. I followed the procedure in order.

Now I have a linux that displays: ip addr ens:.........
Whereas if I edit the file with nano, the network card is renamed as in the documentation. The only difference is that I used DHCP.

Someone would have a little idea how to solve this.

I work on EVE-NG PRO.

Thank you in advance.

Re: Problem with renaming ens3 to eth0

Posted: Thu Nov 08, 2018 8:20 pm
by Uldis (UD)

Re: Problem with renaming ens3 to eth0

Posted: Thu Nov 08, 2018 8:23 pm
by netgus
I found the problem.

Into yours documentation, It's specified :
sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 noquiet"/' /etc/default/grub
and on the web site:
sed -i 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="console=ttyS0,115200 console=tty0"/' /etc/default/grub
update-grub

I mix both and that works.

Re: Problem with renaming ens3 to eth0

Posted: Fri Nov 09, 2018 4:15 pm
by Uldis (UD)
Try to do p2.9 before 2.8

before to run this GRUB update you must rename manyally ens nic to eth !!!!!!!!!!!!

p 2.9 in this how to

http://www.eve-ng.net/documentation/ins ... re-install

is marked as very important !!!