|
楼主 |
发表于 2006-9-8 21:51:55
|
显示全部楼层
文章http://www.linuxsir.org/main/?q=node/194 提到CDMA 1x (USB)的无线上网。
1 安装ppp-2.4.1-10.src.rpm、wvdial-1.53-9.src.rpm,因为以前装过有冲突,选择了--force选项,正常。
2 执行wvdialconf /etc/wvdial.conf,结果如下:
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S1 S2 S3 S4 S5 S6 S7 S8
Port Scan<*1>: S9 S10 S11 S12 S13 S14 S15 S16
Port Scan<*1>: S17 S18 S19 S20 S21 S22 S23 S24
Port Scan<*1>: S25 S26 S27 S28 S29 S30 S31 SA0
Port Scan<*1>: SA1 SA2 SC0 SC1 SC2 SC3 SI0 SI1
Port Scan<*1>: SI2 SI3 SI4 SI5 SI6 SI7 SI8 SI9
Port Scan<*1>: SI10 SI11 SI12 SI13 SI14 SI15 SR0 SR1
Port Scan<*1>: SR2 SR3 SR4 SR5 SR6 SR7 SR8 SR9
Port Scan<*1>: SR10 SR11 SR12 SR13 SR14 SR15 SR16 SR17
Port Scan<*1>: SR18 SR19 SR20 SR21 SR22 SR23 SR24 SR25
Port Scan<*1>: SR26 SR27 SR28 SR29 SR30 SR31 SR256 SR257
Port Scan<*1>: SR258 SR259 SR260 SR261 SR262 SR263 SR264 SR265
Port Scan<*1>: SR266 SR267 SR268 SR269 SR270 SR271 SR272 SR273
Port Scan<*1>: SR274 SR275 SR276 SR277 SR278 SR279 SR280 SR281
Port Scan<*1>: SR282 SR283 SR284 SR285 SR286 SR287 ACM0 USB0
Port Scan<*1>: USB1 USB2 USB3 USB4 USB5 USB6 USB7 USB8
Port Scan<*1>: USB9 USB10 USB11 USB12 USB13 USB14 USB15
因此我分析问题还是出在/dev/ttyACM0这个设备文件。我尝试将/dev/input/ttyACM0复制、移动过来,甚至新建了一个连接,wvdialconf后都没成功。
3 执行vi /etc/wvdial.conf,结果如下:
[Modem2]
Modem = /dev/modem
Baud = 460800
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = NOFLOW
[Dialer uni]
Username = CARD
Password = CARD
Phone = #777
Stupid Mode = 1
Inherits = Modem0
发现这些内容就是上一步在图形界面设置的结果
4 小结:综合这两篇文章介绍的方法,有一种殊途同归的感觉。我认为最后问题是还出在设备文件ttyACM0上,不知道谁有没有类似的经历,或者能帮我提供一些指导,感激不尽:) |
|