Go to file
2024-07-13 19:54:44 +02:00
conf Redesign script 'copy_gateway-config.sh'. 2018-06-24 14:52:18 +02:00
.gitignore Add configuration file for script 'remote-copy_gateway-config.sh'. 2018-05-08 00:45:40 +02:00
change_network_gateway.sh Add ANW-KB 2024-07-13 19:54:44 +02:00
copy_gateway-config.sh Add ANW-KB 2024-07-13 19:54:44 +02:00
README.rename.netdevices Add 'README.rename.netdevices'. 2018-05-06 17:36:05 +02:00
remote-copy_gateway-config.sh Add ANW-KB 2024-07-13 19:54:44 +02:00

# - ==========
# - 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.