[Issue][Solved] Can't connect to WIFI - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi All,
I'm not sure if this problem is in every build but i found it in the FroyoStone Series [Build 07.08.2010].
Problem:
Android can't see some WIFI networks.
Solution:
Android seems only to detect wireless networks that are configured between "Wireless Channels" 1 to 11. WIFI networks configured above channel 11 won't be detected by Android.

what about ad-hoc wireless connection ? how could i connect ?

And this is only HD2 bug or all Android devices?

This issue only occurs on newer builds. My wlan router uses channel 13. I'm able to connect with all old builds from darkstone, etc. But Since mattc 1.4 and FroyoStone I'm not able to connect anymore, because Android is not able to find my network.
By the way: This issue is not solved, because not all of us are able to change the wlan channel of our routers! I'm not sure if this is right, but I read that channel 13 and 14 are not allowed in the USA. Is it possible that our devs used european Androids builds in the previous buidls and now uses an USA Version (new Desire Build)?

is it because of mac address?
is it because of mac address? MAc address is different from win mo in Android

thihaz said:
is it because of mac address? MAc address is different from win mo in Android
Click to expand...
Click to collapse
No, as I told, it works fine with all older Android buils. Only with new one (since 1-2 weeks) it is not working anymore.

sushilange said:
This issue only occurs on newer builds. My wlan router uses channel 13. I'm able to connect with all old builds from darkstone, etc. But Since mattc 1.4 and FroyoStone I'm not able to connect anymore, because Android is not able to find my network.
By the way: This issue is not solved, because not all of us are able to change the wlan channel of our routers! I'm not sure if this is right, but I read that channel 13 and 14 are not allowed in the USA. Is it possible that our devs used european Androids builds in the previous buidls and now uses an USA Version (new Desire Build)?
Click to expand...
Click to collapse
true, i had the same problem. Older build seem not to have the problem
sushilange said:
By the way: This issue is not solved, because not all of us are able to change the wlan channel of our routers! I'm not sure if this is right, but I read that channel 13 and 14 are not allowed in the USA. Is it possible that our devs used european Androids builds in the previous buidls and now uses an USA Version (new Desire Build)?
Click to expand...
Click to collapse
Again true, channel 12 to 14 are not used in the US, Europe goes up to 13, 14 is only used in Japan if i remember properly.
So there are 2 options:
Reuse European Desire Builds or Change you wifi channel if you can. A better option would be reusing the European Desire Builds.

With latest kernel I found new problme with Wifi. It works but after some time stop. I must turn it off and on again.

Hi,
On my Glofiish x650 I've the same Problem with channel 13. Therefore I found
vvvvvv.aspecto-software.com/punbb/viewtopic.php?pid=3346#p3346
For these and other threads about channel 13 the Problem shut are at all devices with built in wifi chip from Marvel.
@ ATomCZ
If you really has no problem with channel 13 maybe you could place here a copy of GSPI8686.dll from your HTC.
(Even it's placed in ROM it is not so easy to copy, may be you or someone next to you now how to do)
@pi_mento
It seems you have an x650 too. Does your x650 connect to channel 13?
Unbelievable, but if it does it would be great to get a copy of your GSPI8686.dll.
What is your ROM Version?
(I'm from Europe and for some reason I have to use channel 13)
Regards

hi i am runnin froyostone v2 and i can connect to a wifi network without a wep encryption password but when i try to connect to my router which i have a wep password on it doesnt respond...it doesnt even say obtaining ip address or connecting...if somebody could help me with this problem i would appreciate it

KroniC89, I had the same problems, I changed the channel to 8 and everything was working

KroniC89, had the same issue, changed the channel to 8 and voila!!

ditsch said:
KroniC89, had the same issue, changed the channel to 8 and voila!!
Click to expand...
Click to collapse
How do I change Channel ?

Don't know if this works for you people but it works for me.
I'm using darkstone HD2Froyo V2.1.
If you go to Settings > Wireless & Network settings > Wi-Fi Settings then press the Menu button (Windows button on the HD2) and choose Advanced then you choose Regulatory domain which lets you choose the number of channels to use, set that to what you need and it should show your network.

I have another problem! I'm using Darkstone Froyobuild with the latest 13. September zImage... since i installed this zImage it always says connecting and 2 seconds later is says scan and then connecting again! Goes like this all the time so WiFi is working but i can't connect to the network...
I already changed the channel to 8 but it's still not working and the network has WPA2!! Any solutions??

Philipp05 said:
I have another problem! I'm using Darkstone Froyobuild with the latest 13. September zImage... since i installed this zImage it always says connecting and 2 seconds later is says scan and then connecting again! Goes like this all the time so WiFi is working but i can't connect to the network...
I already changed the channel to 8 but it's still not working and the network has WPA2!! Any solutions??
Click to expand...
Click to collapse
I have the exact same issue using WEP.

I think my problem with it not connecting its the mac filter I use and the HD2 having a mac address of 001122334455....

The MAC Filter issuse is noch solution for me! I have the filter switched off...

Is there no solution for this problem?

Related

[Solved] Android and WiFi

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

[Q] Strange Wi-Fi issue.

I have a strange problem about Wi-Fi. I tried every single Android Build in this forum, and i'm still having it.
The problem is, my Wi-Fi network is works like a charm with Sense builds, every Sense build. Without exception. But with the stock builds, it's just stops connecting to the internet(still vague?). I tried everything; static IP's, tried to make my network open... Nothing changed. Is there any solution for this, or the problem is just my network???
btw, i can reach router's homepage (192.168.0.1), i just cant access to the internet.
I'm pretty sure you problem has been covered elsewhere (although I cant be certain..."It just stops working" is a bit vague)....
But, searching for "wifi" problems might not be very benneficial soo I will try to help instead of flaming you like i normally might
Which channel is your router using???
From what I recall some builds will not recognise the higher channels (11, 12 and 13 I think).
So if your router is on channel 11 or higher I would try a lower number
If thats not the problem then I dunno....its back to searching for you
yes, that was 11. so i tried 10,7,5,2... nothing changed. still i can reach to router's homepage but not internet. it doesn't make sense
guys, please help me. i'm still trying to solve it. i tried every single rom published today too. cyanogens, not cyanogens...
-i also upgrade my radio from 2.10 to 2.11.
actasci said:
guys, please help me. i'm still trying to solve it. i tried every single rom published today too. cyanogens, not cyanogens...
-i also upgrade my radio from 2.10 to 2.11.
Click to expand...
Click to collapse
are you using a wep key? if not, try using one
thesweeney said:
are you using a wep key? if not, try using one
Click to expand...
Click to collapse
still same problem, connection successful, i can reach the router's homepage, but no internet connection.
also i saw this options in the router's homepage.
WAN Blocking Enabled
Ipsec PassThrough Disabled
PPTP PassThrough Disabled
Remote Config Management Disabled
Multicast Enable Enabled
UPnP Enable Enabled
Rg PassThrough Disabled
Click to expand...
Click to collapse
is anything wrong in there? because i was enabled upnp when i bought ps3?!?

Wifi on channel 18 problem

Hi. I have wifi working on channel 18 and no chance to change that.
How can I access this network in my android I can access ch. 1-14?
No problems on WM with this network.
Mike
The answer is that there is no channel 18 in the wifi spectrum that is in common use.
Could you be referring to zigby? that has a channel 18? But I've not seen zigby in a phone.
At the customer place is Cisco router on the wall.
I tried to connect from Android - network was not visible.
A friend of mine got iphone, got connected - it shows ch18.
After couple of hours he connected again - on channel 12 at this time.
i could not find this network whole day.
When I started WM, no problems. Network become visible and I got connected.
So, what can I do to get this network working on Android?
Isn't it problem with wifi-n networks?
I can see other networks, but not this one I want to connect from Android.
Sovtware version i run:
Android 2.2
Mdeejay Froyo NextSense 2.7
kernel 2.6.32.15r7.6-gc08b0fe
Mike
Ok, after some time with google it looks like problem between Android and Cisco Wifi router.
What a crap.
Mike
technicly in the us theres 11 channels, europe has 13, japan has 14.

he doesn't find my wifi

hi, i installed android 2.2 and now my wi fi network, sometimes he finds it most of the time he wont.
what can I do?
sorry my english
get within range
What channel is your router on?
Sent from my HTC HD2 Android
chanel 12
thanks.
Wifi stopped working for me about a week ago on the last build I was using. It had worked fine for a few weeks and then nothing. I could connect with Windows, just not Android. There was nothing on my router to show that the mac address was blocked - there was no discernible reason that I could find.
I ended up changing builds yesterday and my wifi is back again. Unfortunatly, a change of build is the only thing I can recommend.
Unless, of course, there's 2 people trying to use the same wifi router, both running the same Android build?
try to change channels on your phone to 14 channels
silverbluem said:
try to change channels on your phone to 14 channels
Click to expand...
Click to collapse
how can i do that?
johncmolyneux what andoid built do you instaled?
thanks
devilonline said:
johncmolyneux what andoid built do you instaled?
thanks
Click to expand...
Click to collapse
I'm currently using this build...
http://forum.xda-developers.com/showthread.php?t=859817
It's running very nicely now (was slow whilst setting up at first, but a few reboots sorted that).

Android Revolution HD 2.0.11 - Channel 13 wifi not working

I am using Android Revolution HD 2.0.11 and when I installed it, I lost my wifi connection (my HD found many other wireless networks on my building, but not mine).
Then I manually set my router to channel 11 and it started working again. Previously, I was using the stock ROM and my router was set to channel 13 and it worked just fine.
I guess this may have to do with the higher channels and the wifi driver.
I just wanted to let the developers know about this, but am not allowed to post in the development forum yet. Maybe this is a known fact, but I couldn't find any information on this.
By the way, in case anyone is wondering, I need to manually set my router to one of the highest channels in order to get a stable wireless connection at home.
Also, my wife's Legend with rooted stock ROM has been working the whole time on channels 13 and 11.

Resources