Hi everyone
I want to make a connection to internet with modem througth pppd
function.
But I got the error when I made a connection.
The error log is "pppd: connect script failed".
The below is my pppd and chat script file.

/** ppp-on ***
MYNAME=username
echo "PPP is using account ${MYNAME} to connect to ISP ${ISP} ..."
DIALER_SCRIPT=/data/HSDPA/pppondialer
exec /system/bin/pppd -detach modem crtscts \
        /dev/modem 460800 noipdefault defaultroute \
        noauth name ${MYNAME} connect $DIALER_SCRIPT

/**** pppondialer *****
exec /system/usr/bin/chat -v \
ABORT '\nNO DIALTONE\r' \
ABORT '\nBUSY\r' \
ABORT '\nNO CARRIER\r' \
ABORT '\nNO ANSWER\r' \
'' 'ATZ' \
OK ATDT*99***1# \
CONNECT ''

Could someone give me some suggestion?
Thank in advance
ehung
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to