WM6 ignoring user provided dns servers? - 8125, K-JAM, P4300, MDA Vario ROM Development

I used OPENDNS on WM5 for quite a while...when I moved to WM6 I set it up the same way and assumed it worked...it appears I was incorrect. Here are the specifics:
I'm on tmobile with an unlimited internet plan..I do not need a proxy.
I have specified the opendns servers 208.67.222.222 and 208.67.220.220 in the 'advanced config" section of the T-mobile GPRS connection which is the only connection other than MMS listed.
Going to http://www.opendns.com/welcome should NOT take me to the http://www.opendns.com/welcome/oops page and tell me I'm not using their service however it does. I went back to wm5 with identical setup (I'm even using the same tmobile config cab file to setup the connection) and verified it does work. I also did the usual soft reset to make sure all settings took etc....
Any ideas?

yes, i have the same problem, with Email push. after 24 hours my ip adress over dyndns is changing, the push service dont know about the ip change..
with other WM5 devices it works well, so i think wm5 release after a specific time the internal DNS list and reload it from a puplic DNS Server again...

joy.d said:
yes, i have the same problem, with Email push. after 24 hours my ip adress over dyndns is changing, the push service dont know about the ip change..
with other WM5 devices it works well, so i think wm5 release after a specific time the internal DNS list and reload it from a puplic DNS Server again...
Click to expand...
Click to collapse
Just to clarify...opendns is a public dns server service that provides custom features to folks who use it and in general has much faster dns servers than most isp's or phone providers. It is NOT a dynamic DNS service such as dyndns which gives you a pseudo static name.

OpenDNS works fine for me on my phone over Cingular / AT&T on WM6. I've used it on almost every WM6 rom I've flashed (its built into the WAP Media settings cab I use). I can go to www.opendns.com/welcome via PIE or Opera and I get back the Welcome to OpenDNS page (not the Oops page).
Wonder if this is a T-Mobile issue?

mfrazzz said:
OpenDNS works fine for me on my phone over Cingular / AT&T on WM6. I've used it on almost every WM6 rom I've flashed (its built into the WAP Media settings cab I use). I can go to www.opendns.com/welcome via PIE or Opera and I get back the Welcome to OpenDNS page (not the Oops page).
Wonder if this is a T-Mobile issue?
Click to expand...
Click to collapse
That appears to be the case....in wm5 I was using bluetooth dun and could specify the opendns servers in the config...but with pand it gets them from the phone and the phone ignores them.

I orig. thought it was just me. I tried as well with no success. It probably is a T Mo thing. It will not even let me chage to internet2...keeps me a t wap.
I was happy with the responciveness from the MDA.
Maybe it's tmo way of saying speed will no longer be an issue
Just hoping
When I had the MDA, i had WM6 Rom flashed and the DNS worked?

Related

New ROMs and OpenDNS...

To speed up browsing I use the free DNS servers provided by OpenDNS. They are 208.67.222.222 and 208.67.220.220. See www.opendns.com for details.
Anyways, when I enter specific DNS servers for my ISP's connection, I cannot connect. I'm wondering if my ISP has changed their policy to prevent access to external DNS servers, or if there is something wrong with the way the new ROMs operate. Previously, I had been able to use these DNS servers with no problem.
So, everyone still uses their ISP's DNS servers?
floepie said:
So, everyone still uses their ISP's DNS servers?
Click to expand...
Click to collapse
I've noticed that on my current wm6 rom it doesn't matter if I specify the opendns servers in the gprs connection settings..it's still using the isp's...you can test this by going to http://www.opendns.com/welcome
If you get the oops page..you are not using the opendns servers and I'm not sure if it's a wm6 issue or a tmobile issue.

Internet Connection Permanently Killed??

Is it possible to permanently affect my Wizard's internet connection by over flashing??
I'm having a problem connecting to the internet. It doesn't connect via WiFi whether on an open or WEP network (I'm testing it with 2 routers -- mine and my neighbors). It connects to GPRS just fine as long as I put the right ISP info. But when I try to load a page in IE it comes back with 1 of 2 error messages:
1)
Error 502 - Bad Request
The server could not resolve your request for uri:
2)
Cannot obtain a server-assigned IP address. Try again later or enter an IP address in Network settings.
I was running a custom made vanilla 1413 for the longest time. Then yesterday tried MFrazzz's 1913 and now ANTC's. Between one of those two I am not unable to connect to the internet. I even flashed back to the 2.24 official T-Mo ROM and even with the factory settings it still not working for either GPRS or WiFi. In the past hour I've tried T-Mob official, ANTC 2.0 and XM6R4...all the same problem.
So that virtually eliminates the possibility that it was either a bad radio, corrupted Ext ROM or a bad flash. It definately seems like my Wizard isn't being given an IP address. So that would be a software/ROM/registry problem, right? Well then why is it not working with 3 fresh ROM flashes??
Any suggestions??
If I connect it to my PC via usb/activesync and use the PC's internet connection then it will go ahead and load webpages.
As soon as I disconnect the USB cable then it'll load up the GPRS connection and try to load a webpage and timeout with one of the errors above.
One strange thing I noticed is that when it gives the 502 error it removes the domain from the uri. Example:
Target URI:
http://mobreader.com/proxy.aspx?s=http://test.com...
Response:
Error 502 - Bad Request
The server could not resolve your request for uri: /proxy.aspx?s=http%3A%2F%2Ftest%2Ecom...
seems your proxy is not functioning correctly
reflash with original rom and then this rom you would like
you can also try and delete all connections but i doubt it helps..
I'm on T-Mobile full internet plan, not T-Zones or anything, so no need to set a proxy. Just put in the access point as wap.voicestream.com and it should work.
I've input the data manually as well as tried with the t-mobile wap setting cabs. Doesn't make a difference. Also since these are freshly installed ROMs (including an official T-mobile ROM) there shouldn't be any proxy settings pre-set, right?
yes i am aware of that..
i need to explain myself more , sorry for that..
what i mean is the proxy inside the phone , not the one u setup with t-zones
or any related..
Ok a little update...
I was able to connect via Wifi this morning, it was either
A) Registry changes to HKLM>Comm>TNETWLN1>Params>HTCPreloadStatus to value of "1"
B) Registry change to HKLM>Comm>TNETWLN1>Params>HTCPreloadWifi to value of "1"
The router assigned me an IP address now and fully connected. I'm able to pull up websites now. Sometimes the above registry settings mysteriously change back to "0" value and if that happens then I won't be able to pull up a website. So I know what was causing the WiFi issues.
But still don't know what's the problem with GPRS. Still can't load a website via URL or even IP address. Is there a similiar registry edit that I can make that will restore GPRS connection ability?
Thanks in advance guys.

problem with GPRS route

I configured VPN over GPRS on my wizard. I can get a IP address from my company VPN server, it is something like 10.1.1.*. Before that, my GPRS connection provider - China mobile - also give me a 10.232.*.* address. And there generate a route 10.0.0.0/8 10.232.*.*, thus cause me can not access my company network -all packets to 10.*.*.* are direct to 10.232.*.
But this situation does not appear on my friend's HTC TOUCH, because no 10.0.0.0/8 route generated there and can be generated by flash to another ROM. So I think it is because of different OS, I have tried many ROMs on my wizard, but got same situation. - as far as I tried, no ROM solved my problem. If anybody can help me out?
attachment is the tool I used to see routing table on PPC.

OpenDNS blocking gmail while using wifi tether for root users?

What the hell? Never even heard of opendns...wtf is it?
How do I fix it?
KidJethro said:
What the hell? Never even heard of opendns...wtf is it?
How do I fix it?
Click to expand...
Click to collapse
Are you using Wifi or 3G/Edge? Looks like the problem is with the admin that setup your Wifi.
Well sounds like you are using their DNS servers and someone blocked gmail.
go to opendns.com while tethering to change your settings if you can. You should see a "dashboard" link at the top right of the page.
OpenDNS is an alternative DNS service (normally DNS is provided by the ISP). Wifi-Tether-For-Root by default has OpenDNS hardcoded in as the default DNS (instead of T-Mo's DNS servers). Since all traffic on T-Mo 3G is routed through their central server, regardless of where you are physically, your ip on the internet will appear as coming from a T-Mo data center in Missouri or Kansas or something. Perhaps someone has maliciously set up an OpenDNS account with this ip and locked out gmail.
Edit: I am having no problems getting to gmail using WT4R. My tmo ip was different from the usual though. Perhaps they are load-balancing their US network. Last time I checked, my tmo ip came out in Kansas. This time however, it came out of Rhode Island. Strange, considering I am physically in California.
Could you lookup your internet-side ip address while tethering and see which tmo datacenter you appear to be coming from when your gmail access is restricted?
This is the first time I've ever used wifi tether. Was kinda wierd to see gmail was blocked. Working on setting up an opendns acct now.
Ok....I'm totally lost now. I've got an opendns acct setup. I'm lookin at the dashboard thing, and have no idea what to change to fix this issue?
You are going to want to go here https://www.opendns.com/dashboard/settings/
It should show your current IP in the drop down.
Turn off the filtering and make sure nothing down below is added.
jashsu said:
OpenDNS is an alternative DNS service (normally DNS is provided by the ISP). Wifi-Tether-For-Root by default has OpenDNS hardcoded in as the default DNS (instead of T-Mo's DNS servers). Since all traffic on T-Mo 3G is routed through their central server, regardless of where you are physically, your ip on the internet will appear as coming from a T-Mo data center in Missouri or Kansas or something. Perhaps someone has maliciously set up an OpenDNS account with this ip and locked out gmail.
Edit: I am having no problems getting to gmail using WT4R. My tmo ip was different from the usual though. Perhaps they are load-balancing their US network. Last time I checked, my tmo ip came out in Kansas. This time however, it came out of Rhode Island. Strange, considering I am physically in California.
Could you lookup your internet-side ip address while tethering and see which tmo datacenter you appear to be coming from when your gmail access is restricted?
Click to expand...
Click to collapse
Easy enough to figure out my ip addy....but no idea how to do the rest.
Weird thing though...I signed up fro an opendns acct, browsed around a bit in the dashboard and now gmail works? ~edit~ nvermind, spoke too soon...gmail is blocked again.
For some reason I have a problem wrapping my brain around this kinda stuff.
your ip could have changed
neoobs said:
You are going to want to go here https://www.opendns.com/dashboard/settings/
It should show your current IP in the drop down.
Turn off the filtering and make sure nothing down below is added.
Click to expand...
Click to collapse
I see my IP under the network tab. Under the settings tab it says "to control your settings, you need to add a network to your account." If I click "add a network" it takes me back to the network tab where my ip is displayed. If I click add network, it says network already exists?
Bleh....
Like i said, T-Mo is likely load balancing across their many gateways. My guess is whoever locked gmail out only did it to one of the gateways. Your best bet is to change the DNS servers away from opendns.
KidJethro said:
I see my IP under the network tab. Under the settings tab it says "to control your settings, you need to add a network to your account." If I click "add a network" it takes me back to the network tab where my ip is displayed. If I click add network, it says network already exists?
Bleh....
Click to expand...
Click to collapse
The reason is because only one openvpn account can control a network. Whoever has messed up that tmo gateway has full control of it until that person or openvpn changes the situation.
jashsu said:
Like i said, T-Mo is likely load balancing across their many gateways. My guess is whoever locked gmail out only did it to one of the gateways. Your best bet is to change the DNS servers away from opendns.
Click to expand...
Click to collapse
Ok, need this in baby talk, barney style. I have no idea how to change dns servers?
KidJethro said:
Easy enough to figure out my ip addy....but no idea how to do the rest.
Click to expand...
Click to collapse
http://www.ip2location.com/
jashsu said:
http://www.ip2location.com/
Click to expand...
Click to collapse
IP Address : 208.54.94.59 Location :
UNITED STATES, WEST VIRGINIA, CHARLESTON Latitude / Longitude : 38.3515 LATITUDE, -81.632 LONGITUDE Connecting through : T-MOBILE USA Time Zone : UTC -05:00
IDD Code : 1 Area Code : 304 Weather Station : USWV0138 - CHARLESTON
KidJethro said:
Ok, need this in baby talk, barney style. I have no idea how to change dns servers?
Click to expand...
Click to collapse
It might be enough to edit /data/data/android.tether/conf/dnsmasq.conf with a text editor and substitute out the DNS values in there with your own DNS. I'll try it out later.
jashsu said:
It might be enough to edit /data/data/android.tether/conf/dnsmasq.conf with a text editor and substitute out the DNS values in there with your own DNS. I'll try it out later.
Click to expand...
Click to collapse
"wifi tether" should update the dnsmasq.conf-file automatically (will take the dns from your 2G/3G-connection) - this was introduced in version 0.95.
Type ... "getprop net.dns1" into terminal ... that should exactly be the nameserver in dnsmasq.conf (after you have started tethering).
Bleh....I need a break from phone tweaking for a bit. Buuurn ouuuut
Works for me
I just got home, tethered just to see if it would affect me too. Not problems at all.
harry_m said:
"wifi tether" should update the dnsmasq.conf-file automatically (will take the dns from your 2G/3G-connection) - this was introduced in version 0.95.
Type ... "getprop net.dns1" into terminal ... that should exactly be the nameserver in dnsmasq.conf (after you have started tethering).
Click to expand...
Click to collapse
harry_m is right. When I tethered to my G1 via WT4R (ver 0.9.6) and visited opendns.com, it showed the "Start using OpenDNS" button, indicating my currently used DNS was not OpenDNS. I verified that WT4R had fetched the G1's internal DNS setting by checking the dnsmasq.conf:
Code:
$ su
# cat /data/data/android.tether/conf/dnsmasq.conf
no-resolv
no-poll
server=10.177.0.34
server=10.176.80.242
I suggest you reinstall WT4R and choose no when it gives you the option to import old settings. This way, it will build your configuration files from scratch (and not use OpenDNS).

WiFi DNS Does not Update

I've posted this over at the Rhodium Thread located here:
http://forum.xda-developers.com/showthread.php?t=731292
but haven't gotten a single response yet. Since this is a concern for more than one device I feel like I should post it here. Mods feel free to move this to the correct location if need be.
===================
So it seems to me that this is a problem on ALL Android devices that I have tested with. Here's the situation
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Any reason as to why Android isn't updating my DNS Settings? Any help would be appreciated.
starmena said:
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Click to expand...
Click to collapse
Ok so DHCP is assigning your network config, but you want to use different DNS servers than the DHCP allocated ones?
starmena said:
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Click to expand...
Click to collapse
On my HTC Hero running an Android 2.1 ROM, unless "Static IP" is selected, I dont even get the option to change the DNS servers (option is greyed-out).
One way to manually change DNS is via shell if you have root access on your phone using ADB shell (or ssh, telnet etc if your ROM supports them), see this thread [Q] Help! Changing DNS settings .
Any network config tools on the app store?
-jc
starmena said:
I've posted this over at the Rhodium Thread located here:
http://forum.xda-developers.com/showthread.php?t=731292
but haven't gotten a single response yet. Since this is a concern for more than one device I feel like I should post it here. Mods feel free to move this to the correct location if need be.
===================
So it seems to me that this is a problem on ALL Android devices that I have tested with. Here's the situation
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Any reason as to why Android isn't updating my DNS Settings? Any help would be appreciated.
Click to expand...
Click to collapse
I'm confused by your question. If you have DHCP turned off your device's are not going to grab an IP address from your router. Why don't you turn on DHCP and let your router assign IP addresses. As doing so your devices will also use the DNS setting from the router which will be your ISP's DNS ip address. Unless you change your DNS settings in your router to one of the many public DNS servers available. My recommendation is turn DHCP to "ON" on your router. Maybe start your DHCP IP assignment at 192.168.1.100 and go up to 150. That way you can use the range from .2 to .99 for static IP's. This is how I configured my router but I'm also using DD-WRT firmware on my router which highly customizes the router. Alternately you can change your routers DNS ip setting to Open DNS server so there would be no need for you to change it on the phone if you are using WIFI. Just let your router do all that work for you. Hope this helps. Viva Santiago Rep Dom y NYC.

Categories

Resources