AT91RM9200简易开发板,kernel是2.4.19,ppp协议是2.4.2,pppd拨号程序是2.4.4,交叉编译工具是cross-2.95.3.tar.bz2
在PC机linux下拨号没有问题
在开发板上运行:#pppd call cdma
查看:#tail -f /var/log/mesaages 出现如下信息:chat[****] NO CARRIER
pppd[****] connect script failed
/etc/ppp/peers/cdma 脚本如下:
#/etc/ppp/peers/CDMA
#this is ppp script for use chinaunicom's CDMA data service
ttyS1
115200
nocrtscts
connect '/usr/sbin/chat -v -f /etc/ppp/chatCDMA'
debug
ipcp-accept-local
ipcp-accept-remote
defaultroute
user card
/etc/ppp/chatCDMA 脚本如下:
# /etc/ppp/chatCDMA
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
TIMEOUT 60
"" at
OK atdt#777
CONNECT
阅读(759) | 评论(0) | 转发(0) |