Rename Interface on Slackware


Saya mencoba mengganti nama interface , ini sangat ampuh ketika anda gonta - ganti neetwork card

mcedit /etc/udev/rules.d/70-persistent-net.rules


# PCI device 0x1186:0x1300 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:5a:bc:85:a2", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"


# PCI device 0x14e4:0x1677 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:72:2e:03:9c", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

No comments:

Post a Comment