移动3G[ZTE A356] TD-SCDMA/HSDPA

yuzoubawang888 2015-12-20 11:36:39
问题: pppd拨号失败,有谁指导一下错误,或者提供一下pppd拨号的配置文件,谢谢。
做法:
[root@TQ210]#lsusb
Bus 001 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1a40:0101
Bus 001 Device 003: ID 19d2:0120
1. 使用usb_modeswitch切换工作模式
[root@TQ210]#usb_modeswitch -c /etc/A356.cfg
[root@TQ210]#lsusb
Bus 001 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1a40:0101
Bus 001 Device 004: ID 19d2:0079
==============> /etc/A356.cfg
DefaultVendor= 0x19d2
DefaultProduct= 0x0120
TargetVendor= 0x19d2
TargetProduct= 0x0079

DetachStorageOnly=0
MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
Interface=0x00
NeedResponse=0

2. 4.安装驱动程序
insmod usbserial.ko
insmod usb_wwan.ko
insmod option.ko
[root@TQ210]#ls -l /dev/ttyUSB
ttyUSB0 ttyUSB1 ttyUSB2 ttyUSB3
3.用pppd拨号
pppd call td-dailer
具体配置文件:
=========================>td-dailer
debug
lock
nodetach
/dev/ttyUSB3
115200
user ""
password ""
crtscts
show-password
usepeerdns
noauth
noipdefault
novj
novjccomp
noccp
defaultroute
ipcp-accept-local
ipcp-accept-remote
connect '/sbin/chat -v -t3 -f /etc/ppp/chat/td-connect-chat'
disconnect '/sbin/chat -s -v -f /etc/ppp/chat/disconnect-chat'
=========================>td-connect-chat
TIMEOUT 15
ABORT 'NO CARRIER'
ABORT 'ERROR'
ABORT 'NO DIALTONE'
ABORT 'BUSY'
ABORT 'NO ANSWER'
"" 'AT'
OK 'ATDT*98*1#'
CONNECT

错误信息:换了其他/dev/ttyUSB[0--3]都不行
[root@TQ210]#pppd call td-dailer
Script /sbin/chat -v -t3 -f /etc/ppp/chat/td-connect-chat finished (pid 1082), status = 0x0
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfed9305d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <mru 1500> <asyncmap 0xffffffff> <auth pap> <magic 0x11223344> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfed9305d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xffffffff> <magic 0x11223344> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xffffffff> <magic 0x11223344> <pcomp> <accomp>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [LCP TermReq id=0x2]
LCP terminated by peer
sent [LCP TermAck id=0x2]
Connection terminated.
abort on (BUSY)
abort on (ERROR)
abort on (NO DIALTONE)
send (/K^M)reak to the modem/n
send (+++ATH^M)
Script /sbin/chat -s -v -f /etc/ppp/chat/disconnect-chat finished (pid 1086), status = 0x0
Serial link disconnected.
Modem hangup
...全文
409 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
yuzoubawang88 2015-12-27
  • 打赏
  • 举报
回复
引用 1 楼 yuzoubawang88 的回复:
=========================>td-connect-chat TIMEOUT 15 ABORT 'NO CARRIER' ABORT 'ERROR' ABORT 'NO DIALTONE' ABORT 'BUSY' ABORT 'NO ANSWER' "" 'AT' OK 'ATDT*98*1#' CONNECT =============>去网上找一下其他的。
已解决了,谢谢
yuzoubawang88 2015-12-27
  • 打赏
  • 举报
回复
=========================>td-connect-chat TIMEOUT 15 ABORT 'NO CARRIER' ABORT 'ERROR' ABORT 'NO DIALTONE' ABORT 'BUSY' ABORT 'NO ANSWER' "" 'AT' OK 'ATDT*98*1#' CONNECT =============>去网上找一下其他的。

21,597

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧