主题 : GPRS拔号问题 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 5156
精华: 0
发帖: 73
金钱: 415 两
威望: 163 点
综合积分: 146 分
注册时间: 2009-04-12
最后登录: 2018-02-08
楼主  发表于: 2009-07-05 19:31

 GPRS拔号问题



请问是不是这样就支持PPP啦
各位大哥,我搞PPP拔号几天了,但是都没什么进展,都是按照网上说的,把pppd chat放进/usr/sbin中的,再把ppp-on,ppp-on-dialer,和ppp-off放进etc/ppp中,但我开了ppp-on在日记里出现
ATD*99***1#^M^M
CONNECT
  -- got it
send (^M)
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/s3c2410_serial1
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
PAP authentication succeeded
LCP terminated by peer

这样就退出了,是不是我的内核还不支持啊,LCP数据都不能发送就退出了
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-07-06 11:44
你的内核配置是正确的,否则连LCP你都看不见。
我想你可以:
1. 确认在ATD*99***1#之前GPRS Context已经定义了(通过AT+CGDCONT)
2. 从pppd的日志里查找更详细的错误原因,参考http://www.faqs.org/docs/linux_network/x7261.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 5156
精华: 0
发帖: 73
金钱: 415 两
威望: 163 点
综合积分: 146 分
注册时间: 2009-04-12
最后登录: 2018-02-08
2楼  发表于: 2009-07-06 18:49
嗯,已经定义了
AT+CGDCONT=1,"IP","CMNET"^M^M
OK
got it

先谢谢版主