我在uclinux下通过modem接上扩展的16c552的串口,modem有了响应,为什么拨不出去呢,chat完了之后,pppd通过lcp跟ISP交互的时候总是超时,可能会是什么问题呢?
我用的是ramdisk,可也没有报告说,不可以写入的错误,另外,我是通过44b0自带的串口作为输出的,我使用的拨号的脚本,也是在pc机下调试通过的
我在log里面收到的信息,是:
Thu Jan 01 00:00:08 1970 pppd: pppd 2.3.8 started by (unknown), uid 0 Thu Jan 01 00:00:09 1970 chat: abort on (NO CARRIER) Thu Jan 01 00:00:09 1970 chat: abort on (NO DIALTONE) Thu Jan 01 00:00:09 1970 chat: abort on (ERROR) Thu Jan 01 00:00:09 1970 chat: abort on (NO ANSWER) Thu Jan 01 00:00:09 1970 chat: abort on (BUSY) Thu Jan 01 00:00:09 1970 chat: send (ATL0^M) Thu Jan 01 00:00:09 1970 chat: expect (OK) Thu Jan 01 00:00:28 1970 chat: ^M Thu Jan 01 00:00:28 1970 chat: OK Thu Jan 01 00:00:28 1970 chat: -- got it Thu Jan 01 00:00:28 1970 chat: send (ATZ^M) Thu Jan 01 00:00:28 1970 chat: expect (OK) Thu Jan 01 00:00:28 1970 chat: ^M Thu Jan 01 00:00:48 1970 chat: ^M Thu Jan 01 00:00:48 1970 chat: OK Thu Jan 01 00:00:48 1970 chat: -- got it Thu Jan 01 00:00:48 1970 chat: send (ATDT016900^M) Thu Jan 01 00:00:48 1970 chat: expect (CONNECT) Thu Jan 01 00:00:48 1970 chat: ^M Thu Jan 01 00:01:28 1970 chat: Thu Jan 01 00:01:28 1970 chat: CONNECT Thu Jan 01 00:01:28 1970 chat: -- got it Thu Jan 01 00:01:28 1970 [30]: Serial connection established. Thu Jan 01 00:01:28 1970 [30]: using channel 1 Thu Jan 01 00:01:28 1970 [30]: Using interface ppp0 Thu Jan 01 00:01:28 1970 [30]: pppd create pidfile Thu Jan 01 00:01:28 1970 [30]: Connect: ppp0 <--> /dev/ttyS8 Thu Jan 01 00:01:29 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:32 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:35 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:38 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:41 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:44 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:47 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:50 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:53 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:56 1970 [30]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x 68322386>] Thu Jan 01 00:01:59 1970 [30]: LCP: timeout sending Config-Requests Thu Jan 01 00:01:59 1970 [30]: Connection terminated. Thu Jan 01 00:02:00 1970 [30]: Exit.