有时在linux下无法联网,ping不通,但实际上已经连接了网线。。。

解决方案:

查看网卡设置,linux下网卡的配置文件在 /etc/sysconfig/network-scripts/

使用ls查看然后用vi或者vim来编辑ifcfg-eth0

修改ONBOOT=yes

 

 linux无法联网

 

然后重启,之后就可以联网了 

 

相关文章:

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