- 论坛徽章:
- 0
|
请大家帮忙啊!
我现状的Linux系统,分别是Debian和ArchLinux,都是一样的情况,能ping通网关和网站,能通过pldgin登陆MSN,能发email,但是不能wget,apt-get和上网页!用IP也登陆不了网页,应该不是DNS的问题吧?
1). ifconfig结果如下:
eth0 Link encap:Ethernet HWaddr 00:134:3C:85:1D
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xc000
eth1 Link encap:Ethernet HWaddr 00:0A:EB:9C:A4:A7
inet addr:192.168.1.101 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::20a:ebff:fe9c:a4a7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3029 (2.9 KB) TX bytes:4688 (4.5 KB)
Interrupt:19 Base address:0xec00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
2). /etc/host.conf文件内容为:
# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on
3). /etc/resove.conf文件内容为:
search domain
nameserver 202.103.24.68
nameserver 202.103.44.150
4). /etc/network/interfaces内容为:
auto lo
iface lo inet loopback
iface eth1 inet dhcp
auto eth1
5).这是我ping百度的结果:
wrante@wrante:~$ ping www.baidu.com
PING www.a.shifen.com (220.181.6.6) 56(84) bytes of data.
64 bytes from 220.181.6.6: icmp_seq=1 ttl=53 time=228 ms
64 bytes from 220.181.6.6: icmp_seq=2 ttl=53 time=225 ms
64 bytes from 220.181.6.6: icmp_seq=3 ttl=53 time=227 ms
64 bytes from 220.181.6.6: icmp_seq=4 ttl=53 time=230 ms
64 bytes from 220.181.6.6: icmp_seq=5 ttl=53 time=227 ms
64 bytes from 220.181.6.6: icmp_seq=6 ttl=53 time=228 ms
64 bytes from 220.181.6.6: icmp_seq=7 ttl=53 time=227 ms
64 bytes from 220.181.6.6: icmp_seq=8 ttl=53 time=227 ms
64 bytes from 220.181.6.6: icmp_seq=9 ttl=53 time=228 ms |
|