pppd: connect script failed

by ehung1...@gmail.com » Tue, 14 Apr 2009 15:46:00 GMT


Sponsored Links
 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
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. How to measure time interval for certain process

Hi all,
Anybody knows how to measure time interval for certain process rather
than CPU elapsed time?

I have noticed there is a class named "android.os.SystemClock", but
according to its description, it is for CPU timing. And what if I want
to measure CPU cost of applications like MediaPlayer?

I'd appreciate if there is any comment

Thanks,
Andy

--~--~---------~--~----~------------~-------~--~----~

2. Hoping to see tools like this for Android...

http://www.allaboutsymbian.com/news/item/8319_New_Developer_Tools_From_Symbi.php

(yes, I know these are for C++, but a decent profiler for the 
emulator/Hardware would be a nice start).

Al.
-- 

http://andappstore.com/



--~--~---------~--~----~------------~-------~--~----~

3. How do I update my activity on receiving intent in BroadcastReceiver

4. How to add Diff Views in Expandable List?

5. Clockwise or Counter-clockwise fling

6. source code file

7. How to package application for upload to websites from Eclipse IDE?