So when I was using 2.2.2 my WIFI connection was working flawlessly with DHCP setting my wireless settings.
I flashed 2.3.4 using NFHimself's Gobstopper without any errors, did a factory reset afterwards and I get an internet connection over mobile with no problems, however on my home WIFI network w/ DHCP (on which 2.2.2 worked fine), it cannot resolve addresses past my router (can browse to the router config fine). Now if I set a static IP and the DNS servers manually, it works over WIFI, however when the WIFI radio turns back on from sleeping it gets stuck at obtaining an IP address.
So I tried leaving it with DHCP giving me an IP address, and then using Set DNS to use google's DNS servers instead of my router's IP, and it seems to work in all situations, however it leaves me unable to browse my LAN (even when one dns domain is left as my local domain server).
I installed Network Monitor II to watch my wireless settings for the three setups:
For just using DHCP, the DNS servers are both set to my router's IP
For static settings, the DNS servers are whatever i set them however i cannot browse my LAN when one is left as my router's IP
For DHCP w/ a custom DNS, it is the same as using static settings
Not sure whether to think this is a problem with the update, or a problem with my router (however no settings were changed before or after the update on it). Anyone have any ideas?
Router: Linksys WRT54GL running DD-WRT
I read somewhere that having the "Filter WAN NAT Redirection" setting enabled in DD-WRT causes this sort of behavior on some mobiles, it is not enabled.
Only thing I could find that I thought it might be is Android Bug Issue 10315 (to which I cannot post a link as I lack sufficient posts... so far), but am still unsure
I should also note that I have two routers (both identical), but only one deals with the DHCP and DNS, the other is more just a wireless AP. Thus, all of my lan is on 192.168.1.*, including both routers ( x.x.x.1 and x.x.x.2 ). uDHCPd is my DNS server on my router, but I might try dnsmasq in the next couple days.
Jiraffe said:
So when I was using 2.2.2 my WIFI connection was working flawlessly with DHCP setting my wireless settings.
I flashed 2.3.4 using NFHimself's Gobstopper without any errors, did a factory reset afterwards and I get an internet connection over mobile with no problems, however on my home WIFI network w/ DHCP (on which 2.2.2 worked fine), it cannot resolve addresses past my router (can browse to the router config fine). Now if I set a static IP and the DNS servers manually, it works over WIFI, however when the WIFI radio turns back on from sleeping it gets stuck at obtaining an IP address.
So I tried leaving it with DHCP giving me an IP address, and then using Set DNS to use google's DNS servers instead of my router's IP, and it seems to work in all situations, however it leaves me unable to browse my LAN (even when one dns domain is left as my local domain server).
I installed Network Monitor II to watch my wireless settings for the three setups:
For just using DHCP, the DNS servers are both set to my router's IP
For static settings, the DNS servers are whatever i set them however i cannot browse my LAN when one is left as my router's IP
For DHCP w/ a custom DNS, it is the same as using static settings
Not sure whether to think this is a problem with the update, or a problem with my router (however no settings were changed before or after the update on it). Anyone have any ideas?
Router: Linksys WRT54GL running DD-WRT
I read somewhere that having the "Filter WAN NAT Redirection" setting enabled in DD-WRT causes this sort of behavior on some mobiles, it is not enabled.
Only thing I could find that I thought it might be is Android Bug Issue 10315 (to which I cannot post a link as I lack sufficient posts... so far), but am still unsure
I should also note that I have two routers (both identical), but only one deals with the DHCP and DNS, the other is more just a wireless AP. Thus, all of my lan is on 192.168.1.*, including both routers ( x.x.x.1 and x.x.x.2 ). uDHCPd is my DNS server on my router, but I might try dnsmasq in the next couple days.
Click to expand...
Click to collapse
I did flash NFHimself's ROM without any issues. My wireless LAN was working fine. Did not noticed any issue on my side. Try with another Wireless router without all the setup you've done. Pretty sure the issue is with your routers.
I don't understand why you are not able to reach you LAN with google's DNS configured...? Do you have some sort of DNS entry specific to your LAN configured into your router?
the problem seemed to solve itself when i switched my router's DNS server daemon from UDHCPD to dnsmasq.
And I couldn't reach my lan when i had both dns servers forced to google's servers as google's servers don't know how to route to addresses inside my lan. But that's not a bug, that is how it is supposed to work.
Good !
Sent from my MB860 using xda premium
Related
This has been plaguing me for a few days now and I just want to share the solution I found for you guys. Have you ever had this issue? Your selected wireless network has been working great for days and suddenly one day it refuses to connect anymore. I would hit connect and the phone would be stuck in a "Obtaining IP address from WIFINETWORK" "Disconnected" "Scanning" cycle and so forth. You can wait forever and the phone will never connect to wifi.
The first time this happened to me I did a hard reset. Worked like a charm, I was able to use the network again for a few days until it began happening again. I decided a reset was not the solution so I looked for an answer. I happened upon sites like this:
http://anxiousnut.wordpress.com/201...d-obtaining-ip-address-wifi-issue-workaround/
Where certain solutions were posted but none seemed to work for me. I decided that it definitely wasn't my router (although some said resetting your wireless router may also work sometimes).
I finally stumbled upon the answer. The solution is to use a static ip by going into to Settings>Wireless & Networks>Wi-Fi settings>Menu Click to Advanced and then check Use static IP. You must figure out these values: IP Address, Gateway, Netmask, DNS 1, DNS 2.... Luckily, it is pretty easy.
IP ADDRESS
To find this, go back and select your wifi network. Hit "Modify" and see the IP address listed. Copy that down, this is your IP Address.
GATEWAY
This is your router's IP address. You will need a computer that is connected to the network already. For Windows, run a command prompt and type ipconfig to show you the default gateway address. For Mac, go to the network preference pane in system preferences. Click advanced and go to TCP/IP tab.
NETMASK
You will find this in the previous step. Often it is 255.255.255.0.
DNS 1
Put in the same IP you found for the gateway box.
DNS 2
Same as above.
In the end it will look something like this:
IP Address: 192.168.1.107
Gateway: 192.168.1.1
Netmask: 255.255.255.0
DNS 1: 192.168.1.1
DNS 2: 192.168.1.1
Connect again and it works. No need to factory reset. Enjoy!
Update: After a few days, something in the phone's wifi settings seem to "correct" itself and your wifi will not work with this method anymore. Simply go back and disable static IP and your phone will be back to its old self again. If the symptoms appear again, you can follow these steps again.
I wonder if this will help with eclipse 2.0.3 disconnecting issues
Sent from X2 Eclipsed using xda app
I was having this problem with CM7 and this fixed it. Thanks!
thanks solved my problem i m so very grateful
Careful, this "fix" could be very temporary... If you set a static IP and do not configure your router to use static IPs you will at some point run into conflicting IPs if you have other devices on the network. The router is dynamically allocating IP addresses if you use a standard DHCP setup and can give your chosen IP for your phone to any device on the network, creating a situation when you cannot connect or you can connect but it does not work. If you want to use static ips on your phone with the router, you have to configure the router to understand this by disabling DHCP and setting up static IPs for all devices or by allocating fixed IP for certain MAC addresses. SO either setup both your phone and router to use a static IP or change the DHCP lease time to something other than "infinity" .
Most routers strart DHCP allocation at .100. Check with your particular routers manual. If you assign the IP less than .100 you should be fine as long as you don't assign another device with the same IP.
Sent from my MB870 using Tapatalk 2
A workaround != A fix.
DigitalMD said:
Careful, this "fix" could be very temporary... If you set a static IP and do not configure your router to use static IPs you will at some point run into conflicting IPs if you have other devices on the network.
Click to expand...
Click to collapse
I'm with DigitalMD - this is a very kludgy "fix" that will lead to trouble in the future. I am coming to believe there is a consistent interoperability issue between Android and some other systems (OS X and some routers??) that leads to issues - both my GN with 4.0.4 and my JetStream with 3.1 will routinely fail to connect both to my Mac (10.7) and the routers, primarily in a couple of particular offices - maybe it's just a high-noise area (one is an older building). The devices both connect fine to my home wifi (WRT54G) and most internet cafes.
Not a good fix
This isn't really a fix for the problem. I connect to multiple wireless networks, between work and home and friend's houses, and they all have different routers. Setting a static IP is impractical, because I have to turn it on with certain networks and off with other networks, or change the static IP from one router to another.
Why does this happen? It works fine for a while, then one day it just doesn't want to take an IP address from the router. For me, it works fine at home and at my parents, but at work, it doesn't want to connect anymore. It's been connecting fine for months, then yesterday it got stuck with obtaining IP.
Setting a static IP isn't a solution; it's a cop-out. Does anybody know why this happens? Does anybody know how to fix it?
I was experiencing this from past couple of days than I just put static IP works really great for me :laugh: it was a biggest headache, now past.
Has anyone else had problems with name resolution on Wifi networks?
On 3G I can browse to any site and it works fine. As soon as I connect to my Wifi network I am unable to connect to anything (websites, Play, email etc.) The only way I can connect is if I connect directly to the IP address of the site (not the DNS name). I'm getting an IP address on the Wifi network via DHCP, but have tried manually specifying IP, gateway and DNS with no luck. (I've actually tried manually specifying my own DNS, and Google's DNS server) Looking at the DNS server logs it doesn't appear that the S3 is even querying the DNS server.
Other devices on the same network (multiple iDevices, Macbook, XBox 360 etc.) all work fine.
It has worked for the past 6 or 8 weeks (as long as I've had the phone) but stopped working a few days ago. I was running stock firmware, unrooted. Since the problem appeared I have updated to the recent JB leak and XXLH1 modem but it has made no difference.
Any ideas?
Please ignore. I managed to resolve it but I have no idea what the original problem was or why the fix worked.
I manually changed the IP address to a different valid address within the subnet and it fixed it. The original IP address is not in use anywhere else on the network. I've now created a DHCP reservation using the new address and it's working fine.
Hello everybody.
Since last saturday i'm testing a Galaxy S3.
I want to test if everything works properly before buying it.
I have some problems deling with the WIFI stuff.
I gave him a static IP (192.168.1.15), configured the gateway as the ip of my router (192.168.1.1),
the network class is 255.255.255.0 (network prefix = 24), the DNS points to the IP of the Router (192.168.1.1)
It connects without problems. form the S3 i can ping any device in my network and from other devices i can ping the S3.
I can connect to the configuration site of the router and from the page of connected devices i can see that the S3 is connected
with the correct ip and also the MAC adress is correct.
And for now everything is fine.
Problems raise up when i try to surf internet. The answer is always "Page not found"
If i open the browser and try to navigate to google] the answer is "Page not found". Same for any other site i try to connect with.
I cannot ping external adresses from the S3. Only the ones inside my LAN.
On the same LAN there are 3 laptops, 1 IPhone, 1 TV, NAS NETGEAR , home automation screen, all connected in WIFI.
All of them configured in the same way. (static ip, gateway=ip router, dns = ip router, network class 255.255.255.0),
And they all access internet without any problem.
The network is protected with WPA2/PSKey, encryption AES.
I tried to configure channel with WPA, WEP, without protection, but no changes.
The S3 connects to router but does not connect to internet,
I also tried to make it point to a public DNS 8.8.8.8. No WAY!
Works for other devices.
I tried to reset S3 to factory parameters, same thing i did for the router.
I reconfigured everything from scratch but no result.
I do not have any filtering based on IP or MAC adress on my Router.
I tried with DHCP, with reservation of IP adresses or without reservation. No change.
Other devices can access internet. S3 does not.
I have to say i'm quite desperate.
If you guys have some good ideas to solve or diagnostic the problem i would be grateful.
Cheers,
Fabio
I get that around my office as I walk around, I find that when I change AP in range my internet connection drops. I have to constantly disable/re-enable WiFi.
Even around my house, I have the handset to WiFi always on, yet when I wake up in the morning the internet connection is not working yet there is an IP. I couldn't be bothered to telnet to port 80 etc., but I hear that the Jellybean update will resolve this issue.
Same problem
nickzap said:
Hello everybody.
Since last saturday i'm testing a Galaxy S3.
I want to test if everything works properly before buying it.
I have some problems deling with the WIFI stuff.
I gave him a static IP (192.168.1.15), configured the gateway as the ip of my router (192.168.1.1),
the network class is 255.255.255.0 (network prefix = 24), the DNS points to the IP of the Router (192.168.1.1)
It connects without problems. form the S3 i can ping any device in my network and from other devices i can ping the S3.
I can connect to the configuration site of the router and from the page of connected devices i can see that the S3 is connected
with the correct ip and also the MAC adress is correct.
And for now everything is fine.
Problems raise up when i try to surf internet. The answer is always "Page not found"
If i open the browser and try to navigate to google] the answer is "Page not found". Same for any other site i try to connect with.
I cannot ping external adresses from the S3. Only the ones inside my LAN.
On the same LAN there are 3 laptops, 1 IPhone, 1 TV, NAS NETGEAR , home automation screen, all connected in WIFI.
All of them configured in the same way. (static ip, gateway=ip router, dns = ip router, network class 255.255.255.0),
And they all access internet without any problem.
The network is protected with WPA2/PSKey, encryption AES.
I tried to configure channel with WPA, WEP, without protection, but no changes.
The S3 connects to router but does not connect to internet,
I also tried to make it point to a public DNS 8.8.8.8. No WAY!
Works for other devices.
I tried to reset S3 to factory parameters, same thing i did for the router.
I reconfigured everything from scratch but no result.
I do not have any filtering based on IP or MAC adress on my Router.
I tried with DHCP, with reservation of IP adresses or without reservation. No change.
Other devices can access internet. S3 does not.
I have to say i'm quite desperate.
If you guys have some good ideas to solve or diagnostic the problem i would be grateful.
Cheers,
Fabio
Click to expand...
Click to collapse
I'm having the exact same problem, I'd really like to know if you were able to solve the problem.
Phoenix_Dean said:
I'm having the exact same problem, I'd really like to know if you were able to solve the problem.
Click to expand...
Click to collapse
Me too... Is anybody has solution for this issue?
Oh poor fellows ....try to add DNS manually according to your ISP...not add public DNS
Try forgetting the network and connecting again and make sure all the other devices are using different ip address
Sent from my GT-I9300 using xda app-developers app
Hi!
I just got my new Honor 7 and I'm now experiencing a major flaw: I can connect to my WIFI, but won't get Internet connection.
Details:
- Wifi router supports 2.4Ghz and 5Ghz, same error on both.
- IP Configuration (DNS, Gateway, DHCP) set to same as on Laptop and other android devices - all other devices working fine
- When connected to Wifi, Phone can be pinged by other devices & phone can ping other devices
- Phone cannot ping the router but is shown in it's "connected devices" list (correct MAC adress and everything)
- When opening a Wifi Hotspot from my Notebook (forwarding the router's wifi), Phone can connect to internet & ping router (everything works perfectly)
How is it possible that if my Notebook forwards the router's wifi everything works perfect but I can't get it working by connecting directly?
Hope any of you can help me with my problem!
Best regards
Do you use a MAC filter? Sounds like your router blocks the connection.
Gesendet von meinem PLK-L01 mit Tapatalk
Nope, no MAC-Filter in use!
As i said the device gets listet among all other (working) devices in the router's DHCP devices list...
Sounds like a router issue. Any way to check if WiFi works on somebody else's WiFi? Suggest maybe change channels that WiFi is transmitting on the router
admisi said:
Sounds like a router issue. Any way to check if WiFi works on somebody else's WiFi? Suggest maybe change channels that WiFi is transmitting on the router
Click to expand...
Click to collapse
The Wifi on the device seems to work fine:
Wifi Hotspot made by notebook works, Public Wifi at Shopping Mall worked fine .. Checking more Networks tomorrow!
\\EDIT: Both Networks at my University work fine.
Is your subnet mask 255.255.255.0 or something else for the gateway? This affects the network prefix length. Also check DNS, try static setting instead of dhcp and use Google DNS 8.8.8.8 and 8.8.4.4
---------- Post added at 08:46 AM ---------- Previous post was at 08:12 AM ----------
What is Gateway IP address and what is the Subnet mask?
admisi said:
Is your subnet mask 255.255.255.0 or something else for the gateway? This affects the network prefix length. Also check DNS, try static setting instead of dhcp and use Google DNS 8.8.8.8 and 8.8.4.4
---------- Post added at 08:46 AM ---------- Previous post was at 08:12 AM ----------
What is Gateway IP address and what is the Subnet mask?
Click to expand...
Click to collapse
Subnet mask is 255.255.255.0 , according to that prefix length is set to 24.
Can't get DNS , nothing changes when changing to google!
I noticed that when I do an arp scan for the network, I can find other devices but not the router. On my old phone the router will show up on arp scan!
If router can see phone, then assign it static IP address, then add that IP address to DMZ - that way it's fully open. Sadly with routers it's a matter of narrowing down the problem with trial and error to resolve. You can also try temporarily deactivating firewall, and/or temporarily removing WiFi security to see if any difference.
admisi said:
If router can see phone, then assign it static IP address, then add that IP address to DMZ - that way it's fully open. Sadly with routers it's a matter of narrowing down the problem with trial and error to resolve. You can also try temporarily deactivating firewall, and/or temporarily removing WiFi security to see if any difference.
Click to expand...
Click to collapse
Router can see phone! I have just added it's temporary IP as DMZ Host to check whether it solves the problem - and it does!
When the phone is set as DMZ Host in the router it can ping the router and connect to the internet (so far it seems like any other device).
Before setting the static IP and using this method permanently, I'd like to ask if this causes any changes to other users in the Network ? I am sharing the router with two other people using it for phones, tablets, IPTV etc.
I'm sorry I have no idea what DMZ is exactly.
Thank you very much for your help so far!
No problem. It's not really a permanent solution as it just opens up the IP address to all traffic. It does mean that the router is somehow blocking the phone in normal conditions. This could be for all sorts of reasons, firewall rules on the router, or port forwarding, or Mac filtering, or IP filtering, difficult to say. DMZ shouldn't affect the other users.
Sent from my PLK-L01 using Tapatalk
I'm not too sure about this router's configuration because it is a rather cheap NoName device provided by the ISP while at my home I'm used to AVM devices.
But I can nowhere spot any specific rules, there's not even a single port-forwarding set on the device. So I can't spot anything that could be blocking my phone :.
Anyway I have just removed my phone from DMZ, reconnected it to the Wifi and so far it's still working fine!
Even if I have to re-do this procedure every now and then after device reboots it shouldn't be a problem.
I have no Idea on how temporary setting it up as DMZ haschanged everything, but for now I'd consider the issue solved! I owe you one for this
Sorry that i have to reopen this old thread but i have the same problem with my HONOR 7.
I have Wifi Connection on my phone but the internet isnt working.
Curious is the fact that this problem only happens in my wifi at home and at my girlfriend (same router and telecommunication provider).At other wifi's everything is working fine.
I hope you can help me.
(sorry for the bad english)
MaxMonument94 said:
Sorry that i have to reopen this old thread but i have the same problem with my HONOR 7.
I have Wifi Connection on my phone but the internet isnt working.
Curious is the fact that this problem only happens in my wifi at home and at my girlfriend (same router and telecommunication provider).At other wifi's everything is working fine.
I hope you can help me.
(sorry for the bad english)
Click to expand...
Click to collapse
Set the Wifi band permanent anywhere between 1 to 10 and try connecting it.
vsriram92 said:
Set the Wifi band permanent anywhere between 1 to 10 and try connecting it.
Click to expand...
Click to collapse
Tested all 10 channels but still no internet.
Also tested disabling the WPA/WPA2 PSK safety but same result.
Put it in DMZ, find DHCP table and see which IP adress phone get, put that adress in DMZ, DMZ settings are on the same place as NAT (usually). I think that phone cannot get DNS server from router because of some rule in firewall, but try to ping 8.8.8.8 from phone without setting up DMZ, if DNS is problem he should ping that adress but not be able to load page in browser....
@ MaxMonument94 can u connect to any other Wifi ? or all having same issue ?
The internet connection is working in any other network exept the network at my girlfriends place but she has the same router/provider as i have.
If there are any german users, we both got “telecolumbus“ as internet provider.
Now its just more curious.
After i entered the IP in DMZ my ookla speedtest on my phone showed perfect results.
Also the Chrome browser loaded pages and other apps (like 9GAG, Telegram, Whatsapp) worked for a while without any problem.But after a while they all got connection problems (page dont load, waiting for connection on telegram, GIFs dont load).
After that i started a new speedtest and the results were again quite good.
Then the same procedure again and again.
I have really no clue what kind of problem that is.
Btw: my mobile internet was disabled all the time to dont distort the results.
When that happens again, try to ping 8.8.8.8 and tell me what is output, remember ping it when it wont work....
I have pinged 8.8.8.8 with Android Terminal Emulator
The results in the screenshot.
All,
I am aware of the various apps for changing DNS server settings - that is not the question. I would like someone to explain how the default values are being set.
My home wireless access point supports three SSIDs and I have SSID_1 bridged to my router. Within the router, I have defined 1.1.1.1 and 208.67.222.222 as my DNS servers. When my phone (Pixe3 3XL) is connected to SSID_1, however, it shows the DNS servers as being 8.8.8.8 and 64.6.64.6. (FYI - I just rebooted my router in case that might have an impact, but ti didn't.)
However, when my phone connects to SSID_2, which is not bridged to the router, the DNS shows up as 10.255.224.1, which is the gateway address.
Oddly, my desktop PC, which gets it IP via DHCP (the address is reserved) and was configured for automatic CNS, also showed the DNS servers as being 8.8.8.8 and 64.6.64.6.
I logged into my cable modem, but there are no user adjustable settings there.
So, from whence come these DNS IP addresses?