Ubuntu 虚拟机文件迁移到别的计算机无法启动网卡解决


  把Vmware 的Ubuntu 文件拷贝到被的计算机后,网卡启动失败。
  如下:

  症状:
  sudo /etc/init.d/networking restart
  * Reconfiguring network interfaces...
  eth0: ERROR while getting interface flags: No such device
  SIOCSIFADDR: No such device
  eth0: ERROR while getting interface flags: No such device
  SIOCSIFNETMASK: No such device
  SIOCSIFBRDADDR: No such device
  eth0: ERROR while getting interface flags: No such device
  eth0: ERROR while getting interface flags: No such device
  Failed to bring up eth0.

  解决办法:
  sudo rm /etc/udev/rules.d/70-persistent-net.rules

相关内容