[Q] Time-related WPA WIFI issues - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi all,
The network that I use is WPA enterprise 802.11 EAP. When 2.3 came out I immediately tried several builds, but none of the them worked with my wifi network.
In fact, several 2.2 builds don't work either, but after I replaced the wpa supplicant of the build with the desire build's, it started working.
Recently I tried pongster's HyperdroidGBX and that worked perfectly, with any need for modification. However, after a few days it stopped working entirely. I have attempted to modify with wpa supplicants and have even replaced the default kernel with one that worked in 2.2, but to no avail.
I am wondering if this is due to some certificate issue that is embedded in the build. my network may use a certificate so it is conceivable that it has expired, and this build is unable to requistion a new certificate.
I'd greatly appreciate it if someone with experience could help me out.
Thanks in advance!

I am having the same problem. It seems EAP is more complicated and not all developers have an access to it.

I a having major problem with wpa wifi networks too. I can connect to the network fine, but after a few seconds or at most minutes, I seem to get disconnected. Pinging any host from a shell gives me "no route to host" errors, but the system indicates that wifi is still connected. To date I have not managed to get a stable connection with any router set to wpa, no matter what settings/encryption scheme I set on the router. Note that wep and open networks work fine though, so I would imagine that it's not a hardware problem (right?).
Have you managed to solve this problem by any chance? Could you direct me to the alternative wpa_supplicant you used so I can try it out as I'm at my wits' end with this problem?
I cannot understand how there aren't more people having this problem!

Related

Hanging Wifi Problems on HTC Dream

ISSUE
Every 3 - 5 minutes while browsing, my wifi will "hang" (timeout when trying to access sites). Note: it doesn't disconnect, the wifi icon is still there as if I was connected, it will just timeout any requests.
TEMP FIX
Reconnecting will fix the problem until it occurs in another 3 - 5 minutes.
VERIFICATION
This is not an issue when using my device on my friend's home WIFI connection.
WHAT I'VE TRIED
Updating my Linksys WRT54G Ver. 2.0 router to the latest firmware.
Switching from WEP to WPA (TKIS) encryption.
Trying different wireless frequencies (i.e. different channels)
Manually setting MTU to 1500 for my broadband connection
Resetting router & Modem
Setting a static IP on my phone (only wifi settings I can change on my phone).
COMMENTS
I think switching from WEP to WPA (TKIS) sped up my connection (but didn't fix the hanging). I didn't do enough testing to verify this but I ran 4 speed tests (1 with WEP then 1 with WPA then one with WEP then one with WPA) and in all occasions with WPA (TKIS) encryption my speedtest results were nigh twice as fast as the results when using WEP encryption. Odd...?
This isn't an issue on my laptop when using my WIFI connection, however, that doesn't say much since I likely have a much better receiver in my laptop (an Intel wireless N card) and it's not to say my laptop gets a perfect connection (I can't play Team Fortress 2 on WIFI anymore because of lag spikes - need to play with wired connection), but it just doesn't have this hanging problem.
If anyone has any ideas of other things I could try to get this working I would greatly appreciate it.
Thanks.
Hey,
Iam wondering, after flashing tomal 8.7, I have the same problem as you with my universal. Did you found any solution?
Pieter
pvanbrakel said:
Hey,
Iam wondering, after flashing tomal 8.7, I have the same problem as you with my universal. Did you found any solution?
Pieter
Click to expand...
Click to collapse
Chek on Universal forum, there are some guuys with the same problem
But a hard reset should help
Don´t forget to vote!
KPeriod said:
ISSUE
Every 3 - 5 minutes while browsing, my wifi will "hang" (timeout when trying to access sites). Note: it doesn't disconnect, the wifi icon is still there as if I was connected, it will just timeout any requests.
TEMP FIX
Reconnecting will fix the problem until it occurs in another 3 - 5 minutes.
VERIFICATION
This is not an issue when using my device on my friend's home WIFI connection.
WHAT I'VE TRIED
Updating my Linksys WRT54G Ver. 2.0 router to the latest firmware.
Switching from WEP to WPA (TKIS) encryption.
Trying different wireless frequencies (i.e. different channels)
Manually setting MTU to 1500 for my broadband connection
Resetting router & Modem
Setting a static IP on my phone (only wifi settings I can change on my phone).
COMMENTS
I think switching from WEP to WPA (TKIS) sped up my connection (but didn't fix the hanging). I didn't do enough testing to verify this but I ran 4 speed tests (1 with WEP then 1 with WPA then one with WEP then one with WPA) and in all occasions with WPA (TKIS) encryption my speedtest results were nigh twice as fast as the results when using WEP encryption. Odd...?
This isn't an issue on my laptop when using my WIFI connection, however, that doesn't say much since I likely have a much better receiver in my laptop (an Intel wireless N card) and it's not to say my laptop gets a perfect connection (I can't play Team Fortress 2 on WIFI anymore because of lag spikes - need to play with wired connection), but it just doesn't have this hanging problem.
If anyone has any ideas of other things I could try to get this working I would greatly appreciate it.
Thanks.
Click to expand...
Click to collapse
have you solved the problem?
i have the same same issue with modem-router wifi Sitecom wl
Every 3 - 5 minutes while browsing, my wifi will "hang"
it doesn't disconnect, the wifi icon is still there as if I was connected,
if you had solved can you tell me how fix it?
Bye
Hi,
It looks that I've got the same issue as you have - the connection is still active (at least, the icon shows that), but after a couple of minutes, I cannot access any website.
Did you guys find any solution to this problem?
thank you very much
Ive had that problem with a few routers(i know the answers late, but maybe it will help someone at least). I had to disable the routers firewall. Once that was done, no disconnects. Weird.

WiFi data transfer problem

I have a ZyXEL P-2602HW-D1A Wireless router. I have tried all combinations of security, even NO SECURITY WHATSOEVER, and still the device won't transfer data.
Not working;
Firmware: 1.5, Build: CR817
Wifi Router: ZyXEL P-2602HW-D1A
Security: Tried All; WPA2, WPA, WEP & None.
Problem: Connect under all conditions but no data is sent
Please help.
Have you tried another WiFi access point to check the devices WiFi module actually functions?
No, I haven't tried that yet, but don't really see the point... I've connected effortlessly to the same WiFi network with my HTC Touch Diamond.
jbelman said:
Have you tried another WiFi access point to check the devices WiFi module actually functions?
Click to expand...
Click to collapse
For some reason my N800 wouldn't connect to MY ZyXEL P-2602HW-D1A unless I set the device (N800) to disable any kind of wifi powersaving features it had.
On another note, how did you get your hands on the device so early? I'm guessing you are using a Cybercity internet connection? (I'm in copenhagen myself)
edit: I actually came to that solution when i noticed I could connect to OTHER accespoints, but not the Zyxel ones.
Same problem here in France with a Freebox as router
I've noticed under the router's WLAN client list that the device does not have a "Host Name". Would that present a problem?
It is assigned an IP address by the router without any problems, though.
Also the device seems to lose connection and reconnect constantly (every 5-10 seconds).
I done some digging around in the router settings and found an "AnyIP" feature. Would that possibly help?
There are a number of issues floating around. Support for WPA2 seems iffy and some people can just change to WPA or WEP and all work fine.
There are however a number of people (such as me) who can get a connection perfectly, it shows connection OK, they get an IP from the DHCP server etc, they can even browse a page for a few seconds... but after that no data is sent and everything times out. This is happening on any security from none through to WPA2.
I have seen no solution to this anywhere and believe me I have looked. Some people have given up and got a new router, but this is not a solution.
Can someone confirm that this has been recognised as a fault with the magic and is being investigated, rather then assuming it's a user or router error. There are far too many instances of this across many brands of router for it not to be an issue with the HTC Magic.
zyborg said:
No, I haven't tried that yet, but don't really see the point... I've connected effortlessly to the same WiFi network with my HTC Touch Diamond.
Click to expand...
Click to collapse
What I mean is have you tested the device on ANY other AP except the ZyXEL?
No, but since I'm by far the only one having this issue (try searching the web; see my last post), I didn't feel it was necessary. Just want some input from xda-dev that might solve the problem, if any.
jbelman said:
What I mean is have you tested the device on ANY other AP except the ZyXEL?
Click to expand...
Click to collapse
I've had exactly the same problem earlier with the N800 on the zyxel. Exactly how you describe it.
Did you find out if you could turn off any powersaving features on the HTC?
same problem here
in france with a freebox
I don't exaclty know what router is in the box
but I have excalty the same
I set on never the wifi sleep(powersaving) mode.
i found it in setting wifi menu button then advanced and "never"
but the problem is still here
zyborg said:
There are however a number of people (such as me) who can get a connection perfectly, it shows connection OK, they get an IP from the DHCP server etc, they can even browse a page for a few seconds... but after that no data is sent and everything times out. This is happening on any security from none through to WPA2.
Click to expand...
Click to collapse
I have the exact same problem on mine. I just hope it is not a hardware issue...
Could be DHCP lease time problem. Did anyone of you tried to set up Magic with Static IP?
Yes, I tried that also - didn't help one bit.
TheRookie said:
Could be DHCP lease time problem. Did anyone of you tried to set up Magic with Static IP?
Click to expand...
Click to collapse
I also have this problem. Im in Denmark with a Zyxel P660HW-p1.
Another user of Cybercity in Denmark with the same problem.
ZyXEL P-660HW-D1
The android is the only device that doesn't work. I have tried with Iphone and laptops.
I've tried to change the settings on the router to no avail.
Enable 802.11g+ mode [on/off]
RTS/CTS Threshold [2432/4096]
RTS/CTS Threshold [2432/4096]
Max. Frame Burst [600/1800]
The device shows up in the device list with no hostname, the HTC Magic gets the right ip address (using the program WhatIsMyIp to view it)
I had the same problem before, when I set my TP-LINK draft N router with WEP security my HD can see it, connect to it (but speed was slow tho), and my HTC Magic just keep saying its not in range. However, when I set it to open security it works, so I recognise its probably the security setting... so I changed that to WPA2 and then it works.
In my case, I see different device have different tolerance to some settings (in my case, draft N + WEP is OK with laptop, HTC HD, but not Magic), so its still worthwhile to try a few different settings, and try a public wireless access point also to double confirm?
Power save?
I have Zyxel (P-2602R-D1A) router.
I had exactly the same problem with my HTC Vox (winmo)... but that was solved by boosting the WiFi in the phone.
WiFi -> Best performance
So Im guessing magic is in some WiFi "power save" mode...
I dont know how this works, but I thought maybe you could change some WiFi settings behind the hood - that is if the hardware is capable of it.
Zyxel (P-2602R-D1A) router
I am having the same issue with this router as the other posters. The phone connects perfectly and reports an excellent signal, but barely sends or receives any data. I have used a terminal emulator to ping the router and it reports an 82% packet loss. This must be a big problem for many Danish users as it is the standard wifi router provided by two of the major ISP's.
same issue here with my vodafone uk magic.
wifi connects and i can browse for a few seconds then get a connection error and can't browse until i re-start wifi on the magic...
i've actually given up using wifi at home now due to this.
router is a talktalk supplied Huawei Echolife HG520b using 128 bit WEP
i can connect fine via wifi at the office so i don't think it's an issue with the handset, just with certain routers or router configs...
this issue has been reported on the vodafone uk forums but as yet no solution.
http://forum.vodafone.co.uk/index.php?showtopic=31937

hero wifi dropping out

Is anyone else having issues with the WiFi stalling and having to reset it, even though signal strength shows as excellent?
It's not a channel interference issue as I know what channels are in use, plus its doing the same on 3 different networks where other devices work fine, I'm using WiFi fixer to reconnect but its still problematic.
What have others found to be the best solution?
Samme issue here. Wifi keeps on disconnecting/loosing the connection and is most of the time unable to reconnect. Have to either turn wifi off/on or choose "forget" and reconfigure the AP my Hero in order to get it to work again.
It´s a Linksys WRT54GX running WPA/WPA2 + TKIP.
Have used an iPhone 3G on the same router for a year now without ´any´ problems.
I'm using WiFi quite often but I don't have this problem with my Hero.
Are you absolutely sure that there isn't any interference? It might be that the Hero is just a bit more sensitive than your iphone.
Today I found G-mon at Market which scans around for WiFi-networks. Perhaps you'll find out that there is a network that's interfering constantly. I've had that a few years ago and then found out that the bus-company uses WiFi on their busses which uses the same channel as I did with my WiFi-network.
Thx for the tip. Checked and no interference.
Also having this problem with a Linksys WRT54G. No WPA though.
I don't trust this router at all; using WPA and connecting a Dell Axim X51v to it in the past used to knock out WLAN on router, needing a hard reset.
same problem here. Wifi is disconnecting randomly within a few meters from the Airport extreme. It also reconnects again...most of the time....without me doing anything.
i'm also having problems with wifi - using a linksys befw11s4 with wep. i've got everythign else turned off - have followed all the instructions i can find here in the forums, and not had any success :/
If you press the Menu button in the Wifi settings you can select Advanced. There's an option there that defines when Wifi is disconnected. If you set this to Never than the Wifi connection will be stable. (At least in my case it is).
Again, thx for the tip but this is not really considered a "solution" but rather a workaround.
I don't like the idea of having it on "allways on". A real battery drainer and it shouldn't be necessary.
I had similar issues with my wifi (Linksys WRT160NL) until I installed "Wifi Fixer" from the market on my hero. Since then wifi runs without problems!
I had similar problem, Linksys WRT54G v1.0 running fairly old (but latest available) Linksys firmware, with WPA/PSK.
Yesterday, re-flashed router to Tomato (based on HyperWRT), setup for WPA2/PSK(AES) and now all is working perfectly, no problems at all.
So looks like some incompatibility between the Hero and the Linksys firmware, for WPA.
Well, I'm running the latest firmware for my router but have now done some other configuration changes and it seem somewhat consistent with your findings.
Previously it was running in a "WPA, WPA2 + TKIP" mode but it has now been working flawlessly since I change it to "WPA2 + AES". Hence:
- WPA2
- AES
=
- WPA, WPA2
- TKIP
=
Info, update on the router: I'm having a WRT54GX, not WRT54G.
interesting; I had no choice but to upgrade, as the newest firmware for the v1.0 WRT54G doesn't - I believe - support WPA2.
Since I had many other wireless clients working fine with WPA (not WPA2), but not the Hero, one wonders if there are some WPA bugs on the Hero that get tickled by older routers, or just that the Hero is being less lenient than other clients.
glad yours is better too, anyway
I found that wifi performance and stability on the hero improved a lot when I changed my AP from dynamic 802.11 b/g/n operation to 802.11g only. I've seen other boxes with linux having similar issues with this AP (D-Link DIR-655), which points towards a driver issue. Wifi works better on Linux kernel 2.6.30 and later on notebooks so things should improve once HTC produce a build that include a more recent kernel. Wifi was quite a headache on notebooks too with the drivers in kernel 2.6.27.x that is included in the current hero firmware.
I have same problem - frequent line drops whne full strenght signal shows
I also have a Linksys WRT54G - never had any problems before.
tried wep and wpa -no difference.
Also tried some "always On" utility from the market place, it only helped reset it quicker.
As stated above, mine got more stable when fixing router to WPA2+AES but I now realize that I still do experience connectivity issues, although less frequently then before...
i don't think this has anyting to do with the router. I got a router from HUAWEI,forgot its brand, but not linksys for sure. I've tried the university wifi as well. they all have the same issue.
Mine is working great with a Belkin.
Looks like a problem with the Linksys firmware.
Anyone tried a firmware upgrade on the router?
Uqbar said:
Mine is working great with a Belkin.
Looks like a problem with the Linksys firmware.
Anyone tried a firmware upgrade on the router?
Click to expand...
Click to collapse
Indeed, if you read up just a few posts, you'll find that question answered
that said, although things seemed initially to get better, I'm still seeing regular drop-outs with the upgraded router, and now still with the Hero upgraded to the HTC 2.0 ROM.
I do note that it seems to drop most when I'm sitting quite close to a different strong wireless client, e.g. a laptop. Perhaps the Hero just isn't a strong enough signal, and gets swamped?
Anyone else notice a correlation between dropouts, and proximity to other clients?

[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] wifi and dhcp issue with 3.1 stock

hi everyone, some days ago I installed the virtuous 1.6, than replaced with a rooted stock 3.1. Since then, when I disconnect from my wifi for a while, getting far away from my router, it happens that coming back into the wifi field the tablet tries to reconnect but after 4 or 5 times it stops trying and tells me the connection is disabled. I see the dhcp service bouncing, no ip assigned. The only solution I've found googlin' around is to rename/delete the file dhcpcd-wlan0.lease in /data/misc/dhcp. It worked. but the issue got back again and again. I wanted to find out the cause and solve the problem once and forever, if possible. It's a pain in the... you know
Here is my topic. There is also one solution to it apart from the one you've found in google (which was probably my topic anyway ).
You're right, it'was your post. I've read it againg but I can't find out which could be the alternatrive solution. Keep in mind that when I got this wrong behaviour the first time obviously I invesitgated the possible causes, and I discovered the inability to retrieve a dhcp IP address either with my wifi router, with my wifi access point 3g and with a tethered connection via Iphone (all of them I normally use when I'm not at office). None of these would work until the uplisted file deletion). Would you be so kind as to suggest me, if you can, the possible solution in more detail (apart from performing a global reset that would be as annoying than deleting the file)
In any case, many tnx for your answer
Currently the common solution is to abandon the leaked 3.1 rom or put up with the bug.
Manually setting DHCP also works but it's usefull only if you'll use the tablet on one wifi. Else it's just a big pain in the arse.
I have same issue with the stock 3.1 rom.
At the end what I did was manually assign IP address for my iPhone's MyWi connection.
It seems mine has no trouble to connect to my home wi-fi network as well as work...
I also get that problem. But now, seems to have fixed it. I have done the followings:
- delete the dhcp lease file
- change the channel of my wifi router to 9 or below
- download the ad-hoc supported wpa_supplicant
Please try if above help you

Categories

Resources