Linux下CDMA的使用

2058阅读 0评论2008-09-01 blue_stone
分类:LINUX

操作系统为Debian GNU/Linux SID, 内核版本2.6.26, CDMA上网卡的型号是DCWL-309C, 插入CDMA卡后, dmesg中有如下提示信息:

[  113.535685] pccard: PCMCIA card inserted into slot 0
[  113.535696] cs: memory probe 0xd0100000-0xd03fffff: excluding 0xd0100000-0xd012ffff
[  113.544804] pcmcia: registering new device pcmcia0.0
[  113.800473] 0.0: ttyS0 at I/O 0x3f8 (irq = 3) is a 16550A

修改/etc/wvdial.conf内容如下:

[Dialer Defaults]
Init1 = ATZ
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Phone = #777
Modem = /dev/ttyS0
Username = CARD
Password = CARD
Baud = 230000
Stupid=1

运行wvdial进行拨号, 过程如下:

--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected.  Waiting for prompt.
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Mon Sep  1 16:54:56 2008
--> Pid of pppd: 3398
--> pppd:
上一篇:GRUB惊魂
下一篇:中秋