- 论坛徽章:
- 0
|
在ATDT #777 CONNECT 成功后
通过命令执行
pppd debug lock nocrtscts modem /dev/ttyS0 115200 asyncmap 20A0000 escape FF kdebug 0 0.0.0.0:0.0.0.0 noipdefault netmask 255.255.255.0 defaultroute user login connect ""
上面命令中的user login 参数怎么设置
日志如下:
Dec 27 10:12:37 localhost pppd[4517]: pppd 2.4.1 started by root, uid 0
Dec 27 10:12:37 localhost pppd[4517]: using channel 15
Dec 27 10:12:37 localhost pppd[4517]: Using interface ppp0
Dec 27 10:12:37 localhost pppd[4517]: Connect: ppp0 <--> /dev/ttyS0
Dec 27 10:12:38 localhost pppd[4517]: sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x6473db96> <pcomp> <accomp>]
Dec 27 10:13:05 localhost last message repeated 9 times
Dec 27 10:13:08 localhost pppd[4517]: LCP: timeout sending Config-Requests
Dec 27 10:13:08 localhost pppd[4517]: Connection terminated.
Dec 27 10:13:09 localhost pppd[4517]: Exit.
Dec 27 10:14:20 localhost pppd[4545]: pppd 2.4.1 started by root, uid 0
Dec 27 10:14:20 localhost pppd[4545]: using channel 16
Dec 27 10:14:20 localhost pppd[4545]: Using interface ppp0
Dec 27 10:14:20 localhost pppd[4545]: Connect: ppp0 <--> /dev/ttyS0
Dec 27 10:14:21 localhost pppd[4545]: sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x5774d5a9> <pcomp> <accomp>]
Dec 27 10:14:36 localhost last message repeated 5 times
Dec 27 10:14:37 localhost pppd[4545]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0xd6f300ce> <pcomp> <accomp>]
Dec 27 10:14:37 localhost pppd[4545]: sent [LCP ConfRej id=0x1 <auth chap MD5>]
Dec 27 10:14:37 localhost pppd[4545]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x5774d5a9> <pcomp> <accomp>]
Dec 27 10:14:37 localhost last message repeated 5 times
Dec 27 10:14:37 localhost pppd[4545]: rcvd [LCP ConfReq id=0x2 <mru 1514> <asyncmap 0x0> <magic 0xd6f300ce> <pcomp> <accomp>]
Dec 27 10:14:37 localhost pppd[4545]: sent [LCP ConfAck id=0x2 <mru 1514> <asyncmap 0x0> <magic 0xd6f300ce> <pcomp> <accomp>]
Dec 27 10:14:37 localhost pppd[4545]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
Dec 27 10:14:37 localhost pppd[4545]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
Dec 27 10:14:38 localhost pppd[4545]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Dec 27 10:14:40 localhost pppd[4545]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
Dec 27 10:14:49 localhost last message repeated 3 times
Dec 27 10:14:50 localhost pppd[4545]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0x920556f4> <pcomp> <accomp>]
Dec 27 10:14:50 localhost pppd[4545]: sent [LCP ConfReq id=0x2 <asyncmap 0x20a0000> <magic 0x960fa2ca> <pcomp> <accomp>]
Dec 27 10:14:50 localhost pppd[4545]: sent [LCP ConfRej id=0x1 <auth chap MD5>]
Dec 27 10:14:53 localhost pppd[4545]: sent [LCP ConfReq id=0x2 <asyncmap 0x20a0000> <magic 0x960fa2ca> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x20a0000> <magic 0x960fa2ca> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: rcvd [LCP ConfReq id=0x2 <mru 1514> <asyncmap 0x0> <magic 0x920556f4> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: sent [LCP ConfAck id=0x2 <mru 1514> <asyncmap 0x0> <magic 0x920556f4> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <compress VJ 0f 01>]
Dec 27 10:14:56 localhost pppd[4545]: sent [CCP ConfReq id=0x2 <deflate 15> <deflate(old#) 15>]
Dec 27 10:14:56 localhost pppd[4545]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x20a0000> <magic 0x960fa2ca> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: rcvd [LCP ConfReq id=0x3 <mru 1514> <asyncmap 0x0> <magic 0x920556f4> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: sent [LCP ConfReq id=0x3 <asyncmap 0x20a0000> <magic 0x7717e82a> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: sent [LCP ConfAck id=0x3 <mru 1514> <asyncmap 0x0> <magic 0x920556f4> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: rcvd [LCP ConfAck id=0x3 <asyncmap 0x20a0000> <magic 0x7717e82a> <pcomp> <accomp>]
Dec 27 10:14:56 localhost pppd[4545]: sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <compress VJ 0f 01>]
Dec 27 10:14:56 localhost pppd[4545]: sent [CCP ConfReq id=0x3 <deflate 15> <deflate(old#) 15>]
Dec 27 10:14:56 localhost pppd[4545]: rcvd [LCP TermReq id=0x4]
Dec 27 10:14:56 localhost pppd[4545]: LCP terminated by peer
Dec 27 10:14:56 localhost pppd[4545]: sent [LCP TermAck id=0x4]
Dec 27 10:14:59 localhost pppd[4545]: Connection terminated.
Dec 27 10:15:00 localhost pppd[4545]: Exit. |
|