突然发现Ubuntu不能上网了,之前还是正常的。

ifconfig里只剩下lo,eth0不见了。

简单解决方法:

ifconfig -a 发现还有另一个网卡ens33

ubuntu突然不能上网 eth0消失的解决办法

sudo vim /etc/network/interfaces    增加下面2行

ubuntu突然不能上网 eth0消失的解决办法

sudo /etc/init.d/networking restart    重启网络

ubuntu突然不能上网 eth0消失的解决办法

问题解决!

 

相关文章:

  • 2021-12-08
  • 2021-09-10
  • 2021-05-04
  • 2021-09-28
  • 2022-12-23
  • 2021-11-19
  • 2022-01-16
  • 2021-05-01
猜你喜欢
  • 2022-12-23
  • 2021-10-08
  • 2021-06-01
  • 2021-12-10
  • 2022-01-01
  • 2021-11-18
  • 2022-01-03
相关资源
相似解决方案