Wednesday, May 6, 2020

Rename Interface usb lan Raspberry pi / Orange pi to eth0, eth1, eth2, wlan0 on linux

On my Orange pi R1, the eth1 interface was detected as enxc0742bffdeff

To change the interface name, you open the terminal and enter command

nano /lib/udev/rules.d/73-usb-net-by-mac.rules


In line NAME="$env{ID_NET_NAME_MAC}"
Rename To NAME="$env{eth1}" or "eth0,eth1,wlan0,etc"

exit nano and reboot