LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1773|回复: 27

我装的是0.7,adsl拨号已经成功,可是就是访问不了网页,也ping不通??

[复制链接]
发表于 2005-4-29 14:46:38 | 显示全部楼层 |阅读模式
高手帮帮忙,谢谢!!
发表于 2005-4-29 15:11:08 | 显示全部楼层
ifconfig -a
把列出来的东西贴出来看看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-29 15:47:28 | 显示全部楼层
我现在在windows下发的请求,没发弄啊!!
回复 支持 反对

使用道具 举报

发表于 2005-4-29 16:38:40 | 显示全部楼层
Post by hhf3498
高手帮帮忙,谢谢!!



確認一下DNS是否設置好了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-29 16:50:08 | 显示全部楼层

DNS我只用了一个202.106.0.20

这个是我连接上以后ifconfig的内容:
[PHP]eth0     
             Link encap:Ethernet  HWaddr 00:04:61:4B:82:2E              
             inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0            
             UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1                   RX packets:33 errors:0 dropped:0 overruns:0 frame:0            
             TX packets:34 errors:0 dropped:0 overruns:0 carrier:0            
             collisions:0 txqueuelen:1000            
             RX bytes:3239 (3.1 Kb)  TX bytes:4499 (4.3 Kb)            
             Interrupt:22 Base address:0xa000     
lo         
             Link encapocal 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)   
ppp0      
             Link encapoint-to-Point Protocol              
             inet addr:221.216.57.194  P-t-P:24.24.24.24  Mask:255.255.255.255                     UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1                         RX packets:7 errors:0 dropped:0 overruns:0 frame:0            
             TX packets:3 errors:0 dropped:0 overruns:0 carrier:0            
             collisions:0 txqueuelen:3            
             RX bytes:222 (222.0 b)  TX bytes:30 (30.0 b)[/PHP]
回复 支持 反对

使用道具 举报

发表于 2005-4-29 17:01:46 | 显示全部楼层
不对啊。你用adsl-setup设置的时候,设置拨号设备应该是eth0吧。怎么你这里会有ppp0呢?
回复 支持 反对

使用道具 举报

发表于 2005-4-29 17:09:46 | 显示全部楼层
看看我的,
  1. eth0      Link encap:Ethernet  HWaddr 00:E0:4C:D6:46:12
  2.           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
  3.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  4.           RX packets:504 errors:0 dropped:0 overruns:0 frame:0
  5.           TX packets:420 errors:0 dropped:0 overruns:0 carrier:0
  6.           collisions:0 txqueuelen:1000
  7.           RX bytes:267474 (261.2 Kb)  TX bytes:52378 (51.1 Kb)
  8.           Interrupt:21 Base address:0xa000

  9. lo        Link encap:Local Loopback
  10.           inet addr:127.0.0.1  Mask:255.0.0.0
  11.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  12.           RX packets:6 errors:0 dropped:0 overruns:0 frame:0
  13.           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
  14.           collisions:0 txqueuelen:0
  15.           RX bytes:300 (300.0 b)  TX bytes:300 (300.0 b)

  16. ppp0      Link encap:Point-to-Point Protocol
  17.           inet addr:220.161.114.95  P-t-P:220.161.98.1  Mask:255.255.255.255
  18.           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
  19.           RX packets:480 errors:0 dropped:0 overruns:0 frame:0
  20.           TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
  21.           collisions:0 txqueuelen:3
  22.           RX bytes:255256 (249.2 Kb)  TX bytes:42446 (41.4 Kb)
复制代码

你的那个P-t-P:24.24.24.24是个啥东西?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-29 17:09:59 | 显示全部楼层
对啊大哥,eth0是属于内网的,ppp0是那个adsl猫的地址。这个猫算是一个路由吧!!你在windows下拨号后在cmd下ipconfig看看就可以看见了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-29 17:12:37 | 显示全部楼层
p-t-p??我也不知道什么意思啊,怎么和你的不一样??
回复 支持 反对

使用道具 举报

发表于 2005-4-29 17:38:06 | 显示全部楼层
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表