sorry for my English….
I am with Linux Mint
I to try to change my interface name but without result…
The steps which I to does…
First search for my interface name and mac from it,
ip a
to come, interface name enp0s3, mac address 08:00:27:2e:7a:49.
Seconds set down the interface,
sudo ip link set dev enp0s3 down
Rename the device name, I'll change to eth0.
Call the 70-persistent-net.rules file,
sudo gedit /etc/udev/rules.d/70-persistent-net.rules
and write,
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:2e:7a:49", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
I call the interfaces file,
sudo gedit /etc/network/interfaces
and write,
auto eth0
iface eth0 inet static
address 192.168.178.48
netmask 255.255.255.0
gateway 192.168.178.1
Then, the computer new start…
On Terminal write,
ip a
but have similar interface name, enp0s3.
Can Please someone help me with this problem, Thanks!
Best Answer
Try this methods:
You basically have two options:
$ ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
You pass the
net.ifnames=0
on the kernel command lineI tested systemd.link method. It is works!