Hi François
I have modified the script file as below but I got the same result.
pppd: connect script failed
/** 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 debug \
/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' \
AT+CGDCONT=1 "IP" "Fetnet01" \
OK ATDT*99***1# \
CONNECT
Another way, If I test it on the fedora linux os, I can get the chat
log message.
When I change the chat command from fedora system to the another chat
command that made by busybox,
I can't get chat log message anymore.
How do you think?
Thanks in advance again.
ehung
On 4月14日, 下午6時34分, François Guillemé <
franc...@guilleme.net> wrote:
> Ok now you get connected but since you dial without defining AT+CGDCONT as I
> explained in my previous mail, pppd has nobody to talk to. you must define
> the apn prior to dialing in your chat script. Then pppd should be able to
> talk to a ppp server on the other side. add debug option to your pppd config
> to get more info about what is happening. There is a mistake in the pppd
> android code. It doesn't display correctly he franes in debug. It is pretty
> easy to fix.
>
> 2009/4/14 ehung <
ehung1...@gmail.com>
> François- 隱藏被引用文字 -
>
> - 顯示被引用文字 -