Page 1 of 1

Disable predictable interface names

Posted: Thu Aug 20, 2020 6:42 am
by axd
Hello. Does anyone know how to disable Predictable interface names on NanoPi Neo4?
Thank You.

Re: Disable predictable interface names

Posted: Thu Aug 20, 2020 2:30 pm
by axd
I find solution.
Add this line (change mac address)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:01:02:03:04:05", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth1"
to
/etc/udev/rules.d/70-persistent-net.rules