Hi Chaitanya,

1. I don't know detail about chat script and  ppp script Can you please
tell me detail about chat script and ppp script,
According to below mentioned link a have created three script
init.gprs-pppd, ip-up-ppp0 and p-down-ppp0 but i don't know about following
script.

   - /etc/ppp/options
   - /etc/ppp/chap-secrets
   - /etc/ppp/pap-secrets
   - /etc/ppp/chatscripts/dialer


http://afewe.wordpress.com/android-arm-development/use-point-to-point-protocol-ppp-in-android/

2. Do i need to build ppp 2.4.4 ? please help me.

Thanks and Regards,
Devindrappa



On Mon, Jan 16, 2012 at 12:31 PM, Devindrappa Handraki <
devindrapp...@gmail.com> wrote:

>
>
> ---------- Forwarded message ----------
> From: venkat k raju <kvraju....@gmail.com>
> Date: Mon, Jan 16, 2012 at 12:15 PM
> Subject: Re: [android-porting] Interface GPRS8000 to Devkit8000
> To: Devindrappa Handraki <devindrapp...@gmail.com>
> Cc: android-porting <android-porting@googlegroups.com>
>
>
> Hi Devindrappa,
>
> here i am using 2.6.32 kernel,so i am opening /dev/ttyS0. but your case is
> efferent(2.6.37) right !!!!!
> then you have to open ttyO0 in both the case in c program and pppd command.
>
>
>
>
> On Mon, Jan 16, 2012 at 11:50 AM, venkat k raju <kvraju....@gmail.com>wrote:
>
>> Hi Devindrappa,
>>
>> Thanks for your response.
>> i have written c application for gprs8000 in devkit8000
>> contains
>>
>> fd = open("/dev/ttyS0", O_RDWR);
>> init_ttyS(fd);
>> GPRS_Net_Test(fd);
>> here
>> init_ttyS(fd){
>> struct termios options;
>>
>>         bzero(&options, sizeof(options));       /* clear options*/
>>
>>         cfsetispeed(&options,B115200);            /* setup baud rate*/
>>         cfsetospeed(&options,B115200);
>>
>>         options.c_cflag |= (CRTSCTS | CS8 | CLOCAL | CREAD);
>>         options.c_iflag = IGNPAR;
>>
>>         tcflush(fd, TCIFLUSH);
>>
>>         tcsetattr(fd, TCSANOW, &options);
>>         checkstate(fd)
>>
>> }
>> GPRS_Net_Test(int fd){
>>
>> char *cmd_buf1 = "at+cgatt=1\r";
>>         char *cmd_buf2 = "at+cgdcont=1,\"IP\",\"bsnlnet\"\r";
>>         char *cmd_buf3 = "at+cdnscfg?\r";
>>
>> write(fd,cmd_buf1,sizeof(cdm_buf1);
>> read response
>> write(fd,cmd_buf2,sizeof(cdm_buf2);
>> read response
>> write(fd,cmd_buf3,sizeof(cdm_buf3);
>> read response
>>
>> }
>>
>> then i build the chat command also,
>>
>> after i typed this command
>>
>>
>> #pppd /dev/ttyS0 115200 asyncmap auth connect 'chat -v "" AT OK ATE0 OK
>> AT+IPR=115200 OK AT+CGDCONT=1,\"IP\",\"bsnlnet.com\" OK ATD*99#
>> CONNECT'  nocrtscts defaultroute modem updetach
>>
>> then #logcat
>>
>> set the dns1,and dns2 address .
>>
>>
>>
>> On Mon, Jan 16, 2012 at 11:26 AM, Devindrappa Handraki <
>> devindrapp...@gmail.com> wrote:
>>
>>> Hi Venkat,
>>>
>>> Modify the RIL source code according to below mentioned link
>>>
>>>
>>> https://gitorious.org/0xdroid/hardware_ril/commit/ee75708cc786531c853e9ec7ffc28dd03658
>>>
>>> and build the RIL lib and load the RIL lib as mentioned below
>>>
>>> cd $ANDSOURCES/gingerbread/
>>> source build/envsetup.sh
>>> make clean
>>> mm libreference-ril TARGET_PRODUCT=beagleboard -j8
>>>
>>> adb push $GINGER/out/target/product/$PRODUCT/system/lib/libril.so 
>>> /system/lib/
>>>
>>>
>>>
>>>
>>> adb push $GINGER/out/target/product/$PRODUCT/system/lib/libreference-ril.so 
>>> /system/lib/
>>>
>>>
>>> then start the RIL daemon from init.rc
>>>
>>>
>>> service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- 
>>> -d /dev/ttyO0
>>>
>>>
>>>
>>>
>>>    socket rild stream 660 root radio
>>>    socket rild-debug stream 660 radio system
>>>    user root
>>>    group radio cache inet misc audio vpn net_admin
>>>
>>> service pppd_gprs /etc/ppp/init.gprs-pppd.sh
>>>
>>>
>>>
>>>
>>>    user root
>>>    group radio cache inet misc
>>>    disabled
>>>
>>>
>>> your RIL will work and you will be able to get signal strength, operator 
>>> information and able to make call and receive call, but i am not able to 
>>> access the Internet still i am exploring about Internet access.
>>>
>>>
>>>
>>>
>>> Can you share me how you able to access the internat without using RIL, 
>>> detail about pppd and chat script i am not able to access the intenet.
>>>
>>>
>>> Thanks and regards
>>> Deindrappa Handraki
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Sun, Jan 15, 2012 at 4:43 PM, Chaitanya 
>>> <chaitanya.nom...@gmail.com>wrote:
>>>
>>>> @ Mark,
>>>> For HDMI out you can simply use TMDS serializers from the parlallel
>>>> interface of your platform. More to do with hardware rather than
>>>> android porting. Could you please make a new post rather than changing
>>>> the subject of a existing post.
>>>>
>>>> On Jan 14, 9:44 pm, "Mark" <mark.liu.ch...@gmail.com> wrote:
>>>> > Hello everyone:
>>>> >
>>>> > I am working on development of tvout on MHL and MINI-HDMI on the
>>>> android
>>>> > phone. I could not find information for the SDK or android source
>>>> support
>>>> > for this development.
>>>> >
>>>> > Who can help me to know how to do?
>>>> >
>>>> > Mark.Liu
>>>>
>>>> --
>>>> unsubscribe: android-porting+unsubscr...@googlegroups.com
>>>> website: http://groups.google.com/group/android-porting
>>>>
>>>
>>>
>>
>>
>> --
>> 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