Hi,

Google removed PPPD in froyo. So how to start pppd?
I know one way is pppd + chat, is this regular way?

When I ported reference-ril.c,  i can see all the AT commands are executed.
And the last one is "ATD*99***1" and return "Connect 384000"
Here is the logcat:
D/AT      ( 2487): AT> ATD*99***1#
D/AT      ( 2487): AT< CONNECT 384000
D/RILJ    ( 2166): [0063]< SETUP_DATA_CALL {1, /dev/ppp0}
D/GSM     ( 2166): [GsmDataConnection-1] DcActivatingState 
msg.what=EVENT_SETUP_DATA_CONNECTION_DONE
D/GSM     ( 2166): [GsmDataConnection-1] DataConnection setup result='SUCCESS' 
on cid=1
D/GSM     ( 2166): [GsmDataConnection-1] DcInactiveState: 
setEnterNoticationParams cp,cause
D/GSM     ( 2166): [GsmDataConnection-1] DcActiveState: enter 
notifyConnectCompleted
D/GSM     ( 2166): [GsmDataConnection-1] notifyConnection at 1105758 cause=No 
Error
D/GSM     ( 2166): GSMDataConnTrack handleMessage { what=1 when=1105759 arg1=1 
obj=android.os.AsyncResult@43fb52d0 }
D/GSM     ( 2166): [GsmDataConnectionTracker] setState: CONNECTED
D/GSM     ( 2166): [DataConnection] Start poll NetStat

I also can see the GPRS Logo from the UI, but I can not go to internet.

Here is the logcat for pppd:

D/ConnectivityService( 2057): ConnectivityChange for mobile: CONNECTED/CONNECTED
D/Tethering( 2057): Tethering got CONNECTIVITY_ACTION
D/Tethering( 2057): MasterInitialState.processMessage what=3
E/HierarchicalStateMachine( 2057): TetherMaster - unhandledMessage: msg.what=3
D/pppd    ( 2609): sent [IPCP ConfReq id=0x3e <addr 0.0.0.0>]
D/pppd    ( 2609): sent [IPCP ConfReq id=0x3e <addr 0.0.0.0>]
D/dalvikvm( 2237): GC_EXPLICIT freed 325 objects / 20080 bytes in 42ms
D/pppd    ( 2609): sent [IPCP ConfReq id=0x3e <addr 0.0.0.0>]
D/pppd    ( 2609): sent [IPCP ConfReq id=0x3e <addr 0.0.0.0>]
D/pppd    ( 2609): sent [IPCP ConfReq id=0x3e <addr 0.0.0.0>]
D/pppd    ( 2609): sent [LCP EchoReq id=0x4 magic=0x7a9b9391]
D/pppd    ( 2609): sent [IPCP ConfReq id=0x3e <addr 0.0.0.0>]
D/pppd    ( 2609): sent [IPCP ConfReq id=0x3e <addr 0.0.0.0>]
D/pppd    ( 2609): sent [IPCP ConfReq id=0x3e <addr 0.0.0.0>]
W/pppd    ( 2609): IPCP: timeout sending Config-Requests
D/pppd    ( 2609): sent [LCP TermReq id=0x2 "No network protocols running"]
D/pppd    ( 2609): sent [LCP TermReq id=0x3 "No network protocols running"]
I/pppd    ( 2609): Connection terminated.
E/Tethering( 2057): attempting to remove unknown iface (ppp0), ignoring
I/pppd    ( 2609): Serial link disconnected.
I/pppd    ( 2609): Modem hangup



Regards,



2011-01-31 



lnxarm 

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to