免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1253 | 回复: 0
打印 上一主题 下一主题

[嵌入式] !!使用CDMA 模块上网,pppd命令中用户名密码如何设置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-27 10:21 |只看该作者 |倒序浏览
在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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP