You should also check to make sure that your kernel has the proper CONFIG items enabled for PPP. After the chat script is finished and you get CONNECT, pppd changes the line discipline of ttyUSB0 to N_PPP and starts talking PPP with the CDMA modem. If the PPP driver is not enabled, this will obviously not work.
On Feb 22, 9:48 am, John Michelau <[email protected]> wrote: > Modify chat and pppd to reroute the syslog logs to logcat and post the > output here. Your posted log doesn't even show the ATD or the > connect. > > On Feb 21, 7:26 am, tiwari <[email protected]> wrote: > > > I have an android tablet and i am trying to connect a CDMA modem to go > > online using pppd command from terminal emulator, but pppd hangs after > > "chat script". > > > This same command works on linux box with same config in "chat > > script". > > > Following is the log of command. > > =========================================================================== > > ======= > > > $su > > pppd connect 'chat -v -s -f /mnt/sdcard/chat-telcel' /dev/ttyUSB0 9600 > > user internet password internet nodetach crtscts debug usepeerdns > > defaultroute > > > # abort on (NO CARRIER) > > abort on (NO DIALTONE) > > abort on (ERROR) > > abort on (NO ANSWER) > > abort on (BUSY) > > timeout set to 120 seconds > > send (ATZ^M) > > expect (OK) > > ATZ^M^M > > OK -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
