Hi chaitanya,

can you tell me how to run pppd from init.rc file.

one more thing here is if i run rild daemon,then pppd getting failed.




On Tue, Jan 17, 2012 at 2:35 PM, venkat k raju <kvraju....@gmail.com> wrote:

> sorry without rild interface i am connecting internet
>
>
> On Tue, Jan 17, 2012 at 2:35 PM, venkat k raju <kvraju....@gmail.com>wrote:
>
>> Hi Devindrappa Handraki,
>>
>> i had been trying it........... for me both are not working at time...
>> here i am using mux concept also.. !!!!!!!!
>>
>> i don't know what happen in your case....but  with rild interface i have
>> been connection the net ..
>> see once again...
>> 1) i written code for manually enter at commands!!!!!
>> in this #AT+CGREG=1
>>           #AT^SGAUTH=0 // in your case no need of this command.
>>           #At+cgatt=1
>>           # AT+Cgdcont=1,IP,BSNLNET
>> 2)
>>
>> /system/bin/pppd nodetach debug  /dev/ttyACM0 115200 nocrtscts  local
>> 0.0.0.0:10.0.0.1 noipdefault ipcp-accept-local connect '/system/bin/chat
>> -v -s -f /system/etc/ppp/gprs_chat' defaultroute usepeerdns modem updetach
>> noauth
>>
>> 3) gprs_chat.sh file contains
>>
>> ABORT 'BUSY'
>> ABORT 'NO CARRIER'
>> ABORT 'VOICE'
>> ABORT 'NO DIALTONE'
>> ABORT 'NO DIAL TONE'
>> ABORT 'NO ANSWER'
>> ABORT 'DELAYED'
>> REPORT CONNECT
>> TIMEOUT 6
>> ''
>> 'AT+CGDCONT=1,"IP","airtelgprs.com"'
>> 'OK' 'ATD*99***1#'
>> TIMEOUT 30
>> CONNECT ''
>>
>>
>>
>>
>>
>> On Tue, Jan 17, 2012 at 2:23 PM, Devindrappa Handraki <
>> devindrapp...@gmail.com> wrote:
>>
>>> Hi venkat and  Chaitanya,
>>>
>>> 1. I am not able to access Internet,  i am getting the below mentioned
>>> error
>>> E/pppd    ( 1799): Connect script failed
>>> I/pppd    ( 1802): ######### pppd exited with 8
>>>
>>> 2. Do we need to configure mux driver for internet access and telephone
>>> services. If so please give me some hints.
>>>
>>> Thanks and Regards,
>>> Devindrappa
>>>
>>>
>>>
>>>
>>> On Tue, Jan 17, 2012 at 9:12 AM, venkat k raju <kvraju....@gmail.com>wrote:
>>>
>>>>
>>>> Hi Chaitanya & Devindrappa,
>>>>
>>>> thanks for your suggestions.
>>>>
>>>> finally i am able to establish GPRS and GSM individually.
>>>> if i tried both at time then my usb (modem) was disconnecting.
>>>>
>>>> i have been trying it... !!!!!!!!!
>>>>
>>>>
>>>> On Mon, Jan 16, 2012 at 5:23 PM, Sai Chaitanya Chitneedi <
>>>> chaitanya.nom...@gmail.com> wrote:
>>>>
>>>>> Hi venkat,
>>>>> I'm not aware of the mux driver and config binary you are using.
>>>>> Assuming it works well, it seems like a permission problem or a locked
>>>>> socket problem. do a "lsof" on /dev/socket/rild (socket used by android to
>>>>> communicate with ril daemon) for any exsting locks and check its
>>>>> permissions. Try with the physical port first,after killing the rild. Then
>>>>> try with your virtual port.
>>>>>
>>>>> Also if it suits your purpose use a soft link instead of virtual ports.
>>>>>
>>>>> On Mon, Jan 16, 2012 at 11:25 AM, venkat k raju 
>>>>> <kvraju....@gmail.com>wrote:
>>>>>
>>>>>>
>>>>>> Hi chaitanya,
>>>>>> can you explain me how to establish gsm on gingerbread.
>>>>>>
>>>>>> i am following there steps to manually establish GSM/GPRS .... please
>>>>>> correct me.
>>>>>>
>>>>>>
>>>>>> #chmod 0666 /dev/ttyACM0  /********* my physical serial port*******/
>>>>>> #    chown radio.radio /dev/ttyACM0
>>>>>> #    insmod ./linmux.ko /*************** my mux driver to create
>>>>>> virtual port *********/
>>>>>> #    chmod 0666 /dev/ttyMux1
>>>>>> #    chmod 0666 /dev/ttyMux2
>>>>>> #    chmod 0666 /dev/ttyMux0
>>>>>> #    chown radio.radio /dev/ttyMux0
>>>>>> #    chown radio.radio /dev/ttyMux1
>>>>>> #    chown radio.radio /dev/ttyMux2
>>>>>>
>>>>>> #mknod /dev/muxcfg c 239 0 /****** i am creating the interface
>>>>>> driver***********/
>>>>>>
>>>>>> #/system/bin/linmuxcfg -p=/dev/ttyACM0 /******** configuring the
>>>>>> physical port to virtual port **********/
>>>>>>
>>>>>> then i am trying to kill rild daemon then i am trying execute the
>>>>>> bellow command for GSM as well as gprs with new virtual serial port.
>>>>>>
>>>>>> #/system/bin/rild -l /system/lib/libreference-ril.so -- -d
>>>>>> /dev/ttyMux0
>>>>>>
>>>>>> but here i got the error like this
>>>>>>
>>>>>>
>>>>>> I/RIL     (  360): Opening tty device /dev/ttyMux0
>>>>>> E/RILC    (  360): Failed to get socket 'rild'
>>>>>>
>>>>>>
>>>>>> please suggest me !!!!!!!
>>>>>>
>>>>>> thanks&Regards
>>>>>> k.v.raju
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> thanks&Regards
>>>> k.v.raju
>>>>
>>>
>>>
>>
>>
>> --
>> thanks&Regards
>> k.v.raju
>>
>
>
>
> --
> thanks&Regards
> k.v.raju
>



-- 
thanks&Regards
k.v.raju

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to