8.04在VMware6.6中能ping通,但是wget不行

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
jfnn
帖子: 18
注册时间: 2008-05-12 11:53

8.04在VMware6.6中能ping通,但是wget不行

#1

帖子 jfnn » 2008-05-12 12:01

刚开始都不能ping通,经过高人指点,将网卡模式改为bridged,可以ping通

现在能ping通,但是wget总是 Connection timed out.

在外面可以ping通ubuntn,也可以Putty连接到里面.

刚学习,请大家多多帮忙。

代码: 全选

root@ubuntu:/home/soft# ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.234 ms
64 bytes from 192.168.1.100: icmp_seq=2 ttl=64 time=0.390 ms
64 bytes from 192.168.1.100: icmp_seq=3 ttl=64 time=0.369 ms

--- 192.168.1.100 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.234/0.331/0.390/0.069 ms

代码: 全选


root@ubuntu:/home/soft# wget -c http://192.168.1.100/z.tar.gz
--11:50:50--  http://192.168.1.100/z.tar.gz
           => `z.tar.gz'
Connecting to 192.168.1.100:80... failed: Connection timed out.
Retrying.

--11:54:00--  http://192.168.1.100/z.tar.gz
  (try: 2) => `z.tar.gz'
Connecting to 192.168.1.100:80... failed: Connection timed out.
Retrying.

jfnn
帖子: 18
注册时间: 2008-05-12 11:53

#2

帖子 jfnn » 2008-05-12 12:51

不知道啥原因,wget 外网的东西可以下载。。。。
回复