Замена сетевой карты Linux Slackware

После замены сетевой карты в Linux Slackware возникла какая-то путаница с интерфейсами eth0, eth1, eth2…

Чтобы все встало на свои места  в системе необходимо обновить информацию о сетевых картах. Для этого нужно найти файл

 

 

75-network-devices.rules

стереть в нем пару строк и перезагрузить систему.

Содержимое файла:

# Local network rules to name your network cards.
#
# These rules were generated by nethelper.sh, but you can
# customize them.
#
# You may edit them as needed.
# (If, for example, your machine has more than one network
# card and you need to be sure they will always be given
# the same name, like eth0, based on the MAC address)
#
# If you delete this file, /lib/udev/nethelper.sh will try to
# generate it again the next time udev is started.
KERNEL=="eth?", ATTR{address}=="00:80:17:f6:3:ab", NAME="eth1"
KERNEL=="eth?", ATTR{address}=="00:02:39:e1:d2:f4", NAME="eth0"
KERNEL=="eth?", ATTR{address}=="00:40:ff:11:d0:f3", NAME="eth2"

Удалить нужно строчки похожие вот на эти 3:

KERNEL=="eth?", ATTR{address}=="00:80:17:f6:3:ab", NAME="eth1"
KERNEL=="eth?", ATTR{address}=="00:02:39:e1:d2:f4", NAME="eth0"
KERNEL=="eth?", ATTR{address}=="00:40:ff:11:d0:f3", NAME="eth2"

В моей системе файл находился по этому пути:

/etc/udev/rules.d/75-network-devices.rules