[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
阅读(522) | 评论(0) | 转发(0) |