LCP:在ecos上使用GPRS调制解调器发送配置请求超时

时间:2012-12-14 08:02:47

标签: ppp

我正在使用GPRS调制解调器,并希望在eCos上通过PPP建立连接。但它无法成功拨号。这个调制解调器在Windows XP上工作正常。导致“LCP:超时发送配置请求”的原因是什么? 请给出建议。 非常感谢!

我的聊天脚本如下

    "ABORT",        "NO CARRIER",
    "ABORT",        "ERROR",
    "ABORT",        "NO DIALTONE",
    "ABORT",        "BUSY",
    "ABORT",        "NO ANSWER",
    "",             "AT",
    "OK",           "ATS0=0",
    "OK",           "ATE0V1",                
    "OK",           "ATE1",          
    "OK",           "AT+CGDCONT=1,\"IP\",\"internet\"",        
    "OK",           "ATDT*99#",
    "CONNECT",      "\\d\\c",
    NULL

日志如下。

SYSLOG 08: Using interface ppp0
SYSLOG 04: Connect: ppp0 <--> /dev/serial0
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfNak id=0x1 <auth chap 05>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfNak id=0x1 <auth chap 05>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfNak id=0x1 <auth chap 05>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfNak id=0x1 <auth chap 05>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfNak id=0x1 <auth chap 05>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: sent [LCP ConfReq id=0x1 <magic 0x37ad5204> <pcomp> <accomp>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 10: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
SYSLOG 10: sent [LCP ConfRej id=0x1 <auth pap>]
SYSLOG 02: LCP: timeout sending Config-Requests
SYSLOG 04: Connection terminated, connected for 1 minutes

0 个答案:

没有答案