![大多数网站在有线连接下永远无法加载,也无法 ping 通](https://linux22.com/image/1002039/%E5%A4%A7%E5%A4%9A%E6%95%B0%E7%BD%91%E7%AB%99%E5%9C%A8%E6%9C%89%E7%BA%BF%E8%BF%9E%E6%8E%A5%E4%B8%8B%E6%B0%B8%E8%BF%9C%E6%97%A0%E6%B3%95%E5%8A%A0%E8%BD%BD%EF%BC%8C%E4%B9%9F%E6%97%A0%E6%B3%95%20ping%20%E9%80%9A.png)
我对 Ubuntu 还很陌生。我安装了 Windows 10 和双系统。互联网运行了很长一段时间。但后来发现只有少数网站可以正常加载,例如 facebook.com、google.com、youtube.com。但大多数网站都没有加载。它们只是处于加载状态。我尝试了本网站提供的几种解决方案。几乎所有方法都像添加nameserver 8.8.8.8.
一样。这些网站也没有被 ping 通。在我的 Windows 10 安装中,互联网运行正常。
互联网是有线连接。
有人能解释一下吗?我可以用哪些方法检查?
更新: ifconfig 输出:
$ ifconfig
.enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 1c:1b:0d:24:a2:79 txqueuelen 1000 (Ethernet)
RX packets 10823 bytes 10193851 (10.1 MB)
RX errors 0 dropped 845 overruns 0 frame 0
TX packets 6312 bytes 782934 (782.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 2777 bytes 213323 (213.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2777 bytes 213323 (213.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 100.72.21.244 netmask 255.255.255.255 destination 1.186.179.1
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 9956 bytes 9921866 (9.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6294 bytes 643846 (643.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
答案1
我尝试配置互联网pppoeconf
,一切开始正常。谢谢飞行员6为我指明正确的方向。