免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1749 | 回复: 2
打印 上一主题 下一主题

[网络管理] Linux系统不能上网了~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-03 00:10 |只看该作者 |倒序浏览
请大家帮忙啊!
我现状的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

论坛徽章:
0
2 [报告]
发表于 2008-03-03 18:26 |只看该作者

回复 #1 deniyes 的帖子

我帮你顶!咱俩是相同的问题呀!!
怀疑是系统漏洞导致的,静候高手参与!!

论坛徽章:
0
3 [报告]
发表于 2008-03-04 19:03 |只看该作者
呵呵!!www.a.shifen.com只是www.baidu.com的一个别名而已.和百度是一个网站.你不信试试,,nslookup也可以查出来的了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP