23 lines
597 B
Plaintext
23 lines
597 B
Plaintext
# - ==========
|
|
# - How to rename network interface back to eth* (instead of i.e. enp0sXX)
|
|
# - ==========
|
|
|
|
Solutions:
|
|
==========
|
|
|
|
1.) Add 'net.ifnames=0' to parameter 'GRUB_CMDLINE_LINUX' at /etc/default/grub
|
|
|
|
GRUB_CMDLINE_LINUX="aufs=tmpfs console=tty0 console=ttyS0,38400n8 reboot=bios net.ifnames=0"
|
|
|
|
|
|
2.) (not tested!) Create a file /etc/systemd/network/10-eth.link with the contents
|
|
|
|
[Match]
|
|
MACAddress=ff:ff:ff:ff:ff:ff
|
|
[Link]
|
|
Name=eth0
|
|
|
|
replacing ff:ff:ff:ff:ff:ff with the MAC address of the device you wanted to change.
|
|
After reboot the name was as desired.
|
|
|