天嵌 ARM开发社区

 找回密码
 注册
查看: 3784|回复: 3

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

[复制链接]
songjie217 发表于 2013-2-25 15:36:16 | 显示全部楼层 |阅读模式
开发平台: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
把设备名改成/dev/ttyUSB1或2,3试下

试过了,模块的手册里面说明MC2716的ttyUSB0为modem ttyUSB1为AT.应该是脚本不对,官方的脚本难道不适合?
 楼主| songjie217 发表于 2013-3-1 17:33:22 | 显示全部楼层
最后发现C网信号显示的是99,说明网络不行,接上天线后拨号成功,结贴。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-27 03:55 , Processed in 1.046868 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表