Hi kiran nayak

i think this problem with modem authentication .

On Fri, Mar 30, 2012 at 5:18 PM, kiran nayak <[email protected]> wrote:

> hi venkat
>
> now got some result
>
> I/pppd    ( 1380): Using interface ppp0
> I/pppd    ( 1380): Connect: ppp0 <--> /dev/ttyUSB0
> D/pppd    ( 1380): sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
> 0xe1dcfdbe>]
> D/pppd    ( 1380): rcvd [LCP ConfRej id=0x1 <magic 0xe1dcfdbe>]
> D/pppd    ( 1380): sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
> D/pppd    ( 1380): rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
> D/pppd    ( 1380): rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0>
> <pcomp> <accomp> <auth pap>]
> D/pppd    ( 1380): No auth is possible
> D/pppd    ( 1380): sent [LCP ConfRej id=0x1 <pcomp> <accomp> <auth pap>]
> D/pppd    ( 1380): rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0>]
> D/pppd    ( 1380): sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0>]
> D/pppd    ( 1380): sent [LCP EchoReq id=0x0 magic=0x0]
> D/pppd    ( 1380): sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#)
> 15>]
> D/pppd    ( 1380): sent [IPCP ConfReq id=0x1 <addr 30.0.0.0> <ms-dns1
> 0.0.0.0> <ms-dns3 0.0.0.0>]
> D/pppd    ( 1380): rcvd [LCP TermReq id=0x3]
> I/pppd    ( 1380): LCP terminated by peer
> D/pppd    ( 1380): sent [LCP TermAck id=0x3]
> D/pppd    ( 1380): rcvd [LCP EchoRep id=0x0 magic=0x0]
> I/pppd    ( 1380): Connection terminated.
> E/Tethering( 1101): attempting to remove unknown iface (ppp0), ignoring
> I/pppd    ( 1380): Serial connection established.
> D/pppd    ( 1380): using channel 4
> D/Tethering( 1101): ppp0 is not a tetherable iface, ignoring
> I/pppd    ( 1380): Using interface ppp0
> I/pppd    ( 1380): Connect: ppp0 <--> /dev/ttyUSB0
> D/pppd    ( 1380): rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0>
> <pcomp> <accomp> <auth pap>]
> D/pppd    ( 1380): sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic
> 0x41c791bb>]
> D/pppd    ( 1380): No auth is possible
> D/pppd    ( 1380): sent [LCP ConfRej id=0x1 <pcomp> <accomp> <auth pap>]
> W/pppd    ( 1380): tcflush failed: Bad file number
> E/Tethering( 1101): attempting to remove unknown iface (ppp0), ignoring
>
>
> but ppp0 is not creating..
>
> On Fri, Mar 30, 2012 at 5:12 PM, venkat k raju <[email protected]>wrote:
>
>> yes it have been working fine
>>
>>
>> On Fri, Mar 30, 2012 at 5:11 PM, kiran nayak <[email protected]> wrote:
>>
>>> is this script worked for you successfully..?
>>>
>>>
>>> On Fri, Mar 30, 2012 at 5:07 PM, venkat k raju <[email protected]>wrote:
>>>
>>>> send (AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET"^M)
>>>>
>>>> here your send one meta charector ^M check it
>>>> once !!!!!!! remove it
>>>>
>>>>
>>>>
>>>> On Fri, Mar 30, 2012 at 4:51 PM, kiran nayak <[email protected]>wrote:
>>>>
>>>>> hi venkat thanks for the script
>>>>>
>>>>> the error now is
>>>>>
>>>>> abort on (BUSY)
>>>>> abort on (NO CARRIER)
>>>>> abort on (VOICE)
>>>>> abort on (NO DIALTONE)
>>>>> abort on (NO DIAL TONE)
>>>>> abort on (NO ANSWER)
>>>>> abort on (DELAYED)
>>>>> report (CONNECT)
>>>>> timeout set to 6 seconds
>>>>> send (AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET"^M)
>>>>> expect (OK)
>>>>> alarm
>>>>> Failed
>>>>>
>>>>> i m not getting whats going wrong
>>>>>
>>>>>
>>>>> On Fri, Mar 30, 2012 at 4:43 PM, venkat k raju 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Mar 30, 2012 at 4:30 PM, kiran nayak <[email protected]>wrote:
>>>>>>
>>>>>>>
>>>>>>> can u send your chat script
>>>>>>>
>>>>>>> On Fri, Mar 30, 2012 at 4:07 PM, venkat k raju <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> expect (exec)
>>>>>>>> your script syntax wrong check it once
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Mar 30, 2012 at 4:01 PM, kiran nayak <[email protected]>wrote:
>>>>>>>>
>>>>>>>>> its not working yar
>>>>>>>>>
>>>>>>>>> this is the output
>>>>>>>>> #expect (exec)
>>>>>>>>> alarm
>>>>>>>>> Failed
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Mar 30, 2012 at 3:20 PM, kiran nayak 
>>>>>>>>> <[email protected]>wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> thank u very much i will check it ..
>>>>>>>>>> On Fri, Mar 30, 2012 at 3:10 PM, venkat k raju <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi kiran nayak,
>>>>>>>>>>>
>>>>>>>>>>> please check it once!!
>>>>>>>>>>>
>>>>>>>>>>> #/system/bin/pppd usepeerdns crtscts 115200 modem /dev/ttyACM0
>>>>>>>>>>> noauth debug nodetach persist noipdefault defaultroute 
>>>>>>>>>>> lcp-echo-failure 4
>>>>>>>>>>> lcp-echo-interval 65535 ipcp-max-configure 20 ipcp-max-failure 20 
>>>>>>>>>>> local
>>>>>>>>>>> 0.0.0.0:10.0.0.1  ipcp-accept-local connect '/system/bin/chat
>>>>>>>>>>> -v -s -f /system/etc/ppp/gprs_chat'
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Mar 30, 2012 at 3:03 PM, kiran nayak <[email protected]
>>>>>>>>>>> > wrote:
>>>>>>>>>>>
>>>>>>>>>>>> can u pls send the proper command format of pppd
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Mar 30, 2012 at 2:55 PM, kiran nayak <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> oh can i use the same scripts which i have used for linux on
>>>>>>>>>>>>> android..
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Mar 30, 2012 at 2:51 PM, venkat k raju <
>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi kiran nayak ,
>>>>>>>>>>>>>> through gui i have been trying it, not yet done
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, Mar 30, 2012 at 2:50 PM, venkat k raju <
>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi kiran nayak,
>>>>>>>>>>>>>>> i have been connecting net through command line,not from
>>>>>>>>>>>>>>> GUI(frame work).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> through command prompt
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> i have written small c application to send at command to my
>>>>>>>>>>>>>>> modem /dev/ttyACM0
>>>>>>>>>>>>>>> then i have been running pppd command on command prompt,then
>>>>>>>>>>>>>>> i am setting setprop net.dns1 and setprop net.dns2 address
>>>>>>>>>>>>>>> then i am opening the browser it's working
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Fri, Mar 30, 2012 at 2:44 PM, kiran nayak <
>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> hi ventat
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> have u successfully used gprs/3G connectivity  on android?
>>>>>>>>>>>>>>>> could u pls share some of the details how to achieve this?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> i can connect to Internet using my modem on linux pc but
>>>>>>>>>>>>>>>> its not possible on android ..
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> with regards
>>>>>>>>>>>>>>>> kiran nayak
>>>>>>>>>>>>>>>> Center for Development of Advanced Computing,Knowledge Park
>>>>>>>>>>>>>>>> bangalore
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> thanks&Regards
>>>>>>>>>>>>>>> k.v.raju
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> thanks&Regards
>>>>>>>>>>>>>> k.v.raju
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> with regards
>>>>>>>>>>>>> kiran nayak
>>>>>>>>>>>>> Center for Development of Advanced Computing,Knowledge Park
>>>>>>>>>>>>> bangalore
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> with regards
>>>>>>>>>>>> kiran nayak
>>>>>>>>>>>> Center for Development of Advanced Computing,Knowledge Park
>>>>>>>>>>>> bangalore
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> thanks&Regards
>>>>>>>>>>> k.v.raju
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> with regards
>>>>>>>>>> kiran nayak
>>>>>>>>>> Center for Development of Advanced Computing,Knowledge Park
>>>>>>>>>> bangalore
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> with regards
>>>>>>>>> kiran nayak
>>>>>>>>> Center for Development of Advanced Computing,Knowledge Park
>>>>>>>>> bangalore
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> thanks&Regards
>>>>>>>> k.v.raju
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> with regards
>>>>>>> kiran nayak
>>>>>>> Center for Development of Advanced Computing,Knowledge Park
>>>>>>> bangalore
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> thanks&Regards
>>>>>> k.v.raju
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> with regards
>>>>> kiran nayak
>>>>> Center for Development of Advanced Computing,Knowledge Park
>>>>> bangalore
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> thanks&Regards
>>>> k.v.raju
>>>>
>>>
>>>
>>>
>>> --
>>> with regards
>>> kiran nayak
>>> Center for Development of Advanced Computing,Knowledge Park
>>> bangalore
>>>
>>>
>>
>>
>> --
>> thanks&Regards
>> k.v.raju
>>
>
>
>
> --
> with regards
> kiran nayak
> Center for Development of Advanced Computing,Knowledge Park
> bangalore
>
>


-- 
thanks&Regards
k.v.raju

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

Reply via email to