Jump to content

Bug report 2.2 ROMs - Are you having internet connection problems?


Recommended Posts

Guest isambard
Posted (edited)

I'm seeing a bug across several different 2.2 ROMs which might only be noticed by some.

Symptoms

Can access google sites but not other internet sites.

Confirmation of symptoms

Open the browser and click on the news link in google. This should work.

Now click on a news item which is on a non-google website. This should not work.

Establishing cause

I have so far tracked the problem to a DNS resolution issue. In an adb shell, type the following:

ping 173.194.37.104

this should work

type ping google.com

this will fail.

First attempt at fixing

assuming it is a dns server problem, i replace servers with:

setprop net.dns1 8.8.8.8

and

setprop net.rmnet0.dns1 8.8.8.8

but this doesn't help. i can't tell whether the dns servers are not being changed, or assuming this is working, then the issue is that no DNS call is being made.

Note that I get this error ONLY when using the SUNRISE (swiss telecom provider) SIM (which works perfectly in another phone and on 2.1 ROM). With the Orange bundled SIM this problem does not occur.

So to summarise, conditions for bug:

- 2.2 ROM (tested Seb's)

- Network unlocked

- Using non-Orange SIM

- Tested with "roaming data" off - but may not be a required condition.

Can anyone else confirm they have this kind of error? Thanks.

Issue reported for:

Sunrise (Switzerland)

T-mobile (UK)

Edited by isambard
Guest veehexx
Posted

not having this issue (or currently 2.2), does nslookup work?

you could try 'nslookup www.bbc.co.uk' to see if it resolves with whatever DNS is setup, or 'nslookup www.bbc.co.uk 8.8.8.8', which will use the 8.8.8.8 google dns server for resolution ignoring any local dns entries.

i'm presuming android has nslookup available....

Guest tanivula
Posted

Have the same problem on Vodafone (NZ)

It's very frustrating!

Guest kallt_kaffe
Posted

On which ROMs do you have this? All ZTE roms set up the property wlan.default.dns1 to 168.95.1.1 during boot. This is something I usually disable because it seems like something that shouldn't be there. I've not had any ill effects by removing it but maybe it's a clue to the problem you experience?

Do a "getprop | grep dns" and see what you have.

Guest screwface
Posted

Yep same issue happened with me on seb's 2.2 rom with t mobile uk so i switched to the jellyfish rom all has been good since.

Guest Simon O
Posted
On which ROMs do you have this? All ZTE roms set up the property wlan.default.dns1 to 168.95.1.1 during boot. This is something I usually disable because it seems like something that shouldn't be there. I've not had any ill effects by removing it but maybe it's a clue to the problem you experience?

Do a "getprop | grep dns" and see what you have.

Could you please tell me what you did to fix this issue? Whenever I remove "setprop wlan.default.dns1 168.95.1.1" or event change the IP to 8.8.8.8 in /system/etc/init.athwlan.sh and the kernel init.rc it breaks wifi

Guest Simon O
Posted

Not sure if this helps but I edited init.athwlan.sh to change the DNS server to 8.8.4.4 which is a Google DNS. Might be worth trying?

Still not able to get wifi working if I remove the DNS line completely.. I suspect the init.rc will need to be completely rebuilt. Got some learning to do :D

Guest isambard
Posted
On which ROMs do you have this? All ZTE roms set up the property wlan.default.dns1 to 168.95.1.1 during boot. This is something I usually disable because it seems like something that shouldn't be there. I've not had any ill effects by removing it but maybe it's a clue to the problem you experience?

Do a "getprop | grep dns" and see what you have.

i previously tried setprop to change dns to 8.8.8.8 but this didn't work. unfortunately, my development blade is out of commission: it developed a hardware touchscreen fault. when i get it replaced i'll experiment again with it.

for now, i'm dropping back to 2.1 ROM for the main phone to have a stable phone until i get time and a new phone to fix.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.