贴一下你的/etc/resolv.conf?

于 2013年10月31日 14:42, qspy wang 写道:
> 我用的是笔记本,一个有线一个无线,没其他了
>
> 我也觉着奇怪,外网可以ping,chrome也可以上网,虚拟机也可以上网,网络没
> 问题的呀;firefox 可以用ip直接联网,域名不能解析,apt 不能用,像是dns
> 问题,但 ping dns地址,ping 域名都可以,再说 chrome 和虚拟机也都是用的
> 域名地址直接联网的
>
>
>
> 在 2013年10月31日下午2:29,choury <[email protected]
> <mailto:[email protected]>>写 道:
>
>     怎么这么诡异,host明明已经解析出ip了啊
>     你电脑上有几块网卡啊?
>
>     于 2013年10月31日 14:25, qspy wang 写道:
>>     从来没有弄过 apt 代理
>>     wget 刚试了下,不行
>>
>>     $ wget http://wwww.236.xdowns.com/uploadFile/2007-4/wget.rar
>>     --2013-10-31 14:24:58--
>>      http://wwww.236.xdowns.com/uploadFile/2007-4/wget.rar
>>     正在解析主机 wwww.236.xdowns.com <http://wwww.236.xdowns.com>
>>     (wwww.236.xdowns.com <http://wwww.236.xdowns.com>)... 失败:未知
>>     的名称或服务。
>>     wget: 无法解析主机地址 “wwww.236.xdowns.com
>>     <http://wwww.236.xdowns.com>”
>>
>>
>>
>>     在 2013年10月31日下午2:21,choury <[email protected]
>>     <mailto:[email protected]>>写 道:
>>
>>         你apt有设过代理吗?
>>         直接用wget能下載到东西吗?
>>
>>
>>         于 2013年10月31日 14:16, qspy wang 写道:
>>>         我有使用 goagent , 但只在 chrome 上设置了; firefox 其实也
>>>         不是完全不能上网,直接输入 IP 地址还是可以联网的,但如果输入
>>>         域名如 www.baidu.com <http://www.baidu.com> 这样的就不行。
>>>         邮件不能正常收发
>>>         但我有用 virtualbox 虚拟了一个 xp 系统,使用的是 NAT 的连接
>>>         方式,在虚拟的xp系统中却是可以正常上网的 
>>>
>>>         这样是代理的问题吗?
>>>
>>>
>>>         在 2013年10月31日下午2:11,choury <[email protected]
>>>         <mailto:[email protected]>>写 道:
>>>
>>>             邮件可以正常收发?
>>>             你有没有设代理?
>>>
>>>
>>>             于 2013年10月31日 14:07, qspy wang 写道:
>>>>             $ host ftp.us.debian.org <http://ftp.us.debian.org>
>>>>             ftp.us.debian.org <http://ftp.us.debian.org> has
>>>>             address 128.61.240.89
>>>>             ftp.us.debian.org <http://ftp.us.debian.org> has
>>>>             address 128.30.2.36
>>>>             ftp.us.debian.org <http://ftp.us.debian.org> has
>>>>             address 64.50.233.100
>>>>             ftp.us.debian.org <http://ftp.us.debian.org> has
>>>>             address 64.50.236.52
>>>>
>>>>
>>>>
>>>>             2013/10/31 choury <[email protected]
>>>>             <mailto:[email protected]>>
>>>>
>>>>                 你运行一下 "host ftp.us.debian.org
>>>>                 <ftp://ftp.us.debian.org>" 看看呢
>>>>
>>>>
>>>>                 于 2013年10月31日 14:01, qspy wang 写道:
>>>>>                 本 来好 好 的,今天开机忽然firefox就不能上网
>>>>>                 了,apt-get 也不能用了,但是 chrome 可以上
>>>>>                 网,ping www.google.com <http://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://ftp.us.debian.org>” 
>>>>>                 错误 http://mirrors.163.com wheezy Release.gpg 
>>>>>                 无法解析域名“mirrors.163.com
>>>>>                 <http://mirrors.163.com>” 
>>>>>                 错误 http://security.debian.org wheezy/updates
>>>>>                 Release.gpg 
>>>>>                 无法解析域名“security.debian.org
>>>>>                 <http://security.debian.org>” 
>>>>>                 正在读取软件包列表... 完成 
>>>>>                 W: 无法下载 http://mirrors.163.com/debian/dists
>>>>>                 /wheezy/Release.gpg 无 法解析域名 “mirrors.163.com
>>>>>                 <http://mirrors.163.com>” 
>>>>>
>>>>>                 W: 无法下载 http://security.debian.org/dists
>>>>>                 /wheezy/updates/Release.gpg 无 法解析域名
>>>>>                 “security.debian.org <http://security.debian.org>” 
>>>>>
>>>>>                 W: 无法下载 http://ftp.us.debian.org/debian/dists
>>>>>                 /wheezy/Release.gpg 无 法解析域名
>>>>>                 “ftp.us.debian.org <http://ftp.us.debian.org>” 
>>>>>
>>>>>
>>>>>                 W: Some index files failed to download. They have
>>>>>                 been ignored, or old ones used instead. 
>>>>>
>>>>>
>>>>>                 $ ping www.google.com <http://www.google.com> 
>>>>>                 PING www.google.com
>>>>>                 <http://www.google.com> (173.194.72.103) 56(84)
>>>>>                 bytes of data. 
>>>>>                 64 bytes from tf-in-f103.1e100.net
>>>>>                 <http://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
>>>>>                 <http://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
>>>>>                 <http://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
>>>>>                 <http://tf-in-f103.1e100.net> (173.194.72.103):
>>>>>                 icmp_req=6 ttl=45 time=74.1 ms 
>>>>>                 ^C 
>>>>>                 --- www.google.com <http://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 <http://8.8.8.8>: icmp_req=2
>>>>>                 ttl=42 time=107 ms 
>>>>>                 64 bytes from 8.8.8.8 <http://8.8.8.8>: icmp_req=3
>>>>>                 ttl=42 time=108 ms 
>>>>>                 64 bytes from 8.8.8.8 <http://8.8.8.8>: icmp_req=5
>>>>>                 ttl=42 time=107 ms 
>>>>>                 64 bytes from 8.8.8.8 <http://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
>>>>
>>>>
>>>>
>>>>
>>>>             -- 
>>>>                   致
>>>>             礼!
>>>>             Qspy
>>>
>>>
>>>             -- 
>>>             ------------------------------------------------------------
>>>             yours
>>>             Choury
>>>
>>>
>>>
>>>
>>>         -- 
>>>               致
>>>         礼!
>>>         Qspy
>>
>>
>>         -- 
>>         ------------------------------------------------------------
>>         yours
>>         Choury
>>
>>
>>
>>
>>     -- 
>>           致
>>     礼!
>>     Qspy
>
>
>     -- 
>     ------------------------------------------------------------
>     yours
>     Choury
>
>
>
>
> -- 
>       致
> 礼!
> Qspy


-- 
------------------------------------------------------------
yours
Choury

Attachment: signature.asc
Description: OpenPGP digital signature

回复