Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1432610
  • 博文数量: 1334
  • 博客积分: 645
  • 博客等级: 上士
  • 技术积分: 5762
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-25 16:56
文章分类

全部博文(1334)

文章存档

2014年(108)

2013年(1059)

2012年(169)

分类: LINUX

2013-02-26 19:20:28

[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
阅读(529) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~