I've tried several builds:
Darkstone Froyo
DarkStone FroyoStone
mattc Froyo with Sense
mattc Froyo without Sense
shubcraft
Xcelsior
mccm v1.7
WiFi just does not work at home. It'll connect, but I can't actually browse anything. It comes back immediately as a "page not found" error. Today I took my phone around town specifically to test WiFi on other networks. It worked perfectly on two open networks. There were no issues at all. It works at my office as well.
My network at home is wired as:
Internet --> DLink Gamer Lounge (wired router with special features) --> Linksys WRT54G wireless router
The DLink has DNS and DHCP services. The Linksys has none and is assigned a static IP.
My network at work is wired as:
Internet --> DLink Gamer Lounge --> everything else including a Linksys WRT54G setup just like at home
There is a Windows Server setup to take care of DNS and DHCP. The Linksys has same setup as at home.
At home, I disconnected the DLink, enabled DHCP on the Linksys, then my Android phone worked on wifi just fine.
I reconnected wired router and reset all settings. Android wifi doesn't work anymore.
I don't think my wired router is incompatible. I'm wondering if the wireless router not being the DHCP agent has anything to do it. Other wireless devices connect fine like this. My phone in WinMo connects fine. My friends' iPhones connect fine. My friends' native Android phones connect fine. Every wireless device (except HD2 Android) connects to the network and works just fine.
Anyone have any suggestions?
Is there a route tracing program for Android? Or something that will show me all the IP information (including DNS)?
Update:
DarkStone1337 said:
Because you have no DHCP on your wireless router, your IP address and DNS server and default gateway settings aren't being set by Android. No idea why. You'll need to do this manually in Android by pressing the windows button in the wifi network settings and setting the right values from there.
Click to expand...
Click to collapse
I just used an app to check IP settings. IP address, subnet mask, gateway, DNS, and everything are being set properly (there is a DHCP server on network, just not on WiFi router). I tried to setup a static IP address and other settings. Whenever I try to connect that way, it gets to "Obtaining IP address" and then fails, cycling through the whole process. Is it possible the code for IP stack (or IP Tables) in these builds of Android are not complete?
Update 2:
DarkStone1337 said:
Not an app, but using ADB logcat is sufficient enough.
If you have adb set up then follow this: https://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file
Click to expand...
Click to collapse
Just read about ADB (Android Debug Bridge) briefly. I think this will be a bit out of my league. I'm not that familiar with Android / linux. I'll post in the other thread asking if someone else more skilled can grab one. If not, I'll see about trying to figure it all out this weekend.
Same issue
FreakyFerret said:
I've tried several builds:
Darkstone Froyo
DarkStone FroyoStone
mattc Froyo with Sense
mattc Froyo without Sense
shubcraft
Xcelsior
On all of them, WiFi just does not work. It'll connect, but I can't actually browse anything. It comes back immediately as a "page not found" error. Today I took Matt's Froyo with Sense around town specifically to test WiFi on other networks. It worked perfectly on two open networks (Quizno's and McDonald's). There were no issues at all.
My network was wired as
Internet -- Wired router (with special features) -- wireless router
The WiFi router was basically treated like a switch with its DHCP turned off. I disconnected the wired, enabled DHCP on the wireless, then my Android phone worked on wifi just fine.
I reconnected wired router and reset all settings. Android wifi doesn't work anymore.
I don't think my wired router is incompatible. I'm wondering if the wireless router not being the DHCP agent has anything to do it. Other wireless devices connect fine like this. My phone in WinMo connects fine.
Anyone have any suggestions?
Is there a route tracing program for Android? Or something that will show me all the IP information (including DNS)?
Edit: It should be noted other Android phones (that came with Android) do work fine. Just these HD2 builds is the problem.
Click to expand...
Click to collapse
I just want you to know I'm in the same situation as you. My router is a Belkin Wireless N router (WPA2 encryption). I get a valid IP address and I can ping the router but no DNS or access past the router. There was an earlier version of an Android build (I think a MattcFroyo) that worked with my wifi set-up. But I need BT headset support and the Darkstone build seems to be the only one that reliably works with my BT devices. (BlueAnt T1 & Motorola EQ7)
Please let me know if you find a solution that works!
Thanks.
Sept 4 Update. The only version that I have found that provides both Wi-fi connectivity and BT head set is the Shubcraft version 1.4 for my router configuration. Version 1.5 doesn't and neither do the latest Mattc and Darkstone builds.
Hell, I can't even get my Wifi working at all. Darkstones V1... Wifi just says "Error". Have the latest zImage, and everything. :/
Shushunmire said:
Hell, I can't even get my Wifi working at all. Darkstones V1... Wifi just says "Error". Have the latest zImage, and everything. :/
Click to expand...
Click to collapse
jinhenry, I'll let you know.
Shushunmire, are you using HD2Froyo or FroyoStone (clean or Sense)? Also be sure to post in Darkstone's thread that relates to the build. I know HD2Froyo v2 was giving error for wifi, but his latest update fixes that.
I tried various market apps to do network diags on the phone. All they offered was basic ping. When trying to ping anything on the wifi, it just fails right away. It's like it's not even seeing the network and just saying no network around. I even tried to ping the phone's own local IP and it failed. I tried looking for a traceroute type app, but there was none.
I installed Cirtex app. On cell connection, it pulls up the IP info of the wifi (but cell data works):
Device IP Address:{cell IP}
Interface name:/usb0(usb0)InetAddress:/{Ip of wired router, DHCP server, DNS server}
Interface name:rmnet0(rmnet0)Inetaddress:/25.1.238.x (don't know)
Interface name:lo(lo)InetAddress:/127.0.0.1
On wifi connection, it gives error:
Can not get te IP Address for the device. (errors their's)
Interface name:eth0(eth0)InetAddress:/{correct wifi ip}
Interface name:usb0(usb0)InetAddress:/{correct wifi ip}
Interface name:lo(lo)InetAddress:/127.0.0.1
If I use a static IP, and set the gateway to the actual network gateway (wired router, DHCP server, DNS server), phone tries to connect until it gets to the "Obtaining IP" stage, then it fails and cycles over. If I set the gateway to the wifi router (which is no more than a wifi access point) it will connect.
To repeat cause I know you have a lot going on: other wifi devices work on this network fine (using static or dynamic ips) including windows laptops, mac laptops, xbox, Wii, iphones, winmo phones (this one even), and even other android phones.
If I set the wifi router as the gateway (plug internet directly into it and turn on DHCP on wifi router), everything works fine. I don't even change its static IP.
Hopefully some of this will help. :/ The more I play around with it, I get the feeling the IP stack is the cause.
I AM HAVING THE SAME PROBLEM!!!! my lil bro got an htc hd2 as well n we got them the same day n when i flashed android on his and mine... his wifi was working while mine was not and i have tryed so many different builds but nothing solves the problem...it searches but at the end it says unable to scan networks....anyone plz help i really need wifi
p.s we both are on....
rom: core cell series
build: hd2 froyo v2.1
his hd2 works perfect while my wifi is not
jinharry said:
I just want you to know I'm in the same situation as you. My router is a Belkin Wireless N router (WPA2 encryption). I get a valid IP address and I can ping the router but no DNS or access past the router. There was an earlier version of an Android build (I think a MattcFroyo) that worked with my wifi set-up. But I need BT headset support and the Darkstone build seems to be the only one that reliably works with my BT devices. (BlueAnt T1 & Motorola EQ7)
Please let me know if you find a solution that works!
Thanks.
Click to expand...
Click to collapse
have you tried setting the router to use G only? i had an issue with the newer builds on a d-link 635 that was the same, it woudl work then suddenly woudnt work at all, rebooting the phone didnt help, changing the router to use G only instead of mixed seemed to fix the issue
Here's my issue. On my phone I could connect to wireless fine, my two sons liked Android on the hd2 so much that we picked up 2 more hd2's, that's where the problem started. Any one of the phones can work on wireless just fine... but try and connect any of the others and while they do connect, they don't work. Any of them.
It's almost as if they are seen as the same device or something. Some kind of unique id is missing or something.
Ducter said:
Here's my issue. On my phone I could connect to wireless fine, my two sons liked Android on the hd2 so much that we picked up 2 more hd2's, that's where the problem started. Any one of the phones can work on wireless just fine... but try and connect any of the others and while they do connect, they don't work. Any of them.
It's almost as if they are seen as the same device or something. Some kind of unique id is missing or something.
Click to expand...
Click to collapse
are they using the same builds? its possible that the mac address being used is the same and the router sees it as the same device
Richy99 said:
have you tried setting the router to use G only? i had an issue with the newer builds on a d-link 635 that was the same, it woudl work then suddenly woudnt work at all, rebooting the phone didnt help, changing the router to use G only instead of mixed seemed to fix the issue
Click to expand...
Click to collapse
Didn't help Thanks for suggestion though.
unless it has changed recently, all HD2-android builds are using the same MAC-address. So this could very well be your problem.
Ducter said:
Here's my issue. On my phone I could connect to wireless fine, my two sons liked Android on the hd2 so much that we picked up 2 more hd2's, that's where the problem started. Any one of the phones can work on wireless just fine... but try and connect any of the others and while they do connect, they don't work. Any of them.
It's almost as if they are seen as the same device or something. Some kind of unique id is missing or something.
Click to expand...
Click to collapse
FreakyFerret said:
jinhenry, I'll let you know.
Shushunmire, are you using HD2Froyo or FroyoStone (clean or Sense)? Also be sure to post in Darkstone's thread that relates to the build. I know HD2Froyo v2 was giving error for wifi, but his latest update fixes that.
Click to expand...
Click to collapse
I'm using FroyoStone (w/Sense).
And yeah, will do that. I just figured it wasn't working at all until I saw your post.
I use currently mattc 1.5b w/sense and had (have) the same problem with
DHCP is on. I allways got the status "Obtaining IP address" and nothing happen.
I played a little bit with the static IP settings...I set DNS 1 equal the the gateway entry and then wifi works....but only static.
I think this is a router issue...I use Speedport W 502V.
I doubt it's a router problem since all other devices work perfectly.
same issue, please give your attention, developers, thanks.
I've had the exact same problem with my Wi-Fi using several Android builds. Tried static IP and every possible setting I could find and solved it by add the Mac-adress in my router setting. (192.168.1.1) and now it works perfectly. I'm now using shubCRAFTv1.3
Hope you can fix your problem this way. Cheers.
Sent from my HTC HD2 using XDA App
I'm having issues with Wifi too. I'm also currently using mattc Leo + Froyo w/Sense 1.5b. My problem isn't that the phone doesn't connect via wifi... it does. The problem is that after it connects the connection seems to go dead/times out after about a minute or two.
For example, after installing the build and running through the setup, i connect to wifi, then sign in with my gmail account. This all works as it should. Then by the time I want to sign in to my facebook/twitter accounts during that same setup sequence, it no longer can connect to the internet. My suspicions of the connection having a "timing out"-like occurrence was then confirmed when I turned off wifi, and switched it back on. Everything would work and sync for about a minute, then it would cut out again (but it would still show a full strength connection via wifi). It's a bit of a strange one.
I used Energy's build before trying this one, and WiFi worked flawlessly. So I'm assuming its not my router, but something up with my device and/or its settings.
Thanks in advance for any tips/help.
snozze said:
I've had the exact same problem with my Wi-Fi using several Android builds. Tried static IP and every possible setting I could find and solved it by add the Mac-adress in my router setting. (192.168.1.1) and now it works perfectly. I'm now using shubCRAFTv1.3
Hope you can fix your problem this way. Cheers.
Click to expand...
Click to collapse
What do you mean by you added your phone's MAC address to the router? Where exactly in the router? Guessing you mean you set your phone to use a static IP, then set your router's DHCP client to always assign that IP to the phone?
wibblewobbles said:
I'm having issues with Wifi too. I'm also currently using mattc Leo + Froyo w/Sense 1.5b. My problem isn't that the phone doesn't connect via wifi... it does. The problem is that after it connects the connection seems to go dead/times out after about a minute or two.
For example, after installing the build and running through the setup, i connect to wifi, then sign in with my gmail account. This all works as it should. Then by the time I want to sign in to my facebook/twitter accounts during that same setup sequence, it no longer can connect to the internet. My suspicions of the connection having a "timing out"-like occurrence was then confirmed when I turned off wifi, and switched it back on. Everything would work and sync for about a minute, then it would cut out again (but it would still show a full strength connection via wifi). It's a bit of a strange one.
I used Energy's build before trying this one, and WiFi worked flawlessly. So I'm assuming its not my router, but something up with my device and/or its settings.
Thanks in advance for any tips/help.
Click to expand...
Click to collapse
sounds like the same issue i had, i had to set my router to use G only rather then mixed g/n to fix the issue
FreakyFerret said:
I've tried several builds:
I don't think my wired router is incompatible. I'm wondering if the wireless router not being the DHCP agent has anything to do it. Other wireless devices connect fine like this. My phone in WinMo connects fine.
Anyone have any suggestions?
Edit: It should be noted other Android phones (that came with Android) do work fine. Just these HD2 builds is the problem.
Update:
I just used an app to check IP settings. IP address, subnet mask, gateway, DNS, and everything are being set properly (there is a DHCP server on network, just not on WiFi router). I tried to setup a static IP address and other settings. Whenever I try to connect that way, it gets to "Obtaining IP address" and then fails, cycling through the whole process. Is it possible the code for IP in these builds of Android are not complete?
Click to expand...
Click to collapse
I had problems before with a similar setup, and I can tell you that NOT having the DHCP on the router (gateway out) is the issue. You have to remember that "these HD builds" are still in development with WIFI issues still being ironed out.
My advice, try using fixed IP assigning (on wireless router) using the phone's wifi adapter mac address.
Right now your phone is going to the wifi router who will be sending packets to the DHCP server and back to wifi router so that it goes out. Also usually, there tends to be a conflicts because some DHCP clients just assume that the server for DHCP is the gateway too.
or... Check that your DHCP server (if another machine) is doing internet sharing, in case devices try to use its address as a gateway, which will then go out anyway through the wifi router.
The fact you report may be in my oppinion, useful for the devs (eventually), but dont get high hopes for this to be on the immediate to-do list
This post is explained in plain English for everyone to understand what i did.
After being on this forum for years, i decided to post some information which i haven't found to be explained anywhere in details about some issues that i came across regarding voicemail notification and connecting to a Wireless N network.
If you are one of thous guys that want to use the stock rom, like myself, then you may realize that your Voicemail Notification won't work with 4.24.651.1 version IF you had your phone previously flashed on Boostmobile. Unfortunately i couldn't find any fix for the voicemail notification to work properly, there is a work around for this to work.
Apparently the voicemail notification works perfectly with the Odexed or De-Odexed version 4.22.651.2 which can be downloaded here. I personally tested both of them and the voicemail notification works as it should on my flashed HTC EVO 4G on Bosstmobile.
Now, here is something that you should know. IF you decide to download & upgraded to the stock version 4.24.651.1 Odexed, De-Odexed or from Settings/System updates/HTC software update/
4.24.651.1 your voicemail notification will NOT WORK ANYMORE. Whatever changes are made in 4.24.651.1 through the upgrade process brakes the voicemail notification for flashed evo on boostmobile.
This is only for thous that have an Wireless router that use Wifi N aka 802.11n . If you use B or G router you don't have to read this. This only applies for 802.11n.
Wireless N issues that i came across while trying to connect to my router are as follows:
I have a Belkin N F5D8233-4 router which has 802.11n support and works perfect with all my laptops that use the WiFi N technology but i had issues to connect my evo even before i did any change to this phone. The issue is that when i have selected on my router the b+g+n and the SSID broadcast name is turned off the phone will not connect for nothing. If you really don't want to broadcast your SSID from your router, by changing to 802.11g or in my case "g" with the SSID broadcast turned off the phone will connect without a problem. I personally don't like to use the 802.11g especially because i have to wait long long time to transfer large files on my LAN between pc's. So, after looking into downloading the driver for my evo on 4.22.651.2 version, i installed successfully through the zip file, turned my router back to b+g+n, but again - i couldn't connect. At first i believed that i didn't install properly the Wireless N driver for 4.22.651.2 version, but after i reinstalled couple times, i decided to play with my router.
What i found out is that, if i turn ON the SSID broadcast the HTC EVO 4G will connect successfully at N speeds aka 802.11n. Which means that they way how was the driver coded, it can't connect to an N network without the SSID being broadcast.
As far as the bandwidth frequency i left it at 20Mhz only and everything works as it should.
To check if you're connected at 802.11n speed go to Settings/Wireless & networks/Wi-fi settings/ and click on your network. A window will open, and if you see anything bigger then 54Mbps, then you're using 802.11n speeds.
On the above link you'll also see the "Kernel - HTC#1 and18-2 (may04) w/ Wireless N Enabled" which is the driver for 802.11n that works for me, after going through all these issues on my flashed phone.
I hope this brings some light for thous that still struggle with this type of problems on stock roms.
A wireless N fix is already available for 4.24. It fixes all known compatibility issues with 802.11n connectivity.
http://forum.xda-developers.com/showthread.php?t=1158629
MultiDev said:
A wireless N fix is already available for 4.24. It fixes all known compatibility issues with 802.11n connectivity.
http://forum.xda-developers.com/showthread.php?t=1158629
Click to expand...
Click to collapse
I'm not really sure if it's my router or not but I've tried that driver on 4.24 de-odexed stock rom and still won't connect to my router unless the SSID is broadcast. Also, for a flashed evo on boostmobile, the voicemail notification won't work at all with a stock rom on 4.24, only 4.22.
Guys, recently bought a Nexus 4 and it normally connects via wifi but can not connect.
I was using the Android 4.2.2 OTA updated to Android 4.3 and the problem persists.
The Nexus 4 connects normally, but the icons of wifi connection and carrier signal are gray instead of blue and even trying to install applications via Google Play or simply access a site via browser do not work and accuse the connection fails.
I was tested and the router's signal is good and other equipment that I usually work (other Android smartphones and notebook).
My router is standard G and I use WPA2.
viamais.net said:
Guys, recently bought a Nexus 4 and it normally connects via wifi but can not connect.
I was using the Android 4.2.2 OTA updated to Android 4.3 and the problem persists.
The Nexus 4 connects normally, but the icons of wifi connection and carrier signal are gray instead of blue and even trying to install applications via Google Play or simply access a site via browser do not work and accuse the connection fails.
I was tested and the router's signal is good and other equipment that I usually work (other Android smartphones and notebook).
My router is standard G and I use WPA2.
Click to expand...
Click to collapse
all routers?
i got the same issue but only on a particular router at home but worked perfectly elsewhere
i ended up changing the router
csara said:
all routers?
i got the same issue but only on a particular router at home but worked perfectly elsewhere
i ended up changing the router
Click to expand...
Click to collapse
Oddly enough, I have the Nexus just 3 days and only had access to the router so far from home, but today I'll look for a router to test the public.
But either way it's frustrating the Nexus 4 have these compatibility issues when connecting to a wifi router.
Before making the switch router, is it not possible to find out which configuration of WLAN could cause this? Does Google do not have this documented?
i feel your pain, been there
it could be your router, from the way it assigns ip addresses to your type of encryption. by any chance is it a linksys G router? that was my problem before until i just decided to get an N router.
did you try switching to WEP or open to see if the problem persists? or changing your gateway ip address? or changing which ch your wifi is on?
never hurts to try
Should factory reset your router and upgrade firmware first, then immediately connect to it without encryption and see if it work.
Somebody please delete my previous thread (wrong forum), thank you: http://forum.xda-developers.com/showthread.php?t=2707468
------------------------------------
WiFi connects to my router and stays connected at excellent signal strength without any trouble. Internet connection however, always disappears after a minute or so. Then my Dolphin Browser either keeps loading a website forever or gives me some error like "Webpage not available". Same story with stock or any other browser. I'm not sure since how long I have had this issue. It surely existed already when my phone came back from warranty service (and I had sent it there because of very short range of WiFi commonly known problem which they fixed by giving the phone new hardware). I think that upgrade to Android 4.2.2 might have caused my problem, but it was such a long time ago that I don't remember now (I don't use/need WiFi that much, mobile data internet is enough for me).
What I've tried so far:
-rebooting phone and router obviously
-factory formatting the phone
-WiFi analyzer app
-changing all the network parameters and re-setting it up
-WPS connecting
-playing with all the WiFi settings on my phone (proxy settings, ip settings, wifi optimization and other)
-finally, today I unlocked bootloader, rooted and installed custom ROM hoping it'd help (but it didn't and now I lost my warranty lol)
What I have:
HTC One X Endeavor
Android 4.2.2 HTC Sense 5.0
Android Revolution HD 33.1
3.1.10-g7f360be Kernel version
TP-LINK
N750 Wireless Dual Band Gigabit Router
Model No. TL-WDR4300
I'm thinking about installing other ROM, some that works on Android 4.0 or KitKat, could it help?
Oh, and I should add that two different notebooks, Galaxy S4, S3 mini, Xperia X10 and a tablet all work fine with this network :>
I can provide any screenshots, photos, names of devices etc., just tell me what is needed.
HELP!
I have a similar problem with my device, but I just reset my router and it's fine. Maybe your problem is that your phone doesn't receive an ip address. You can check out if you have received an address via settings->wi-fi-> advanced, and check the 'ip address'. If it says ' not available, reset your router and your phone's wi-fi until you get one.
|>/\nte said:
I have a similar problem with my device, but I just reset my router and it's fine. Maybe your problem is that your phone doesn't receive an ip address. You can check out if you have received an address via settings->wi-fi-> advanced, and check the 'ip address'. If it says ' not available, reset your router and your phone's wi-fi until you get one.
Click to expand...
Click to collapse
Nopes, IP reception is fine. Here are all my settings:
Status: Connected
Signal strength: Excellent
Link speed: 26Mbps
Security: WPA/WPA2 PSK
IP address: 192.168.0.101
Proxy settings: None
IP settings: DHCP
As I said earlier, I have been playing with all the network settings above as well as with the phone WiFi advanced settings and it didn't change anything.
Hm…it may be a hardware problem.
There is a WiFi network in my school. All my friends can use it without problems, Android or iOS... but with my GT-I9505 on Samsung ROMs (even the stock one) I can't connect to internet because of DNS. This WiFi needs static IP and a different gateway, not in the same range of the IP to work. Chrome always gives me DNS_PROBE_FINISHED_NO_INTERNET, whatever DNS I choose. But the fact is that the problem vanish with any AOSP/CM ROM! I can connect to the network without issue.. set it up and go!
How this is possible? Is there any solution without having to use other ROMs if not the Samsung ones?
Can't you just input a dns manually? Press and hold the wifi network and select modify network. There you can input a manual dns.
Try these ones:
208.67.222.222
208.67.220.220
No matter what DNS I set, internet with that WiFi doesn't work if I use a Samsung ROM.
Sorry I didn't read that part.
According to this it's a bug in older versions of Android. That's probably why AOSP and CM roms work. Because they are atleast at Android 5.1.1. while stock Samsung is stuck at Android 5.0.1.
https://code.google.com/p/android/issues/detail?id=79504