- Step 1
I created a new file named 70-persistent-net.rules
under the path /etc/udev/rules.d/
, like the following command
$ sudo vim /etc/udev/rules.d/70-persistent-net.rules
The texts written in this file are shown as follows:
Remember to change the MAC address
ATTR{address}=="b2:ca:3a:a4:1e:60"
as yours for your computer.
## Following this website: https://unix.stackexchange.com/questions/328485/ubuntu-16-04-change-interface-name
#
## PCI device 0x10ec:0x8xxxx (ethernet_module_here)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b2:ca:3a:a4:1e:60", ATTR{dev_id}=="0x0",