![从 12.04 升级到 12.10 后,我没有互联网连接](https://linux22.com/image/1116510/%E4%BB%8E%2012.04%20%E5%8D%87%E7%BA%A7%E5%88%B0%2012.10%20%E5%90%8E%EF%BC%8C%E6%88%91%E6%B2%A1%E6%9C%89%E4%BA%92%E8%81%94%E7%BD%91%E8%BF%9E%E6%8E%A5.png)
我把 Ubuntu 升级到了 12.10。它似乎运行良好,只是我没有收到来自互联网的响应。
sent ping 8.8.8.8
reply icmp_req=112 ttl=47 time=27.6 (mnimum time, max time 30.5)
如何修复?
答案1
如果你有 dhcp 服务器,就像大多数现代路由器一样,将该文件的内容替换为
#This file describe the network interfaces available on your system
#and how to activate them. For more information see interfaces(5).
#The loopack network interface
auto lo
iface lo inet loopback
#The primary network interface
auto eth0
iface inet dhcp
然后重启。这应该可以解决问题!