Hi all,

i had been working tc63i gsm/gprs modem .

i written c test code and tested for sending and receiving at command, it's
working fine and i am able to get the IP address also.

while i am trying to establish net connection using pppd,chat command i got
following error

#pppd call gprs
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2a492b96>]
LCP: timeout sending Config-Requests
Connection terminated.
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
tcflush failed: Bad file descriptor


i have attached script file also.
please suggest me if any one knows about!!!!!!!

thanks in advance.


-- 
thanks&Regards
k.v.raju

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
# this one is for my gprs script file


nodetach
debug
connect /etc/ppp/peers/gprs-connect-chat
/dev/ttyACM0 # IrDA serial port one
460800
nocrtscts
local
:10.0.0.1
noipdefault
ipcp-accept-local
defaultroute
usepeerdns
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
noauth
nodeflate

# this one is my gprs-connect-chat file


exec chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
'' ATZ
OK AT OK AT+CGDCONT=1,"IP","airtelgprs.com","0.0.0.0",0,0
OK AT OK AT+CGATT=1 OK AT+CGREG=1 OK AT OK ATD*99#
CONNECT ''

Reply via email to