WiFi DNS issue - Galaxy S6 Q&A, Help & Troubleshooting

Currently running Sow Nice OJC on my G920T. I've been running into some odd WiFi issues...namely with DNS and addressing. At my and my girlfriend's house, WiFi is pretty much pointless as I get DNS errors. Her connection is using the standard Xfinity all-in-one modem/router which isn't configurable worth a damn...but her phone and tablet work fine via WiFi, as does my laptop. At my house I have my own modem and router; I have the DHCP server set up to use Google's public DNS servers. All my devices in my house work fine...Xbox, computer, even Chromecast...but for whatever reason my S6 runs into DNS errors which of course disables WiFi Calling as well.
I have tried running static IP and manually setting Google DNS as well as other DNS; it doesn't seem to help. I have also tried toggling airplane mode. I haven't experimented much with other connections that aren't Comcast, so I will include that in my troubleshooting. I am unsure if this is related to the issue I was having with connecting to my GoPro via WiFi.
Anyone else out there running Lollipop have DNS issues (or don't) and have found a solution? It isn't a huge issue at the moment as I have good signal at both places, but I would like to be able to use WiFi for the bandwidth...

Still working on this...it appears to be an IPv4 issue. All devices in my house happily get an ipv4 address alongside ipv6. Not the S6....it only uses ipv6.

Related

Captivate Wifi/3G data issue

Has anyone had a problem with the Captivate when in both WIFI and 3G coverage the phone will not download or open a webpage? If I shut off one or the other it works but if both are active it hangs up and doesnt download.
Is this by chance on an enterprise wifi access point? Such as one of those expensive cisco APs you find in schools and enterprise class networks? If so, there is currently a driver problem with the captivate connecting to it, but not trasnfering data. Whether the netwrok is encrypted or open doesnt seems to matter. Personally, I find this a bigger problem than the GPS issue. I had to use wifi static to manually set IP, subnet, etc. This is a workaround, not a fix.
jhannaman82 said:
Is this by chance on an enterprise wifi access point? Such as one of those expensive cisco APs you find in schools and enterprise class networks? If so, there is currently a driver problem with the captivate connecting to it, but not trasnfering data. Whether the netwrok is encrypted or open doesnt seems to matter. Personally, I find this a bigger problem than the GPS issue. I had to use wifi static to manually set IP, subnet, etc. This is a workaround, not a fix.
Click to expand...
Click to collapse
Hey, I think I'm running into this issue at my workplace (we definitely use those Cisco APs, I see them all around). I'm connected, I have an IP, but I can't browse anywhere.
Here's the weird thing though: I can connect to the company's wifi in any other building (I guess different APs?) than the one I'm in and wifi works fine. It's just the building my cubicle's in that doesn't work and it's infuriating!
well thats dumb.
I had that happen once since I bought the phone on launch. I restarted my phone and it went away.
I've had this problem as well, usually my phone switches to only wifi pretty quickly though, so I don't notice much. The phone acts like it is using the 3G connection because the arrows are both indicating data coming and going, but nothing actually happens unless only one or the other is on.
i need to check this at more places but at home i have a standard dlink dl-624 router with no security over comcast. i think my issue initially was because of the wifi sleep policy (see below) but now i am just getting really really slow speeds. pages seem to load slower than 3G....(i mean really cinemaxHD is showing last of the mohicans in pan and scan)....also the pages time out very very frequently.....
Anyone having problems check out the advanced setting for wifi. The phone has a WIFI sleep policy. my default setting was to disconnect from wifi after the screen locks. my screen locks after 30 seconds. so basically it always looking for my network. you can change it to never.
I want to reiterate our findings again. There are multiple threads on other forums concerning this as well. When it comes to wifi, the captivate has a major problem. DHCP does not work on enterprise networks. Period. It is a driver issue. The network can be open or using any form of encryption, the results are thr same. I had numerous software, hardware and network analyst tackling this issue all week in my department. It is related in part to most enterprise networks not using a default subnet mask of 255.255.255.0. There is a workaround, but it is not a fix. You can either set a static from your static pool of ip's in wifi settings, or, if u connect to multiple networks, use wifi static from the market to remember and apply seperate static configs accross multiple networks which is what were having to do currently. This affects all captivates, one which we consider a major problem with deploying this phone to our other users.
Sent from my SAMSUNG-SGH-I897 using XDA App
I had the same problem and this is how a turn around the problem when I'm connected but cannot browse.
-Use Wifi Static
- DNS from google 8.8.8.8,8.8.4.4
- switch to airplane mode
- activate wifi
- test my conection (open the browser and surf)
- switch to phone mode
Hope it help
floppy__ said:
I had the same problem and this is how a turn around the problem when I'm connected but cannot browse.
-Use Wifi Static
- DNS from google 8.8.8.8,8.8.4.4
- switch to airplane mode
- activate wifi
- test my conection (open the browser and surf)
- switch to phone mode
Hope it help
Click to expand...
Click to collapse
Did this, Wifi Static was being used previously to bypass dhcp, and it correctly assigned the IP settings, used the static I assigned from our static pool of addresses. Still no data transfer over Cisco APs at work.
jhannaman82 said:
Did this, Wifi Static was being used previously to bypass dhcp, and it correctly assigned the IP settings, used the static I assigned from our static pool of addresses. Still no data transfer over Cisco APs at work.
Click to expand...
Click to collapse
are you able to access a website thru his IP address? in this case it's a DNS problem, try the Google DNS 8.8.8.8 - 8.8.4.4
floppy__ said:
are you able to access a website thru his IP address? in this case it's a DNS problem, try the Google DNS 8.8.8.8 - 8.8.4.4
Click to expand...
Click to collapse
Its hit or miss really, seems the wifi radio stack locks up and stops responding according to our trace logs. yes i have tried both our internal DNS server's as well as googles. Everywhere else works perfectly. But at work with our Cisco open (no security) APs, it doesnt work most of the time. Through whos ip address??? I have a static set from our static pool to make sure dhcp was not the culprit. Its def the device, and not my netwrok. I have over 100 of these APs deployed here.
Wifi works great everywhere else (at home with WPA2, etc). There is def a problem with enterprise cisco APs.
Netmask issue and cisco AP's
Posted this over in development thread.
http://forum.xda-developers.com/showpost.php?p=7698066&postcount=410
Make sure your netmask is correct.
Thanks jhannaman82
I just wanted to give a big thanks to jhannaman82 for posting his company's findings with these wifi issues. My wifi works 100% at home on my linksys tomato router (of course, with a netmask 255.255.255.0). But on my college campus they use an enterprise router setup with 255.255.0.0 and I have been going NUTS trying to figure out if it is my captivate or the network.
I can sometimes get a few minutes of working connection, but it always seems to crap out within 1 or 2 minutes.
I will attempt to fiddle around with switching the dhcp to static IP, and will post my results. Thanks!
edit: no luck with static IP fiddling so far. from my laptop (connected wirelessly), I gathered that the netmask is actually 255.255.248.0... when I set my captivate's netmask to anything other than 255.255.0.0, it does not connect. It says "connected" when I set the netmask to 255.255.0.0, but as usual no data will transfer (it seems). I'm at a loss. *shrug* Hopefully there's a driver update or something.
Thanks jhannaman82!
I just wrote a script with the GScript app: "ifconfig eth0 netmask 255.255.255.0", and have a shortcut on homescreen. The problem was that the netmask was wrongly set to 255.255.0.0 on my office wifi. Now all I need to do is tap on this shortcut at office, and the connection works!
Has anyone contacted Samsung about this ?
I'm hoping this gets fixed soon... This refuses to stay connected at my school. Huge pain.
I entered in an IP address and 255.255.252.0 for my netmask after seeing what it was on my computer and turn on flight mode and tested the wifi and now it's working. I'm not sure if it's just one of those fluke connections that I get... but we'll see.

[Q] Wi-Fi phone configuration & my network

I have a 16-node network (used mostly as a cluster computer for meteorological work), Ethernet, 3 switches, all through an ActionTec DSL gateway/router. There is an edge machine with dnsmasq for dns cache'ing and firewall. My ISP assigns three IP addresses, one of which is my network's gateway address. The ActionTec has DHCP turned "on" although I use SNAT, DNAT, and masquerading on my side. I use my internal network to serve an Apache Web site as well.
The Wi-Fi (and other reception, for that matter) is not very good here, so I bought a TrendNet TEW-636APB Wireless Access Point. It's plugged into one of the switches. The Linux hosts and hosts_files are correctly configured and dnsmasq is configured to assign an IP Address to the TEW-636APB based on its MAC.
Everything works just fine, but most importantly, the HTC One (T-mobile) has no Internet connectivity, even though I can read the IP Address assigned to the phone. Everything is on the same subnet, by the way.
Any suggestions to get Internet up and running? I regularly use bash and c-shell as well as other languages but this one has me stumped. Any suggestions?
Mike
Minneapolis, Minnesota
Additional Info for Wi-Fi Issue
I ruled out some issues in the meantime. The TEW-636APB seems to work fine. I changed each of the config options: same problem. BUT, a laptop connected using Wi-Fi for data works just fine!
On the smartphone (that HTC One), the only URL that connects is on my own network, that is, the Web site served on my subnet and inside my network works just fine. Anything outside of my network fails.
When I turn off Wi-Fi on the cell phone (and use T-Mobile), the Web works just fine.
Very confusing. Any suggestions?
Michael
Might be a DNS problem...
wxmanmichael644 said:
I ruled out some issues in the meantime. The TEW-636APB seems to work fine. I changed each of the config options: same problem. BUT, a laptop connected using Wi-Fi for data works just fine!
On the smartphone (that HTC One), the only URL that connects is on my own network, that is, the Web site served on my subnet and inside my network works just fine. Anything outside of my network fails.
When I turn off Wi-Fi on the cell phone (and use T-Mobile), the Web works just fine.
Very confusing. Any suggestions?
Michael
Click to expand...
Click to collapse
Hi Michael,
It seems to me like this a DNS problem, you should try opening google using it's ip address ( try using http ://173.194.35.132/ ) to check connectivity. Also if your phone is rooted you should be able to use some terminal like tool and try to ping some hosts to rule out the dns problem.
Cheers,
Stefan.
P.S.: please use thanks if information was helpful

[Q] Wifi Tether and DDWRT for a complete home network

OK, my wife and I each have Sprint Samsung Galaxy S3's. We both have Wifi Tether TrevE mod installed and working and we also have a linksys router running DD-WRT.
I have wanted for a long time to create a stable home network with the router using our phones for internet. Reason being, We both have laptops that need access to our WiFi networked printer. And I also wanted to create a networked storage.
I started out trying to use the Router as a repeater bridge. The problem here is that in that mode there is no DHCP server in the router, so when you turn off WiFi Tether in the phone, there is no IP assignment taking place since it is handled by the phone. This is ok for the printer because we can set a static IP, but not ok for the laptops because they need to have auto ip assignment for all the other networks they might encounter. Plus I'd like to be able to have a friend come over and use the printer if need be without having to change his IP address. So this setup is unstable.
Then I tried the Router in Repeater mode. In this mode IP addresses are being assigned and everyone can see everyone else on the network. The problem here though, is that the Router and all connecting devices have to be in a separate subnet than the WiFi Tethering phone, i.e, Tethered Phone on 192.168.1.x and Router on 192.168.2.x (as far as I can tell anyway, I've tried putting them on the same subnet but fail to get internet access.) It's a problem because I have Samba Filesharing installed on the phones and the tethered phone is in a different subnet and not visible on the network. I want all devices visible.
So that's kind of where I am now, Wifi Tether on both phones (each setup with same settings so either phone can be used as our internet gateway) but they are on a separate subnet from the rest of the network while tethering.
How do I get all of my devices to be visible on the network?
Do I need a different setup in DD-WRT?
Currently it is setup in Gateway mode with DHCP server and wireless is in repeater mode with a VLAN setup with a different SSID from the WiFi tethered phone.
Do I need to usb tether the phone to the router? I have a usb port on the router but I've not found good instructions for getting the phones internet through to the router that way and I'm not sure that I would want it that way since I wouldn't be able to walk around with my phone.
Is there a way to make devices in different subnets visible to each other? Some kind of bridging or static routing or something?
Is it possible to have the phone connect to the router in a normal manner and for the router to then share the phones internet connection with the rest of the network? Then at least the router could run DHCP and be stable even without the phones.
Again, just to clarify, I want a home network with devices connecting to my WiFi router running DD-WRT and internet being provided by one of our phones, but with the network remaining intact when the internet provided phone is removed. Thanks for your help.
Bonus questions:
Is it possible to harness the power of both of our phones internet connections into one network by any means possible?
Are there any other wifi/tethering apps or another version of WiFi Tether that offer more features or the functionality of DD-WRT?
did you see this?
http://forum.xda-developers.com/showthread.php?t=1548844
pbmurdoc said:
did you see this?
http://forum.xda-developers.com/showthread.php?t=1548844
Click to expand...
Click to collapse
Thanks. Not much new there other than Barnacle. Didn't know about it, tried it, doesn't work on my phone. I would like to see a version of WiFi Tether with some more options though, why couldn't we have one with the same options as DD-WRT?
I did some more reading and I think what I need to do is link the subnet created by the router to the primary router (the phone serving Wifi Tether) through static routing. Unfortunately the static route needs to be done through the primary router and WiFi Tether doesn't include features like that.
I'll do some more experimenting and see what happens.
[A] Cellular Phone/USB Modem As WAN Connection
Answer is in the DD-WRT Wiki, here (http://www.dd-wrt.com/wiki/index.php/Cellular_Phone/USB_Modem_as_WAN_connection).
Or just google "DD-WRT Cellular Phone/USB Modem As WAN Connection", it should be the #1 result.
Their WIKI is a great resource.
Good luck!
EDIT:
In retrospect, I am unsure about linking to the DD-WRT site... external and all. If this is a no-no just let me know and I will delete the link.
DD-WRT Client Bridge worked for me
I was able to do what you're trying to do by configuring my DD-WRT router as a Client Bridge.
I can't post the link, but there are directions I followed exactly on the DD-WRT wiki in the section:
DD-WRT wiki mainpage / Linking Routers / Client Bridged
I'm connecting my router to the tether via wifi, and connecting my wired devices to the router. I haven't had it working long, but so far it has been great.
Got it, sort of
Just to update this thread. The client bridge is a great way to connect a wired network to the bridge but loses out on creating a stable wi-fi network when the phone tether is turned off.
Anyway, the final setup I managed was having the DD-WRT router set as a wireless repeater with a computer connected to it running a DHCP server. The computer takes care of the IP addreses so that we have a stable wired/wi-fi intranet when the phone is not sharing it's internet connection.
Update: I founde another solution/project based on OpenWRT
http://ofmodemsandmen.com/
my exploits using a Linksys E3000 have been documented here:
http://tweakedrom.com/forum/viewtopic.php?f=6&t=7
I kind of like the USB tether thing. The E3000 Router USB power charges and maintains my SCH-i605 (Verizon Samsung GN2) running CM12.1. I use this as a backup connection or in the event of main cable modem service disruption at the house. It is also great for traveling (hotels) or camping (car 12v adapter for router, or power inverter)
I just bought a used Asus RT-N66U router. Out of the box it supports USB tethering with android phones and dual WANs for failover/load balancing. ROOter also works, tested the x86 build on an old PC. I'm looking to cut out my ISP completely and just use 4G from the phone for internet. The issue I have run into is that I can't appear to do DDNS or port forwarding. My wireless carrier (verizon) appears to be employing a double NAT. If I perform a speedtest on the ookla app, I get 2 IP addresses in the results, an "internal" and an "external". Both are in the public range but I can't DDNS in with either of the IPs, nor can I get any kind of service working.
Anyone have a solution for this? I'm not 100% sure but I wonder if using the SIM card in a dedicated USB 4G modem (not tethering via the phone) would get me a direct IP? I suppose I could also sign up for a VPN service and run OpenVPN on the router but that'd cut down on speeds I think. I've also heard about punching holes for ports but I'm not 100% sure how that works, I assume I still need some 3rd party public IP for relaying or something.

[Q] Issues on home wi-fi network

This problem happened spontaneously with all the android devices in our house. Router had been set up for a month with great performance and then the day before yesterday things just got crappy on our wifi.
Here's the problem:
There's a significant lag between trying to get data (refresh Facebook app, load a Youtube video, go to a web page in Chrome, whatever) and actually getting the data. This occurs on two Nexus 5 phones running Lollipop and a tablet running Kit Kat. Sometimes it'll be 10 to almost 30 seconds between trying to view, for instance a youtube link, and the video description and video actually starts to load. Sometimes I'll get a network timeout. A laptop running Arch Linux on the same network has no such lag.
Here's the weird thing. When I do a speedtest with the Ookla app, it will take a VERY long time to "find the best server" (it's been a minute so far while I've been writing this post just sitting at that screen) but once it does I'll get really excellent speeds. Basically maxing out the possibility of my home internet connection (40Mbps+). Same with upload (13Mbps). Ping to server was 10ms. When I use a terminal emulator to ping a site like google or facebook it will ping with typical wifi reaction rates, usually under 25ms consistently.
Wifi reception on the 2.4Ghz band is great. throughout the house. Different wifi channels do nothing. Note, my wi-fi signal is not dropping, so it's not that issue that's often reported. Reception is great, there's just major lag between trying to get data, and actually connecting.
And again this isn't just one device, this is three separate devices running two different flavors of android. So I'm guessing my router one day decided it didn't like android. Because like I said, things were great until literally just Thursday, with no change in settings on any devices or the router from us.
Yes, I've done a power cycle on the router, which is a Netgear C3700
Any ideas on what might be happening?
It's possible there is an IP addresses conflict. Do any devices on the network have a static IP?
No IP conflicts that I can see ever have been the issue.
If I reboot the router the problem goes away for a couple hours, but then I get the WiFi lag soon enough. I've seen a lot of reports about lag on WiFi (with bad ping results) on some other google searches I've run, but they all point to problems with IPV6, which my router doesn't support at all, so there's nothing for me to turn off there. I can't find any IPV6 settings for anything anywhere on the phone itself.
I don't see any other problems with my router and android devices specifically mentioned anywhere.
Are your android devices using different DNS servers than that of your laptop?
I have never specifically set up any DNS settings on any device in the house. Not even sure how to see what the settings for that are on the Android devices.
I'll try using a static DNS settings from the router instead of the "let my ISP choose" as I have been having problems possibly related to DNS issues on a wired laptop machine (running Linux as well).
Hooya said:
I have never specifically set up any DNS settings on any device in the house. Not even sure how to see what the settings for that are on the Android devices.
I'll try using a static DNS settings from the router instead of the "let my ISP choose" as I have been having problems possibly related to DNS issues on a wired laptop machine (running Linux as well).
Click to expand...
Click to collapse
Try Google DNS or something
I'm fairly convinced it's not a DNS issue. If it was, rebooting the router would have absolutely no effect at all. But a reboot of the router (unplug and re-plug, a software initiated reboot doesn't seem to work) makes the net fly at great speeds and pings on all devices. For a while. Then it goes bad.
I'm testing a 3rd party app to change the DNS settings to 8.8.8.8 (google) on one android device to see if that one behaves differently. Setting the router to custom DNS settings caused me to get locked out of all internet completely. I couldn't even get into the router software from a wired computer to see the settings anymore. It was like the router didn't exist anymore.
Hooya said:
I'm fairly convinced it's not a DNS issue. If it was, rebooting the router would have absolutely no effect at all. But a reboot of the router (unplug and re-plug, a software initiated reboot doesn't seem to work) makes the net fly at great speeds and pings on all devices. For a while. Then it goes bad.
I'm testing a 3rd party app to change the DNS settings to 8.8.8.8 (google) on one android device to see if that one behaves differently. Setting the router to custom DNS settings caused me to get locked out of all internet completely. I couldn't even get into the router software from a wired computer to see the settings anymore. It was like the router didn't exist anymore.
Click to expand...
Click to collapse
Try setting static IP's for the Mac adresses of the phones in the router and on the phone. Make sure it's outside of DHCP lease boundry of your modem. Sounds like conflicting IPs as already mentioned.
The responders have good intentions but really don't understand the problem entirely. I've faced similar issues.
To quickly dumb down the problem:
Wifi stays connected, but all packets are lost for 10-60 seconds or until wifi is toggled off then on again.
We'll call this Wifi-Connected-No-Connection (WCNC) for the purposes of this thread for easier reading.
Here are my findings...
It may be related to this issue on the google code discussions, there are mentions of complete drop out while remaining connected: https://code.google.com/p/android/issues/detail?id=64706
This has affected both N4 and N5 devices since Jelly Bean. The issue persists in Kitkat but I haven't followed to see if it's entirely been resolved in Lollipop as I refuse to upgrade until certain other issues are worked out with L. If you're good at searching you'll find posts about this drop out issue from a decent time ago.
AP isolation doesn't help.
Modifying most other settings for the router did not help.
What DID help though, is turning the router from N/G mode to B/G mode. I had no WCNC issues with that. Of course, that meant slower speeds, significantly slower speeds. Back on N/G, I find this problem happens pretty frequently.
Packet loss happens at the connection level. Pinging the router means some or all packets are dropped. This is NOT a dns issue.
toastgodsupreme said:
The responders have good intentions but really don't understand the problem entirely. I've faced similar issues.
To quickly dumb down the problem:
Wifi stays connected, but all packets are lost for 10-60 seconds or until wifi is toggled off then on again.
We'll call this Wifi-Connected-No-Connection (WCNC) for the purposes of this thread for easier reading.
Here are my findings...
It may be related to this issue on the google code discussions, there are mentions of complete drop out while remaining connected: https://code.google.com/p/android/issues/detail?id=64706
This has affected both N4 and N5 devices since Jelly Bean. The issue persists in Kitkat but I haven't followed to see if it's entirely been resolved in Lollipop as I refuse to upgrade until certain other issues are worked out with L. If you're good at searching you'll find posts about this drop out issue from a decent time ago.
AP isolation doesn't help.
Modifying most other settings for the router did not help.
What DID help though, is turning the router from N/G mode to B/G mode. I had no WCNC issues with that. Of course, that meant slower speeds, significantly slower speeds. Back on N/G, I find this problem happens pretty frequently.
Packet loss happens at the connection level. Pinging the router means some or all packets are dropped. This is NOT a dns issue.
Click to expand...
Click to collapse
This makes a lot of sense. Wonder why this would happen with one router set to b/g/n and not another set to b/g/n (the a/n settings are only for the 5Ghz band)...

OpenVPN TCP Connections Fail? LG ROM Fault?

Anyone else experiencing this?
When I try to connect to my VPN server using OpenVPN connect over TCP I get a Network EOF error, and when connecting with the regular Open VPN Client app I get "SIOCGIFHWADDR(lo) failed." Works fine when I connect under UDP, and connecting to the same server under TCP works fine on my other devices (I'm coming from the Nexus 6 2014 and used it extensively on there).
From what I can see on Google it sounds like this is a ROM issue, but wanted to make sure it's happening to everyone so I know it's not just something misconfigured on my end.
I just tried mine and TCP connection isn't working for me either.
Andrew025 said:
I just tried mine and TCP connection isn't working for me either.
Click to expand...
Click to collapse
Out of curiosity, does UDP work for you? I figured UDP was working, because it showed as connected with no errors on OpenVPN Connect but it actually doesn't load anything from the internet whilst connected and the other OpenVPN app is giving me the same "SIOCGIFHWADDR(lo) failed" error.
This is a pretty major issue
I'll bet your wifi doesn't approve of VPN.
UDP and TCP connection through the Private Internet Access app work fine. There's a configuration problem in what you're trying to do. Either the wifi LAN won't allow it, or your OpenVPN settings are off, or the OpenVPN app is somehow unhappy in Nougat.
Skripka said:
I'll bet your wifi doesn't approve of VPN.
UDP and TCP connection through the Private Internet Access app work fine. There's a configuration problem in what you're trying to do. Either the wifi LAN won't allow it, or your OpenVPN settings are off, or the OpenVPN app is somehow unhappy in Nougat.
Click to expand...
Click to collapse
It's definitely possible that the OpenVPN settings are off, possibly requiring a different configuration on the v20, however the WIFI is fine and Nougat isn't an issue as it works fine on my Nexus 6 2014 running Android 7.0.
PhantomGamers said:
Out of curiosity, does UDP work for you? I figured UDP was working, because it showed as connected with no errors on OpenVPN Connect but it actually doesn't load anything from the internet whilst connected and the other OpenVPN app is giving me the same "SIOCGIFHWADDR(lo) failed" error.
This is a pretty major issue
Click to expand...
Click to collapse
Yep, UDP works without issue through OpenVPN.
My PIA app works as well.
It depends on the security settings with the network, with my home wifi or data using from the Usim, it works ok, if using my company network, it block me out, and won't connect.

Categories

Resources