linux修改网卡名称为eth0、wlan0
sudo nano /etc/default/grub
在GRUB_CMDLINE_LINUX=""
引号中添加net.ifnames=0 biosdevname=0
sudo update-grub
reboot
sudo nano /etc/default/grub
在GRUB_CMDLINE_LINUX=""
引号中添加net.ifnames=0 biosdevname=0
sudo update-grub
reboot