Chinaunix首页 | 论坛 | 博客
  • 博客访问: 754448
  • 博文数量: 803
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 5015
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 10:29
文章分类

全部博文(803)

文章存档

2011年(1)

2008年(802)

我的朋友

分类:

2008-10-29 11:35:59


  在Linux中拨号上网出现故障时,我们可以做一些简单诊断。首先要查看接入的情况,运行:
  
  ifconfig
  
  如果显示如下提示的信息:
  
  ppp0 Link encap:Point-Point Protocol
  inet addr:202.106.99.113 P-t-P:202.106.99.148 Mask:255.255.255.0
  UP POINTOPOINT RUNNING MTU:552 Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0
  TX packets:0 errors:0 dropped:0 overruns:0
  
  则表明一般情况下工作正常。
  
  或者Ping一个地址,例如ping 202.106.99.111,如果返回如下信息:
  
  64 bytes from 202.106.99.111: icmp_seq=0 ttl=255 time=328.3 ms
  64 bytes from 202.106.99.111: icmp_seq=1 ttl=255 time=190.5 ms
  64 bytes from 202.106.99.111: icmp_seq=2 ttl=255 time=187.5 ms
  64 bytes from 202.106.99.111: icmp_seq=3 ttl=255 time=170.7 ms
  
  则表示网络工作正常。
  
  否则应该检查以下几方面:
  
  1.Modem连接是否正常;
  
  2.Linux核心中是否已加入PPP;
  
  3.Modem 端口是否正确;
  
  4.DNS等是否正确。
  
【责编:admin】

--------------------next---------------------

阅读(395) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~