我对 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为我指明正确的方向。