[Q] Wifi problem on Nexus-build - HD2 Android Q&A, Help & Troubleshooting and Genera

I've been using Android on HD2 for awhile but always wonder what cause this.
My home wifi is normal WEP encryption with no proxy.
My office has 2 AP first one is PEAP/MSCHAPV2 (802.1x) with transparent proxy, and second one is Open network (web-based authenication)
When I use Desire-based build or those with Sense build. Wifi is working just fine in all apps (browser/market/etc,...) and both home & office.
But when I use Nexus-based build, I can't use wifi at my office.
It can connected, get IP address from DHCP but no data transfer at all.
But when I try wifi at my home, it working just fine.
Anyone experience this?
Are there any solutions to this?
I'm using phireMOD CM6 1.4, MattcEvo 1.8, Nexus FRG33, various Mdeejay build
HD2 T8585, Radio 2.15.50.14, Cloudyfa 1.7C3

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] Working Barnacle wifi tether?

I was just wondering if there is a working wifi tether for the htc hd2 running android OS. Im currently using mattc's froyo 1.8 w/sense and I installed barnacle and it connects, however there is no network access/internet access and it doesnt show me connected to my laptop from my hd2. Just wondering if anyone here knows how to get it up and working
I have the same problems with my HD2 configuration (look at signature).
Connection working but no internet access.
Same problem here no internet
most of the newer builds have native tethering working fine, might be something to look into.

[Q] WiFi tethering with CLK Typhoon 2.9.3

Since I can't post in the right forum due to my lack of post here it goes.
I'm using Typhoon 2.9.3 clk version and for some reason wifi tethering doesn't work right. Setup wifi tethering using wireless controls and hotspot, using wpa2 also tried open security. My computer connected fine and obtained IP address but when I try to go on the internet the browser just hangs and not go to Google or any page. Is anyone experiencing this or got it resovle I've been experiencing this since switching to clk from magldr.
Nevermind switched back to magldr and all is good now just too bad really love the reboot to recovery feature

[Q] Issue with wifi hotspots

I've tried a few SD android roms on my HTC HD2. I'm currently using Rafdroid and and like this one but it also has the same wifi issue.
The problem that I keep on encountering is I can access internet, market using the home wifi connection, but when I find a wifi hotspot eg. McDonalds it opens and connects to the wifi but I can't browse or install apps from Market.
Can someone please help me? Confused as to why no problems on home wifi but issues at wifi hotspot.
Thanks

WiFi Not working: WEP Security, Hidden SSID

Hello everyone!!
I installed NexusHD2-Gingerbread V2.8 ROM in my HTC HD2, everything works just perfectly, but when I try to access the wireless at work that has the SSID hidden and password protected with WEP encryption the wireless doesn't work at all, it says: "Not in range, WEP protected"
I have configured the network manualy, with static IP Address, Gateway, Net Mask, and DNS (all required to be able to connect to the network)
I have searched alot in google and in this Forum, but I failed to get a solution to my problem, I have installed programs like "Wifi Advanced", "WifiConnector", "Hidden SSID"... But none of them solved my problem.
When I had Windows Mobile 6.5 installed everything worked just fine, but since I moved to Android I failed everytime to connect to the wireless.
My System:
- HTC HD2 (bought new, unbranded)
- NexusHD2-Gingerbread_V2.8_NAND_(Android-2.3.4)
- Radio Leo 2.15.50.14
- MAGLDR_CWM_Recovery_v3.0.2.5_for_NexusHD2_135M
- HSPL 2.08
No one can help ?
This is really anoying
Am I the only person having this problem ?
No one have any idea how to solve this ??
Please help!!
Hi SmileXPT,
This is a irritating problem indeed. I use to have the same issue on some SD and NAND builds before, and the reason was the security settings of my router + MAC address filtering was enabled. It used to be WEP too, but nowadays it's advisable to use atleast WPA or WPA2 since it is more secure.
You could check if the router or accesspoint has MAC address filtering enabled. This means that the MAC address of your HD2 isn't in the whitelist of the router. In some Android builds the MAC address isn't unique, or the kernel isn't stable, for example: PPP is faster than RMNET but can drop out, RMNET is more stable but slightly slower.
You could also try Pongster's "HyperDroid-CM7-v2.1.0" build. I use it daily with a stable wifi connection for Whatsapp. I never had a dropout with the connection.
But what I wonder is:
- does wifi work @ other places?
- does your HD2 see other accespoints in the list?
Greets
mister.halfblood said:
Hi SmileXPT,
This is a irritating problem indeed. I use to have the same issue on some SD and NAND builds before, and the reason was the security settings of my router + MAC address filtering was enabled. It used to be WEP too, but nowadays it's advisable to use atleast WPA or WPA2 since it is more secure.
You could check if the router or accesspoint has MAC address filtering enabled. This means that the MAC address of your HD2 isn't in the whitelist of the router. In some Android builds the MAC address isn't unique, or the kernel isn't stable, for example: PPP is faster than RMNET but can drop out, RMNET is more stable but slightly slower.
You could also try Pongster's "HyperDroid-CM7-v2.1.0" build. I use it daily with a stable wifi connection for Whatsapp. I never had a dropout with the connection.
But what I wonder is:
- does wifi work @ other places?
- does your HD2 see other accespoints in the list?
Greets
Click to expand...
Click to collapse
Thank you very much for your answer!
I know WPA and WPA2 are more secure... but because the network I'm trying to access is of my Company, I can't change the settings of it... The MAC Address filtering is not active.
I'm going to try the build that you suggested and I will let you know if worked.
Thanks again for your time!
Thanks mister.halfblood, the "HyperDroid-CM7-v2.1.0" really works very well
Now I don't have any problem with the wireless
The only problem is... that I don't like the default theme is too dark...
Thanks again!
SmileXPT said:
Thanks mister.halfblood, the "HyperDroid-CM7-v2.1.0" really works very well
Now I don't have any problem with the wireless
The only problem is... that I don't like the default theme is too dark...
Thanks again!
Click to expand...
Click to collapse
Hi SmileXPT,
you're welcome, no problem!
I use to have the same NAND build on my HD2. Also have a look at the latest GPS fix from Tytung's thread here.
It will for sure help you out getting a better and faster signal lock.
If you would like to change the theme I advise you to check out some skins for ADW, a lot of them are free to download on the market.
Well, I'm glad all has worked out for you! Have a nice weekend!
Peace!

Categories

Resources