yzhiju

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju  发布于  2015-01-19 11:45:41
采纳率 0%
12个问答
4402

4G模块使用2G的sim卡 不能获取IP 是什么原因

 
运行脚本
pppd connect 'chat -v  "" "AT" "" "AT+CGDCONT=1,"IP","3gnet"" "" "ATD*99# CONNECT"' /dev/ttyUSB3 115200 nodetach debug noauth defaultroute usepeerdns  crtscts user null password null -pc -ac $*

打印输出
Starting pppd
Script chat -v  "" "AT" "" "AT+CGDCONT=1,"IP","3gnet"" "" "ATD*99# CONNECT" finished (pid 1037), status = 0x0
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0x8 ]
sent [LCP ConfRej id=0x8 ]
rcvd [LCP ConfAck id=0x1 ]
rcvd [LCP ConfReq id=0x9 ]
sent [LCP ConfAck id=0x9 ]
rcvd [LCP DiscReq id=0xa magic=0x48a16e7c]
rcvd [CHAP Challenge id=0x1 <8cad8c238ed4d5e80e2e762ef6b0c950>, name = "UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 , name = "null"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 ]
sent [IPCP ConfReq id=0x1 ]
rcvd [LCP ProtRej id=0xb 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
Modem hangup
Connection terminated.
pppd exited with 16
我来回答
回答3个
时间排序
认可量排序

zk922

0个粉丝

4

问答

0

专栏

0

资料

zk922 2015-01-19 13:35:55
认可0
2G 不是  3gnet  APN网关错了 。

APN 接入点,和拨号 都和3G不一样。 到网上找下。

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2015-01-19 16:09:00
认可0
用了3G的sim卡 一直打印这是怎么回事
Script /sbin/chat -v -t3 -f /etc/ppp/peers/wcdma-connect finished (pid 1051), status = 0x0
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0x2c ]
sent [LCP ConfAck id=0x2c ]
rcvd [LCP ConfAck id=0x1 ]
rcvd [LCP DiscReq id=0x2d magic=0x49a15cdb]
rcvd [CHAP Challenge id=0x1 <92b22efb1210ceb6806b8192a4ebb86e>, name = "UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 <03d3703efc2d495cd8283d4f14c35505>, name = "card"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 ]
rcvd [IPCP ConfNak id=0x1 ]
sent [IPCP ConfReq id=0x2 ]
rcvd [IPCP ConfNak id=0x2 ]
sent [IPCP ConfReq id=0x3 ]
rcvd [IPCP ConfNak id=0x3 ]
sent [IPCP ConfReq id=0x4 ]
rcvd [IPCP ConfNak id=0x4 ]
sent [IPCP ConfReq id=0x5 ]
rcvd [IPCP ConfNak id=0x5 ]
。。。。。。
^CTerminating on signal 2
sent [LCP TermReq id=0x2 "User request"]
rcvd [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/peers/wcdma-disconnect finished (pid 1057), status = 0x0
Serial link disconnected.

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2015-01-23 10:37:14
认可0
pppd 版本不对
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区