songjie217 发表于 2013-2-25 15:36:16

请教中兴MC2716 3G无线网卡拨号失败

开发平台:TQ2440
LINUX版本:2.6.22.6
MC2716的驱动方式:使用内核默认的option驱动,已添加了模块的相关设备信息

接上无线网卡后打印出的信息:
usb 1-1: new full speed USB device using s3c2410-ohci and address 3
usb 1-1: configuration #1 chosen from 1 choice
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
option 1-1:1.2: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
option 1-1:1.3: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3

上面说明驱动应该是成功的,并且创建了ttyUSB0-ttyUSB3,这4个节点。
然后使用中兴的拨号脚本拨号,提示的错误信息如下:
# pppd call evdo
Connect script failed

请问这个“连接脚本错误”是怎么回事,要怎么解决。

附上拨号脚本:

# /etc/ppp/chat/evdo
# this is the chat script for unicom
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
TIMEOUT 120
"" at
OK atdt#777
CONNECT

/*****************************************分割线***********************************************/

# /etc/ppp/peers/evdo
# this is ppp script for use chinaunicom's CDMA data service
#

/dev/ttyUSB0
115200
crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/chat/evdo'
debug
nodetach
ipcp-accept-local
ipcp-accept-remote
defaultroute
usepeerdns
user card
password card

TQ-lkp 发表于 2013-2-25 16:20:05

把设备名改成/dev/ttyUSB1或2,3试下

songjie217 发表于 2013-2-26 10:49:32

TQ-lkp 发表于 2013-2-25 16:20 static/image/common/back.gif
把设备名改成/dev/ttyUSB1或2,3试下

试过了,模块的手册里面说明MC2716的ttyUSB0为modem ttyUSB1为AT.应该是脚本不对,官方的脚本难道不适合?

songjie217 发表于 2013-3-1 17:33:22

最后发现C网信号显示的是99,说明网络不行,接上天线后拨号成功,结贴。
页: [1]
查看完整版本: 请教中兴MC2716 3G无线网卡拨号失败