Network interface names by using udev rules: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

2 January 2024

13 December 2023

  • curprev 16:1816:18, 13 December 2023 Verbovet talk contribs 396 bytes +396 Created page with "* Check current interfaces names and mac addresses: <code># ip link show</code> *Find the device type id of the interface (for example, <code>eth0</code>): <pre> # cat /sys/class/net/eth0/type 1</pre> * <code>/etc/udev/rules.d/70-persistent-net.rules</code>: <pre> SUBSYSTEM=="net",ACTION=="add",ATTR{address}=="11:22:33:44:55:ab",ATTR{type}=="1",NAME="eth0" ... </pre> * Regenerate the initrd"