拨号脚本打印的信息


AT> AT+ZEACT=2//LTE 接入技术 LTE-TDD Pref

AT< +CREG: 2

AT< +CGREG: 2

AT< +CEREG: 2

AT< +ZMSRI

AT< OK

AT> AT+ZNCARD=1//1:切换为 Linux/Android系统下的端口组合(ECM)

AT< +ZPBIC: 1,0

AT< +CGEV: ME PDN ACT1

AT< +CREG: 1

AT< ^MODE: 17,9

AT< +CREG: 1

AT< +CEREG: 1

AT< OK

AT> AT+CPIN?//PIN 码输入

AT< +CPIN: READY

AT> AT+COPS?//运营商选择

AT< OK

AT< +ZPBIC: 1,1

AT< +COPS:0,0,"CHINA MOBILE",7,0

AT> AT+CGDCONT=1,"IP","FSTZCL.GD"//PDP 设置环境

AT< OK

AT> AT+CGDCONT?

AT< +CME ERROR: 3

AT< +CGDCONT:1,"IP","FSTZCL.GD","0.0.0.0",0,0,0,0,0,0

AT> AT^SYSCONFIG=2,6,1,3//系统配置参考设置命令  自动选择  先LTE后TD然后GSM  可以漫游  ANY

AT< OK

AT> AT+CFUN=1//操作模式设置 完全功能

AT< OK

AT> AT+CGATT=1//PS 附着/去附着

AT< OK

AT> AT+CGATT=1

AT< OK

AT> AT^SYSINFO//系统信息获取命令

AT< OK

AT< ^MODE: 3,3

AT< +CREG: 2

AT< ^MODE: 0

AT< +CEREG: 2

AT< ^SYSINFO:0,3,0,0,1

==>waiting modemregister .... err_count= 0

==>opening port/dev/ttyUSB0

AT> AT+ZEACT=2//LTE 接入技术 LTE-TDD Pref

AT< OK

AT> AT+ZNCARD=1//USB 端口组合切换命令 切换为 Linux/Android系统下的端口组合(ECM)

AT< +CREG: 1

AT< ^MODE: 17,9

AT< +CREG: 1

AT< +CEREG: 1

AT< OK

AT> AT+CPIN?

AT< OK

AT< +CPIN: READY

AT> AT+COPS?

AT< OK

AT< +COPS:0,0,"CHINA MOBILE",7,0

AT> AT+CGDCONT=1,"IP","FSTZCL.GD"//<cid>: 1-4, PDP设置环境的索引值  PDP Packet Data Protocol分组数据协议

AT< OK

AT> AT+CGDCONT?

AT< +CME ERROR: 3

AT< +CGDCONT:1,"IP","FSTZCL.GD","0.0.0.0",0,0,0,0,0,0

AT> AT^SYSCONFIG=2,6,1,3

AT< OK

AT> AT+CFUN=1

AT< OK

AT> AT+CGATT=1//PS 附着/去附着

AT< OK

AT> AT+CGATT=1//PS 附着/去附着

AT< ^MODE: 3,3

AT< +CREG: 1

AT< OK

AT> AT^SYSINFO

AT< OK

AT< ^SYSINFO:2,3,0,3,1,,3

==>modem registersuccessful!

AT> AT+CGATT=1//PS 附着/去附着 启动附着过程 若 MT 没与 PS 附着,则 MT 首先执行 PS附着

AT< OK

AT> AT+CGACT=1,1//激活  一个指定特定 PDP 上下文

AT< OK

AT> AT+ZGACT=1,1//拨号 RNDIS 连接控制 连接 一个指定特定 PDP 上下文的数字参数

AT< OK

==>modem dialsuccessful!

AT> AT

AT< +ZGIPDNS:1,1,"IP","10.11.32.194","0.0.0.0","0.0.0.0","0.0.0.0"

udhcpc (v1.16.0) started

Setting IP address0.0.0.0 on eth1

Sending discover...

Sending select for10.11.32.194...

Lease of 10.11.32.194obtained, lease time 7200

Setting IP address10.11.32.194 on eth1

Deleting routers

route: SIOCDELRT: No suchprocess

Adding router10.11.32.195

Recreating/etc/resolv.conf

Logo

更多推荐