Здравствуйте!
Сейчас мне никак не удается вернуть старое название для eth0
У меня сейчас прописаны такие файлы
Показать
[root@localhost ~]# cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net",ACTION=="add", DRIVERS=="?*", ATTRS{address}=="b8:88:e3:5f:f6:e4",ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth0"
SUBSYSTEM=="net",ACTION=="add", DRIVERS=="?*", ATTRS{address}=="e8:03:9a:ce:4f:39",ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wlan0"
[root@localhost ~]#
SUBSYSTEM=="net",ACTION=="add", DRIVERS=="?*", ATTRS{address}=="b8:88:e3:5f:f6:e4",ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth0"
SUBSYSTEM=="net",ACTION=="add", DRIVERS=="?*", ATTRS{address}=="e8:03:9a:ce:4f:39",ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wlan0"
[root@localhost ~]#
ifconfig:
Показать
em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.176.10.163 netmask 255.255.252.0 broadcast 10.176.11.255
inet6 fe80::ba88:e3ff:fe5f:f6e4 prefixlen 64 scopeid 0x20<link>
ether b8:88:e3:5f:f6:e4 txqueuelen 1000 (Ethernet)
RX packets 4091 bytes 1858707 (1.7 MiB)
RX errors 0 dropped 61 overruns 0 frame 0
TX packets 1106 bytes 187891 (183.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 8 bytes 660 (660.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 660 (660.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether e8:03:9a:ce:4f:39 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
inet 10.176.10.163 netmask 255.255.252.0 broadcast 10.176.11.255
inet6 fe80::ba88:e3ff:fe5f:f6e4 prefixlen 64 scopeid 0x20<link>
ether b8:88:e3:5f:f6:e4 txqueuelen 1000 (Ethernet)
RX packets 4091 bytes 1858707 (1.7 MiB)
RX errors 0 dropped 61 overruns 0 frame 0
TX packets 1106 bytes 187891 (183.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 8 bytes 660 (660.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 660 (660.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether e8:03:9a:ce:4f:39 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Скажите точно, что я должен прописать в конфиги чтобы интерфейс переименовался.