linux突然不能上网,eth0网卡消失

情况:之前可以正常浏览网页,没有动其它的地方,浏览器突然不能上网

ifconfig    # 发现eth0网卡不见了,只有lo卡
ifconfig -a    # 发现了eth0,但是没有IP地址
dhclient eth0    # 从DHCP重新获取IP地址
ifconfig    #发现eth0又出现了,并且具有IP地址

结果:浏览器又可上网了

posted on 2019-06-10 16:10  小friend  阅读(2563)  评论(0编辑  收藏  举报