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, but when does android becomes aware that ppp0 is actually the interface to use when connecting to the internet? I saw a couple of things in the ip-up and ip-down scripts, but i am not sure how android does to figure out which interface to use. Tell me if i am not clear enough. On 10 juin, 14:02, paldan <dnl...@gmail.com> wrote: > Hi, > > On 9 Giu, 17:34, Adrien <ferre.adr...@gmail.com> 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 solution, i'll > > buy a champagne bottle tonight and i hope i'll open it tomorrow :D ) > > Try to use netcfg instead of ifconfig. For dns you have to setup > Android dns properties (e.g. net.dns1 and net.dns2 and those depending > on your interface). > > Regards, > Daniele -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting