分页: 1 / 1

12.04 把终端设置好代理后却ping不通外网

发表于 : 2012-09-24 12:15
hacker85
在给系统设置了全局代理后,在将~/.bashrc、/etc/apt/apt.conf等文件都设置妥当之后,发现在终端里输入:
sudo apt-get update
sudo apt-get install softname
等命令都正常,但是:
当输入ping www.baidu.com后,却提示找不到主机,内容如下:

From 10.64.66.251 icmp_seq=23 Destination Host Unreachable
……
这是为什么呢?

不只如此,当使用git clone http://github.com/fcitx/fcitx.git时,也无法和网络进行通讯……

我发觉只要涉及由终端直接访问网络的情况,都不成功。这种情况在11.1的时候我是从来没有遇到过的。

Re: 12.04终端设置代理后ping不通网站

发表于 : 2012-09-24 14:10
hacker85
o@O:~$ ping www.baidu.com
PING www.a.shifen.com (61.135.169.105) 56(84) bytes of data.
From 10.64.66.251 icmp_seq=3 Destination Host Unreachable
^C
--- www.a.shifen.com ping statistics ---
12 packets transmitted, 0 received, +1 errors, 100% packet loss, time 15011ms

o@O:~$

就是这种情况 愁死了

Re: 12.04终端设置代理后ping不通网站

发表于 : 2012-09-25 15:10
hacker85
有没有人帮忙看一下这个情况嘞?

Re: 12.04终端设置代理后ping不通网站

发表于 : 2012-09-27 13:50
hacker85
这是什么情况呢??? 愁死人了。