Ubuntu 16 网卡设备名从 ens 改为 eth

今天装了一台 Ubuntu 16.04 的虚拟机,发现网卡名从 eth 变成 ens 了,通过命令查看发现是被系统重命名了# dmesg |grep eth [ 2.244937] virtio_net virtio0 ens3: renamed from eth0 [ 2.249486] virtio_net virtio1 ens4: renamed from eth1于是 google 了一下怎么变回 eth,终于找到解决办法vi /etc/default/grub把GRUB_CMDLINE_LINUX=""改成GRUB_CMDLINE_LINUX="net.ifname

  Read More →
  搜索
  Tags
全部   Ubuntu   Linux   Python   Windows   Shell   转发   浏览器   js   KMS   循环   MySQL   字体   html   css   DNS   电源   多线程   反向代理   重定向   原创   WinSCP   随机   随机数   VSCode   venv   vbs   多进程   远程调试   字典   生活   激活   线程池   日志   数据库   网卡   截取字符   进度条   安装   进程池   领带   uuid   tc   IP   iostat   import   GitHub   dpkg   DHCP   curl   crx   CPU   cloud-init   Chrome   BBR   Apt   iptables   Kitsunebi   subprocess   SSH   SoftEther   Set   samba   pyflakes   pip   Office   Nginx   NextCloud   List   libreoffice   kvm   Adobe  
  功能
You can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!