Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2354480
  • 博文数量: 141
  • 博客积分: 3552
  • 博客等级: 中校
  • 技术积分: 4148
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-15 14:39
个人简介

熟悉Linux下程序设计及各种应用程序 熟悉C Language 熟悉Glusterfs、FFmpeg、CDN 系统设计,计算机图形系统设计、分布式程序设计 目前主要研究方向:流媒体

文章分类

全部博文(141)

分类: LINUX

2010-01-10 10:46:31

[root@localhost liuqi]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT 3100000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sun Jan 10 10:31:17 2010
--> Pid of pppd: 6425
--> Using interface ppp0
--> pppd: p9[1f]
--> pppd: p9[1f]
--> pppd: p9[1f]
--> pppd: p9[1f]
--> local IP address 116.69.81.235
--> pppd: p9[1f]
--> remote IP address 115.168.64.93
--> pppd: p9[1f]
--> primary DNS address 219.141.136.10
--> pppd: p9[1f]
--> secondary DNS address 219.141.140.10
--> pppd: p9[1f]

看一下配置信息

[root@localhost liuqi]# cat /etc/wvdial.conf
[Dialer Defaults]
    Modem = /dev/ttyUSB0
    ISDN = off
    Modem Type = USB Modem
    Baud = 460800
    Init = ATZ
    Phone = *99***1#

    Dial Prefix =
    Dial Attemps = 1
    Dial Command = ATDT
    Ask Password = off
    Username = ctnet@mycdma.cn
    Password = vnet.mobi
    Auto Reconnect = on
    Abort on Busy = off
    Carrier Check = no
    Check Def Route = on
    Abort on No Dialtone = on
    Stupid Mode = on
    Idle Second = 0
    Auto DNS = on
[Dialer shh]
    Init3 = ATM0

[root@localhost liuqi]#


这样还是联不出去,需要配置一下/etc/resolv.conf
阅读(3656) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~