You are here

Fix for non-working Internet on Milestone (2.36.0/2.38.0)

UPDATE: Simple script for OpenRecovery added

Fix for seemingly intermittent Internet connectivity issues after upgrade to 2.36.0/2.38.0 system.

Add the following lines to /system/default.prop
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4

The values of these properties actually do not matter. The simple fact that the properties are initially defined at all seems to solve the issue. Anyway, I've chosen the google DNS services.

Background info:
Under certain circumstances, particular properties for DNS records are not created during the start of the system. Although the phone is able to get the correct DNS addresses from the mobile network or Wi-Fi, it's not able to store them in the missing properties. Then the DNS resolving either for mobile interenet or for wi-fi (and in rare cases for both) doesn't work until the next reboot.
You can check it using the getprop command.

To be precise: this is actually not a fix, it's only a workaround, though fully functional.

OpenRecovery script: copy the extracted DNS_fix.sh to OpenRecovery/scripts folder on your SDcard, reboot to recovery, launch the OpenRecovery and select DNS_fix.sh from the Run Script menu (in GOT OR it's under Miscellaneous menu).

AttachmentSize
DNS_fix.zip274 bytes

Comments

Thanks, I always wondered if this issue was related to my networks.

Is this capable to make 3G/HSDPA data connection active during a phone call? The software (and all the earlier softwares, too) always turns off data connection during a call, I thought it's normal and the phone can't handle both, but a few days ago I got a call while I was downloading something, and the connection didn't lost, I had active 3G data connection during the call. Can this thing do this or is there a solution to repeat this without a download?

Very, very big thanks! I supposed that the problem is in DNS, becouse IP cannot be resolved from name, but available for ping.

When I boot to recovery (after I apply a Vulnerable Recovery using Motorola RSD Lite 4.6) I dont have an option to run a script.

FYI I created an OpenRecovery/Script folder on the SD Card in Windows Explorer with the SK card in the PC card reader; then I copied the DNS_Fix.sh file to that folder.

Did I do something wrong, or did I skip a step?

Thanks

Alex

Seems that on my ms1 I fix my wifi problems (unresolved name after lost wifi connection) by using some fixiert ip an dns values at wifi configiration page
Waiting one day - walking a bit around (already with props) and putin the hole stuff back to dhcp
afterword my milestone workshops without Dani further props depending an name resolution?
To me it looks a little bit like above dicussed issue
maybe it helps other people like me...

Существование очень коротка, чтоб растрачивать ее на недлинные дела.

Существование очень коротка, чтоб растрачивать ее на недлинные дела.

Существование очень коротка, чтоб растрачивать ее на недлинные дела.

Существование очень коротка, чтоб растрачивать ее на недлинные дела.

Честно заработанный диплом обмывается обычно на ту же самую сумму, которую можно было издержать на его покупку.

Честно заработанный диплом обмывается обычно на ту же самую сумму, которую можно было издержать на его покупку.

Честно заработанный диплом обмывается обычно на ту же самую сумму, которую можно было издержать на его покупку.

Честно заработанный диплом обмывается обычно на ту же самую сумму, которую можно было издержать на его покупку.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.