[android-porting] Re: Setup ppp

2011-06-01 Thread paldan
Hello, On 31 Mag, 16:08, Adrien wrote: > Hi, > > I need to use ppp in Froyo. I need some pointers on how to do this. > > What i know for now: > > === init.rc === > > Need to add >     setprop ro.radio.use-ppp yes > > service pppd_gprs /etc/ppp/init.gprs-pppd >         user root >         group ra

[android-porting] Re: Setup ppp

2011-06-01 Thread Adrien
thank you both, i'll try both solutions. On 1 juin, 09:47, paldan wrote: > Hello, > > On 31 Mag, 16:08, Adrien wrote: > > > > > > > > > > > Hi, > > > I need to use ppp in Froyo. I need some pointers on how to do this. > > > What i know for now: > > > === init.rc === > > > Need to add > >     s

[android-porting] Re: Setup ppp

2011-06-06 Thread Adrien
ngle modem? Thanks On 1 juin, 19:40, "lnxarm" wrote: > I think Andoird is using socket. > > 2011-06-01 > > lnxarm > > 发件人: Hamilton Vera > 发送时间: 2011-06-01 10:35:30 > 收件人: lnxarm > 抄送: dnlplm; android-porting > 主题: Re: [android-porting] Re: Setup ppp >

[android-porting] Re: Setup ppp

2011-06-07 Thread simon
I have just completed this part of work recently so here are some advice. 1, get the ppp source code(I am using ppp-2.4.4) and compile "chat" . (android has pppd but doesn't have chat . Maybe there are some other ways to attach the net without chat ) 2, modify ppp-2.4.4/scripts/ppp-on accordin

[android-porting] Re: Setup ppp

2011-06-07 Thread paldan
Hi, On Jun 6, 10:21 am, Adrien wrote: > > Plus i've seen on several forums that people use two tty lines to > access the modem: one for data and one for calls if i understand > correctly. Could the problem come from this? If so how can i setup > multiple lines on a single modem? > You will need

[android-porting] Re: Setup ppp

2011-06-08 Thread Adrien
Ok thanks for the answers. I'll try to use seperate lines as soon as I am able to use pppd on android. I just finished testing pppd on linux (works great when using the chat script), and i'd like to use the chat program on Android as well (as simon said). But to do so it needs to be compiled for A

[android-porting] Re: Setup ppp

2011-06-09 Thread Adrien
Simon: as you suggested i tried to use the command line first to make it work, and it apparently does work. script used: /system/bin/pppd /dev/ttyUSB0 115200 persist defaultroute usepeerdns - detach crtscts noauth debug connect "/system/bin/chat -v -s -f /etc/ ppp/dialTest" with dialTest: TIMEOUT

[android-porting] Re: Setup ppp

2011-06-10 Thread paldan
Hi, On 9 Giu, 17:34, Adrien wrote: > The problem i have now is that doing so apparently removes all > interfaces (when i do ifconfig, i have 0 interfaces, not event eth0 > and lo which i had just before). Then when i try to ping Google's ip > it says network unreachable. I hope i am close to the

[android-porting] Re: Setup ppp

2011-06-10 Thread Adrien
Well, adding dns doesn't do much. After connecting manually i typed setprop net.dns1 XX.XX.XX.XX, and nothing new happened. I absolutely have to use ppp from ril in order to have an internet connection? if so in the ril what do i do exactly, like simon said i have to start the ppp-gprs service,

[android-porting] Re: Setup ppp

2013-05-09 Thread ffxx68
Hi, I’m porting a GB tablet firmware to JB ( https://groups.google.com/forum/#!forum/renesas-emev-osp) and I’m now stuck at the 3G modem integration. I missed what has been customized in GB (though I can access code), so I have to redo the work myself. I found Adrien's tutorial (https://afewe.

[android-porting] Re: Setup ppp

2013-05-10 Thread Vishveshwar
On JB 3G-modem integration seems to have become easier. Refer this page on TI wiki: http://processors.wiki.ti.com/index.php/Android-USB-3G-Modem-Integration -Vishveshwar On Thursday, May 9, 2013 9:40:24 PM UTC+5:30, ffxx68 wrote: > > Hi, > > I’m porting a GB tablet firmware to JB ( > https://grou

[android-porting] Re: Setup ppp

2013-05-13 Thread ffxx68
Hi Vishveshwar, thanks a lot for this useful pointer! I'm porting the approach to my platform, following that tutorial from TI. I still have a doubt. Thought not explicitly mentioned there, should we remove the "no-RIL" option in init.rc? setprop ro.radio.noril yes What is the effect of th

[android-porting] Re: Setup ppp

2013-05-13 Thread ffxx68
Thanks Vishevar for the very useful pointer. I still have a few doubts though My modem is an internal ZTE MF-212 one and when powered up (by GPIO switching in kernel) it immediately appears as /dev/ttyUSB0 to /dev/ttyUSB2, so, no need to use usb_modeswitch in my case. I still have a few do

Re: [android-porting] Re: Setup ppp

2011-06-01 Thread lnxarm
data connection without this hack. Regards, 2011-06-01 lnxarm 发件人: paldan 发送时间: 2011-06-01 03:47:14 收件人: android-porting 抄送: 主题: [android-porting] Re: Setup ppp Hello, On 31 Mag, 16:08, Adrien wrote: > Hi, > > I need to use ppp in Froyo. I need some pointers on how t

Re: [android-porting] Re: Setup ppp

2011-06-01 Thread Hamilton Vera
xarm > > 发件人: paldan > 发送时间: 2011-06-01 03:47:14 > 收件人: android-porting > 抄送: > 主题: [android-porting] Re: Setup ppp > Hello, > On 31 Mag, 16:08, Adrien wrote: >> Hi, >> >> I need to use ppp in Froyo. I need some pointer

Re: Re: [android-porting] Re: Setup ppp

2011-06-01 Thread lnxarm
I think Andoird is using socket. 2011-06-01 lnxarm 发件人: Hamilton Vera 发送时间: 2011-06-01 10:35:30 收件人: lnxarm 抄送: dnlplm; android-porting 主题: Re: [android-porting] Re: Setup ppp If you want to use data using a mobile network/carrier you will have to use pppd. Please correct me if I