在 Linux Mint 18 中,一些网站可以加载,而另一些网站则永远加载

在 Linux Mint 18 中,一些网站可以加载,而另一些网站则永远加载

我已经安装了 Linux Mint 18 64 位,并注意到 Google 和 Youtube 以及其他网站可以完美加载(甚至可以播放高清视频),但某些网站(例如 Wikipedia)不会显示,即使 Mozilla 中的选项卡显示“正在加载”或显示“wikipedia - the免费百科全书”,但该网站并未出现。

计算机加载一些站点,但不加载其他站点,并且它们不会更改 - 如果站点 A 不加载,那么下次也不会加载。如果站点 B 加载,那么它也会随后加载。

上次我检查了另一台计算机(使用 Windows)的互联网连接,一切正常,所以这不是 ISP 的错。

即使禁用 ufw,它也会执行此操作。

也不适用于 Mint liveDVD。这是同一件事。

如果我打开网络代理并输入维基百科,那么它就会到达那里。其他浏览器也是如此。

输入后wget wikipedia.org

--2016-07-20 21:30:40--  http://wikipedia.org/

Resolving wikipedia.org (wikipedia.org)... 91.198.174.192, 2620:0:862:ed1a::1

Connecting to wikipedia.org (wikipedia.org)|91.198.174.192|:80... connected.

HTTP request sent, awaiting response... 301 TLS Redirect

Location: https://wikipedia.org/ [following]

--2016-07-20 21:30:40--  https://wikipedia.org/

Connecting to wikipedia.org (wikipedia.org)|91.198.174.192|:443... connected.

HTTP request sent, awaiting response... 301 Moved Permanently

Location: https://www.wikipedia.org/ [following]

--2016-07-20 21:30:40--  https://www.wikipedia.org/

Resolving www.wikipedia.org (www.wikipedia.org)... 91.198.174.192, 

2620:0:862:ed1a::1


Connecting to www.wikipedia.org (www.wikipedia.org)|91.198.174.192|:443... connected.


HTTP request sent, awaiting response... 200 OK

Length: unspecified [text/html]

Saving to: ‘index.html’

index.html              [<=>                 ]       0 --.-KB/s    

..它停止了并且永远不会继续。我不得不打断它。

我在主文件夹中找到的 index.html 完全是空的,但在选项卡上显示“维基百科”。

dig wikipedia.org输出为:

; <<>> DiG 9.10.3-P4-Ubuntu <<>> wikipedia.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15688
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;wikipedia.org.         IN  A

;; ANSWER SECTION:
wikipedia.org.      343 IN  A   91.198.174.192

;; Query time: 21 msec
;; SERVER: 193.231.252.1#53(193.231.252.1)
;; WHEN: Wed Jul 20 21:38:59 EEST 2016
;; MSG SIZE  rcvd: 58

ping -c 3 wikipedia.org

PING wikipedia.org (91.198.174.192) 56(84) bytes of data.
64 bytes from text-lb.esams.wikimedia.org (91.198.174.192): icmp_seq=1 ttl=59 time=50.5 ms
64 bytes from text-lb.esams.wikimedia.org (91.198.174.192): icmp_seq=2 ttl=59 time=48.3 ms
64 bytes from text-lb.esams.wikimedia.org (91.198.174.192): icmp_seq=3 ttl=59 time=49.4 ms

--- wikipedia.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 48.342/49.475/50.594/0.954 ms

ping -c 3 91.198.174.192

PING 91.198.174.192 (91.198.174.192) 56(84) bytes of data.
64 bytes from 91.198.174.192: icmp_seq=1 ttl=59 time=50.6 ms
64 bytes from 91.198.174.192: icmp_seq=2 ttl=59 time=50.7 ms
64 bytes from 91.198.174.192: icmp_seq=3 ttl=59 time=48.2 ms

--- 91.198.174.192 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 48.267/49.898/50.796/1.155 ms

这不是MTU问题。


编辑:根据 mrwhale 的建议,我将在可用发行版和不太可用发行版中发布route -nip route、 和的输出。cat /etc/resolv.conf我提到互联网在网络代理上运行,他让我发布这个。

在可用发行版上

路线-n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 ppp0
10.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

ip路由

default via 10.0.0.1 dev ppp0 proto static
10.0.0.1 dev ppp0 proto kernel scope link src (here it showed my IP address)

猫 /etc/resolv.conf

Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

nameserver 127.0.1.1

在当前损坏的发行版上(Linux Mint)

路线-n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 100 0 0 ppp0
10.0.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 ppp0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 ppp0

ip路由

default via 10.0.0.1 dev ppp0 proto static metric 100
10.0.0.1 dev ppp0 proto kernel scope link src (my IP address) metric 100
169.254.0.0/16 dev ppp0 scope link metric 1000

猫 /etc/resolv.conf

Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

nameserver 193.231.252.1
nameserver 213.154.124.1
nameserver 127.0.1.1

相关内容