本来好好
的,今天开机忽然firefox就不能上网了,apt-get 也不能用了,但是 chrome
可以上网,ping www.google.com 是通的,调出 /etc/resolv.conf 中的 dns,
也是可以 ping 得通的。
各位可知这是什么问题?
$ sudo apt-get update
错误 http://ftp.us.debian.org wheezy Release.gpg
无法解析域名“ftp.us.debian.org”
错误 http://mirrors.163.com wheezy Release.gpg
无法解析域名“mirrors.163.com”
错误 http://security.debian.org wheezy/updates
Release.gpg
无法解析域名“security.debian.org”
正在读取软件包列表... 完成
W:
无法下载 http://mirrors.163.com/debian/dists/wheezy/Release.gpg 无法解析域名
“mirrors.163.com”
W:
无法下载 http://security.debian.org/dists/wheezy/updates/Release.gpg 无法解析域名
“security.debian.org”
W:
无法下载 http://ftp.us.debian.org/debian/dists/wheezy/Release.gpg 无法解析域名
“ftp.us.debian.org”
W: Some index files failed to download. They have been
ignored, or old ones used instead.
$ ping www.google.com
PING www.google.com (173.194.72.103) 56(84) bytes of
data.
64 bytes from tf-in-f103.1e100.net (173.194.72.103):
icmp_req=2 ttl=45 time=75.5 ms
64 bytes from tf-in-f103.1e100.net (173.194.72.103):
icmp_req=3 ttl=45 time=73.9 ms
64 bytes from tf-in-f103.1e100.net (173.194.72.103):
icmp_req=5 ttl=45 time=75.3 ms
64 bytes from tf-in-f103.1e100.net (173.194.72.103):
icmp_req=6 ttl=45 time=74.1 ms
^C
--- www.google.com ping statistics ---
6 packets transmitted, 4 received, 33% packet loss, time
5010ms
rtt min/avg/max/mdev = 73.976/74.753/75.502/0.717 ms
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=2 ttl=42 time=107 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=42 time=108 ms
64 bytes from 8.8.8.8: icmp_req=5 ttl=42 time=107 ms
64 bytes from 8.8.8.8: icmp_req=6 ttl=42 time=108 ms
^C
--- 8.8.8.8 ping statistics ---
6 packets transmitted, 4 received, 33% packet loss, time
5021ms
rtt min/avg/max/mdev = 107.665/108.182/108.694/0.399 ms |
--
致
礼!
Qspy
--
------------------------------------------------------------
yours
Choury
|