Hi! Is there any method to rename end1 to eth0 in Rock5C?
Thanks
Rename end1 to eth0
- see the info by the cmd
sudo udevadm info -a -p /sys/class/net/end1
- edit udev rules by the cmd
sudo nano /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="eth0"
the “ATTR{address}” filed is queried by the command ‘sudo udevadm info -a -p /sys/class/net/end1’
- reload udev, and then reboot
sudo udevadm control --reload && sudo udevadm trigger
sudo reboot
Thank you very much Mr.Nasca