Go to file
2018-05-06 22:49:52 +02:00
.gitignore change .gitignore . remove file .change_network_gateway.sh.swp 2017-02-25 15:46:56 +01:00
change_network_gateway.sh Add '/etc/default/isc-dhcp-server' 2018-05-06 01:35:03 +02:00
copy_gateway-config.sh Clean up code. 2018-05-06 22:49:52 +02:00
README.rename.netdevices Add 'README.rename.netdevices'. 2018-05-06 17:36:05 +02:00
remote-copy_gateway-config.sh Clean up code. 2018-05-06 22:49:52 +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.