Troszku może nie do końca jasno napisałem w poprzednim poście, to znaczy internet działał, ale nie tłumaczyło Hosta na IP i dlatego żadne aplikacje się nie otwierały ani stronki www, gdzieś w necie znalazłem opis jak obejść ten problem, niestety dalej nie wiem co jest przyczyną.
Fix for seemingly intermittent Internet connectivity...
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.
Niestety przy wyjęci baterii z telefonu znikają wpisy z default.prop, i trzeba wpisywać z powrotem , może ktoś ma na to jakiś sposób ?