reinstall
reinstall copied to clipboard
debian12能否自定义网卡名称
debian12能否自定义网卡名称,习惯eth0了。
cat /etc/network/interfaces
auto lo
iface lo inet loopback
rename enp0s3=ens3
allow-hotplug ens3
iface ens3 inet dhcp
iface ens3 inet6 dhcp
可否直接修改为:
auto lo
iface lo inet loopback
rename enp0s3=eth0
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 dhcp