Change interface name from eth7 to eth0

From openSUSE

This article is a stub!
This article needs to be expanded. You are welcome to help in line with the openSUSE Style Guide. See also the other articles that need to be expanded.

Renaming

  • Start a new terminal session and open the file with root access
sudo edit /etc/udev/rules.d/70-persistent-net.rules
  • To start typing press the A key. Look for eth7 and change it to eth0. To save your work first hit the Esc key then type
:save /etc/udev/rules.d/70-persistent-net.rules
  • Reboot the system for the changes to take effect.

Notes

The description above is for 11.1. In older version the file 70-persistent-net.rules may have different location.