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.
Problem with renaming ens3 to eth0
Moderator: mike
-
- Posts: 5067
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Problem with renaming ens3 to eth0
try read it again very carefully
http://www.eve-ng.net/documentation/ins ... re-install
http://www.eve-ng.net/documentation/ins ... re-install
-
- Posts: 6
- Joined: Tue Mar 21, 2017 6:08 pm
Re: Problem with renaming ens3 to eth0
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.
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.
-
- Posts: 5067
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Problem with renaming ens3 to eth0
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 !!!
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 !!!