rajan72 / android-wifi-tether

Automatically exported from code.google.com/p/android-wifi-tether
0 stars 1 forks source link

OpenDNS not working #943

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
HTC Evo on Sprint

Android version 2.2, Software number 3.70.651.1 (rooted with unrevoked)

What version of wireless tether are you using?  2.0.7

What steps will reproduce the problem?
1. Add OpenDNS servers to DNS settings for ipv4
2. Software auto updates dynamic IP with OpenDNS (verified this via their 
website)
3. Still not using their servers for DNS

What is the expected output? What do you see instead?

Expect to be using OpenDNS servers.

Please provide any additional information below.

For some reason, wifi tethering not passing request to use specific dns 
servers.  Is this standard behavior?  Way to force via windows settings?  Way 
to force with some wifi tethering configuration file?

Thanks

Original issue reported on code.google.com by jctrump on 17 Apr 2011 at 8:31

GoogleCodeExporter commented 9 years ago
Apparently, after looking into this further, it has something to do with 
sprint's redirection of dns requests.  It doesn't sound like there's 
necessarily any good [easy] way around this.  Would love to hear if anyone 
knows of one.

Original comment by jctrump on 17 Apr 2011 at 10:03

GoogleCodeExporter commented 9 years ago
Please try beta version 3.0-pre13 available here:
http://code.google.com/p/android-wifi-tether/downloads/list

This one lets you change the dns-servers to your needs.

Original comment by harald....@gmail.com on 18 Apr 2011 at 8:40

GoogleCodeExporter commented 9 years ago
Unfortunately this didn't seem to work either.  I still think it's Sprint 
horking up the works due to the way they grab DNS requests and forward them on 
your behalf.  Thanks Sprint.  

As a side note about the beta, I noticed there's a duplicate entry under 
settings, "Enable WiFi-Encryption" shows up twice.  When starting or stopping 
tethering, it gives the message "Your phone is currently in an unknown state - 
try to reboot!" (rebooting doesn't help).  When starting tethering, the icon 
duplicates itself, one above the other in addtion to the reboot message.  Going 
to home screen and back seems to eliminate the second icon, and tethering seems 
to work ok.  When stopping, the icon duplicates, gives the reboot message, then 
goes back to one icon and seems to stop ok.  

Original comment by jctrump on 18 Apr 2011 at 5:57

GoogleCodeExporter commented 9 years ago
> When starting tethering, the icon duplicates itself
Oh yeah. I was able to reproduce that. It happens if there is a delay when the 
app requests "superuser"-permissions. If you have checked "always" and "ok" on 
both start- and stop-requests that "problem" is gone on the next request(will 
try to fix it tonight).

The dns-problem is weird.

What happens if you type:

nslookup google.com 8.8.8.8

in a console after you have connected? You could also try different nameserver 
(instead of 8.8.8.8 which is a google-dns).

Original comment by harald....@gmail.com on 18 Apr 2011 at 6:52

GoogleCodeExporter commented 9 years ago
> "Enable WiFi-Encryption" shows up twice
Oh, yeah. Had that entry twice in a xml-file - no idea how I did manage that. 
Fixed it already.

Original comment by harald....@gmail.com on 18 Apr 2011 at 7:12

GoogleCodeExporter commented 9 years ago
Mentioned issues should all be fixed in -pre14 - still not sure what's wrong 
with your dns.

The version also includes a new feature: It allows to "hide" the ssid if the 
setup-mothod "softap" is selected.

Original comment by harald....@gmail.com on 18 Apr 2011 at 8:55

GoogleCodeExporter commented 9 years ago
Sorry, I wasn't very clear.  I'm able to use wifi tethering ok and browse the 
web just fine on the pc...i.e. Sprint's DNS servers are working fine.  OpenDNS 
allows you to filter content, via their DNS servers by the following:

1. Set your PC dns servers to OpenDSN servers
2. Use their updater software to keep your WAN ip up to date on their servers
3. When you hit a particular website, their DNS servers see your requesting ip 
and filter content according to settings you set via their website.  

Here's OpenDNS's setup instruction page: https://store.opendns.com/setup/

What I think is happening is that Sprint is grabbing the requests that a normal 
DNS server would forward on unmolested, and taking it as their own and shooting 
it out...so the request never makes it to OpenDNS servers, or if it does, it's 
coming from a completely different ip address than what the updater software is 
reporting to OpenDNS as your WAN ip.  I saw somewhere that Sprint does this, 
but verizon doesn't, so it might work fine on a Verizon Android phone.  

Not a huge deal...used to use it with land-based router and it worked great, 
just trying to nerd out and see if there was a way to get it to work, or at 
least why it wasn't working. 

Thanks!

Original comment by jctrump on 19 Apr 2011 at 12:16

GoogleCodeExporter commented 9 years ago
Sprint @#$%ers.

http://forums.opendns.com/comments.php?DiscussionID=640

Original comment by jctrump on 19 Apr 2011 at 6:27