Hi to all; I want to change the name of the ethernet interface, from ensXXX to eth0 but every time I do it and the kubic restarts, all the configuration is lost, can you help me with this? Best Regards GEM
Am 05.04.21 um 15:34 Uhr schrieb Gustavo Ezquerro:
I want to change the name of the ethernet interface, from ensXXX to eth0 but every time I do it and the kubic restarts, all the configuration is lost, can you help me with this?
There are multiple ways to change the interface name, so could you describe what you tried? Personally if I just want to turn off the "predictable" interface names entirely I'm just * adding the "net.ifnames=0" option to the kernel command line in /etc/default/grub. * rebuilt the initrd with `transactional-update initrd`. You can find more ways in https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfac... (Section "I don't like this, how do I disable this?"). Ignaz
Hi
I made the first modification
[image: image.png]
I made the transactional-update but the ip addr show after the reboot
[image: image.png]
All the information is gone
U_U
On Tue, Apr 6, 2021 at 2:01 AM Ignaz Forster
Am 05.04.21 um 15:34 Uhr schrieb Gustavo Ezquerro:
I want to change the name of the ethernet interface, from ensXXX to eth0 but every time I do it and the kubic restarts, all the configuration is lost, can you help me with this?
There are multiple ways to change the interface name, so could you describe what you tried?
Personally if I just want to turn off the "predictable" interface names entirely I'm just * adding the "net.ifnames=0" option to the kernel command line in /etc/default/grub. * rebuilt the initrd with `transactional-update initrd`. You can find more ways in
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfac... (Section "I don't like this, how do I disable this?").
Ignaz
-- Saludos. Gustavo Ezquerro Morales
participants (2)
-
Gustavo Ezquerro
-
Ignaz Forster