WiFi Not working: WEP Security, Hidden SSID - HD2 Android Q&A, Help & Troubleshooting and Genera

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!

Related

HD2 cant connect to wifi :(

Hi All,
Just got my new HTC HD2 from Virgin, however I cannot for the life of me seem to connect it to my home WiFi (I've not tried it elsewhere yet).
I've still got my MDA Compact IV here with me and use the same settings as the HD2 and that connects first time no problems, but the HD2 isnt playing ball!
It sees my wireless network at home (full strength) and starts to connect then simply says "Available". No notification of incorrect wireless key etc...reported.
I have used my Compact IV side by side with the HD2 and no issues so I am puzzled as to what I need to do now
Any help would be appreciated.
Thank
Are you sure you didn't set up some MAC address filter in your wireless access point?
kilrah said:
Are you sure you didn't set up some MAC address filter in your wireless access point?
Click to expand...
Click to collapse
I've not enabled MAC address filtering on the router at all, just simple wifi security key access.
Flash a new radio?
(check my sig under hspl flashing guide)
if you are using wep, heres something to try.
routers can be set to three types of wep key
open
open or shared
shared
in my experience if you areset to the middle one, "open or shared" mobile devices can have trouble connecting.try setting it to just "shared"instead.
course it could just be my router but I have seen this behavior in three mobiles including my hd2.
Current router settings is WPA-PSK [TKIP]. I even tried turning off security and got nothing My router is Netgear WGR614v9 - it came with my Virgin broadband deal.
Current ROM version is 1.48.405.2 (71294) WWE and radio version 2.05.51.05.2
Its most annoying that the HD2 on the face of it seems like a really good handset but then I cant get the Wifi connected which most basic handsets have no issues with
Any other possible solutions?
I got the same problem
I have the exact same problem.. Cant connect to my AP with my leo... got no mac secure on, even if i remove my security(WPA/wep or whatever), it will not connect...
I had the same issue when I applied hint 39 from http://forum.xda-developers.com/showthread.php?t=583638
Result: couldn't connect to my network with WPA2.
After restoring the parameters everything is OK.
Right finally got it working!
Installed the Touch_X_Wireless_Draft_N_ON.cab cab and then uninstalled it and now it seems to work.
Cab can be found here: http://forum.xda-developers.com/showthread.php?t=584415
Hope that helps others out too
I had this issue too, could see my home Wifi network, but the device would just say, "Incorrect Network Key". But it was correct!
I now have it working strangely by changing router Security Options to (WPA-PSK + WPA2-PSK)
Connects with no hesitation now!
my advise is disabling WEP password in both HD2 and the router.
it works perfectly.
"Incorrect Network Key" problem
Bro you made my day! I spent whole day to figure out a solution to the exact problem. I wish I had seen your reply before. When I changed my cable modem's setting as suggested and encryption to AES, it worked
Thanks again.
spyralmale said:
I had this issue too, could see my home Wifi network, but the device would just say, "Incorrect Network Key". But it was correct!
I now have it working strangely by changing router Security Options to (WPA-PSK + WPA2-PSK)
Connects with no hesitation now!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=959764
"When you connect to wifi on your phone, open terminal emulator and do a ping to your PC's IP address, or use any ping app (I am using Net Ping from market). As soon as you start to ping your PC, connection is immidiatelly opened. I have no idea why it is like that, but for now I am using this method when I want to use FTP server on HD2...."

[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

Wifi - getting address, no connection at the end

Hi, in case this has been already solved I apologize in advance, however I searched all the post on this and could't find real solution to my problem and from what I have read I am not alone...
The think is that if I install any build of Androud to my Leo everything works perfect except the WiFi connection - after enabling WiFi and pointing it to my router it recognizes it, accepts the password (WPA-PSK protection) and then after some time of getting IP it never connects and it goes on and on.
I tried every single thing I have found all around this forum and many others, unfortunatelly nothing could make it work (forcing static IP, opening the network without protection, changing networks SSID, leaving WiFi on and restarting, etc.)
It is really pitty as I really like the way Androind moves on HD2, but as I use the Wifi a lot to unload a bit my data plan I cannot stick with it at the moment. So, is there any real solution to this problem?
Thank you in advance.
I have the same problem. But the connection is fine when I was under Winmo.
The only time I've experienced a similar issue was when I upgraded to a new kernel, without pushing the new modules. What builds and kernel are you using?
Sincerely,
Mac
Try updating your builds or just modifying the mac adresses
I already have this issue when upgrading or changing build. I resolved the problem with Airplane Mode. switch on/switch off. Let us know the result. ^^
I was having the same problem. It wouldnt connect to my home network, but it would connect to every other network. Turns out my router was too old. I recently got a new router and it works fine. Also, when I had my G1, it also wouldnt connect to my home network via wifi, but it does with the new router.
wangshuokevn said:
I have the same problem. But the connection is fine when I was under Winmo.
Click to expand...
Click to collapse
On WinMo no problem.
white-energy said:
Try updating your builds or just modifying the mac adresses
Click to expand...
Click to collapse
As I wrote before, I tried many different builds with no succes. At the moment I installed MCCM SE V3.4(FroyoStone Sense)[kernel hastarin r8.5]. As I have nothing to save I do everytime clean install on reformated card.
lamario said:
I was having the same problem. It wouldnt connect to my home network, but it would connect to every other network. Turns out my router was too old. I recently got a new router and it works fine. Also, when I had my G1, it also wouldnt connect to my home network via wifi, but it does with the new router.
Click to expand...
Click to collapse
IMHO the router is not the problem even it's a bit outdated - Linksys WRT54GL - as I tried to connect to friend's network, I also created AP from my notebook - with the same result.
hatchy77 said:
I already have this issue when upgrading or changing build. I resolved the problem with Airplane Mode. switch on/switch off. Let us know the result. ^^
Click to expand...
Click to collapse
The Airplane mode you toggle in WinMo or Android? I tried it in WinMo - no success.
oh yes...
... I know this kind of problem.
Tried so many builds of Froyo. Most wlan-stable was indeed MCCM SE V3.4(FroyoStone Sense)[kernel hastarin r8.5] - with this build I had no wifi drops or hsdpa drops.
From today on I try the MDJ FroYo HD v.4.1[kernel:MDJ S7.3HD]. Most time it holds the connection, but sometimes when waking up from stand-by I have to disconnect and reconnect wifi.
Router: Linksys WRT54G.
mac-nukem said:
... I know this kind of problem.
Tried so many builds of Froyo. Most wlan-stable was indeed MCCM SE V3.4(FroyoStone Sense)[kernel hastarin r8.5] - with this build I had no wifi drops or hsdpa drops.
From today on I try the MDJ FroYo HD v.4.1[kernel:MDJ S7.3HD]. Most time it holds the connection, but sometimes when waking up from stand-by I have to disconnect and reconnect wifi.
Router: Linksys WRT54G.
Click to expand...
Click to collapse
Thanks for the answer, unfortunatelly I have nothing to drop as I cannot connect. On the other hand either EDGE and HSDPA works like charm - solid connection.
snekoza said:
The Airplane mode you toggle in WinMo or Android? I tried it in WinMo - no success.
Click to expand...
Click to collapse
Into Android my friend
I also had this problem. It's easily solved by loging into your router and setting up the access list (under adv wireless settings on mine). You can add the device in with its specific mac address and by doing this I was instantly able to use wifi.
It's not an issue with mac address filtering. I know this issue because I have the same problem with the wifi router at the office. I can connect without any problem at home but It just won't work at the office.
DHCP server assigns an IP, but if you try to ping any IP outside LAN you'll get network unreachable.
I didn't have time to test a bit more, but I'll try to change the mac address of my wlan in order to test if the problem relies in there. The idea is to assign the same MAC Adress I have on WinMo. This will be very useful also to people with 2 HTC HD2 using the same ROM and Kernel.
BTW, I'm not using MAC Address filtering, this issue has nothing to do with it.
I have the same problem here ..
Please help me buddy!
thank you in advance
hassohd2
I tried this switching in and out of Airplane mode in Android with varying degrees of success. The problem itself seems intermittent for me - sometimes I get a decent amount of time with successful access and sometimes I don't. Similarly a reboot (of Android) may or may not work for me. I am using kernel version 2.6.32.15-gd09adbb gcc version 4.4.0 and is dated Thu Dec 30 19:14:35 CET 2010 for me. I notice I am more inclined to have an issue with Market even than with Firefox. Also it is more of a problem now than with a previous kernel version (but it had problems too if I recall correctly). I upgraded because I am having difficulties with getting the USB link to work under Android (but that problem is still there). It did seem to work well for the first few hours after the upgrade, but since then...
I did notice that under MS WM, the MAC address is quite different to that recorded by my DHCP server (a unix box the other side of my wireless router) for Android. The Android one looked like it was a stock standard number sequence, so fabricated. I wonder where that is set on the phone?
I also noticed that the phone does not have the usual (for Linux) resolv.conf file that often gets configured by the DHCP connection process. Further, entering a host IP in the /etc/hosts file does not necessarily mean that a command like ping will find it every time. Of recent I have not been checking that - I have been using the IP address of my unix box to do ping tests to. The network does (of course) shut down when the phone goes into sleep mode, but does wake up, even responding to a ping from the unix box. Running up Market, though, seems to kill the connection every time now (but a weather update won't).
A further observation: if I get the Wi-Fi network connection to reset itself (straight forward when the lease expires), it is hard to get it to reset itself until after the next lease expiry for some reason.
I did some further tests. I don't have a pipe (|) key on my HTC HD2 that works so the following commands are a little long winded.
localhost / # getprop > /data/tmp/props
localhost / # grep dns /data/tmp/props
[net.change]: [net.dnschange]
[dhccp.eth0.dns1]: [192.168.10.1]
[dhccp.eth0.dns2]: []
[dhccp.eth0.dns3]: []
[dhccp.eth0.dns4]: []
[net.dns1]: [192.168.10.1]
[net.dnschange]: [49]
localhost / #
Now 192.168.10.1 is my (Unix) DNS server.
When I do the following on the phone
localhost / # nslookup 192.168.10.1
(or even localhost / # nslookup cicada or even the fqdn of the server)
and I tail -f /var/tmp/named.log on the server (where I set up logging for queries and resolver categories for this test)
I see no action at all on the server and on the phone I get
localhost / # nslookup 192.168.10.1
Server: 192.168.10.1
Address 1: 192.168.10.1
Name: 192.168.10.1
Address 1: 192.168.10.1
localhost / #
localhost / # nslookup cicada
Server: 192.168.10.1
Address 1: 192.168.10.1
nslookup: can't resolve 'cicada'
localhost / #
and the same for the FQDN.
The DNS server does not even see the request for forward or reverse lookup, strangely enough. But it is seeing the requests from other machines with logs to the reverse lookup from those other machines looking like:
10-Jan-2011 22:21:57.953 queries: info: client 192.168.10.20#38971: query: 1.10.168.192.in-addr.arpa IN PTR +
So, not only does the wi-fi link drop when Market is run, the DNS is behaving strangely to terminal based testing. Further, an update of the weather does not show any traffic in the DNS server log (at least for the logging level I have set up) even though the weather does get updated. It makes me wonder what DNS it is really using.
The other avenue I want to check is DHCP time-out, which I have been keeping an eye on (it does seem to time out and not update, but there are also other issues that suggest the problem is not a time-out one). That will have to be another day at this stage, though.
what channel is the router using for wifi?

[Q] Wifi tethering doesn't work on any build

Hi folks,
im running Android in my HD2 for 2 months now and the results are great! The only thing that aint working is WiFi tethering. I can connect to my HD2, it says connected but no Internet access. I also see and exclamation mark in my wifi signal in Windows. How can i solve this? Is there any solution?
I am using MDJ RevolutionHD 1.2
Hastarin's kernel 8.6
VBN Clarity rom
2.15x.x.x radio
Hope someone can help me!
Thnx in advance!
check the dns server on your computer. Maybe you need to specify it.
rbadal said:
Hi folks,
im running Android in my HD2 for 2 months now and the results are great! The only thing that aint working is WiFi tethering. I can connect to my HD2, it says connected but no Internet access. I also see and exclamation mark in my wifi signal in Windows. How can i solve this? Is there any solution?
I am using MDJ RevolutionHD 1.2
Hastarin's kernel 8.6
VBN Clarity rom
2.15x.x.x radio
Hope someone can help me!
Thnx in advance!
Click to expand...
Click to collapse
Your router may have "Mac Address" enabled.
Add phone IP address to computer.
Change your DNS settings.
Check my thread link for WiFi Tether app, WiFi Tether does not work on builds, need outside app to work.
When i download ur wifi tether app and press the tether it says: "Unable to tether"?
I dont use MAC filtering. And in windows i dont need to adjust my DNS. Do i have to do this in Android?
rbadal said:
When i download ur wifi tether app and press the tether it says: "Unable to tether"?
I dont use MAC filtering. And in windows i dont need to adjust my DNS. Do i have to do this in Android?
Click to expand...
Click to collapse
Make sure WiFi is on, yes, you may need to change the DNS settings on Android. When you scan for you device, does your computer recognize the signal? In "Wifi Tether" settings make sure a "LAN" is chosen.
not working...
Same issue here, have tried various apks, leaving wifi on, toggling wifi on and off before launching the wireless-tether app as well as the "android.tether" folder workaround (put it in root of sd), to no avail.
Connection is there but the connection is limited, with the exclamation mark, both on XP and W7 64 bit.
Are there any other settings that have to be made?
Is it something missing in the android build or the kernel!
I am on HD2ONE 3.6, Hastarin 8.6 undervolt, vbn reloaded 3.14 base and radio 2.15.
Thx for your help!
Geen
geenyous said:
Same issue here, have tried various apks, leaving wifi on, toggling wifi on and off before launching the wireless-tether app as well as the "android.tether" folder workaround (put it in root of sd), to no avail.
Connection is there but the connection is limited, with the exclamation mark, both on XP and W7 64 bit.
Are there any other settings that have to be made?
Is it something missing in the android build or the kernel!
I am on HD2ONE 3.6, Hastarin 8.6 undervolt, vbn reloaded 3.14 base and radio 2.15.
Thx for your help!
Geen
Click to expand...
Click to collapse
In your task bar: R click on the internet connection icon/open network sharing/change adapter settings/R click wireless network,connections/properties/ipv4: make sure the settings are set to automatic. Also, double check that you are not on an allowed MAC address setting within your router.
still no luck...
Thanks for your reply, I have checked the ipv4 settings on both my xp and w7 laptop, they were both on automatic already...
As for the other suggestion I am not 100% sure if I understood correctly, I have however unplugged my wireless router at home to make sure that there is no interference, unfortunately to no avail.
When I look at the log everything seems good, all the instances are marked "done" and the connection is established, it is only "limited"/"restriceted" though (meaning no i-net access), also the wireless tether app does not show any connected clients?
Thanks again for your help!
Geen
UPDATE:
still nothing working in rgds of wireless tether...
EasyTether works however, but with the ppp builds you lose connection every other second...

[PARTLY SOLVED] wifi no data with non sense builds : 4 cases

Hello,
I open a thread to describe my problem since nobody could help me until now. I guess this must be an advanced problem, because I don't think I'm noob enough to have screwed something up.
So fisrt of all, the background :
Had a problem with wifi after a fall: low range, crappy bandwith, disconnected all the time
Sent my phone to RMA service TWICE : not fixed in the first time, some hardware piece changed the second time
Got back my phone : firmware updated to 3.14, radio 2.15, wifi working perfectly under WinMo
From there, it gets complicated. At first, I decide to try my old cedsmith sense build, the first with new initrd.gz : wifi works fine
Then I try Darkstone froyo RAM build : wifi connects, gets an IP (I see my device from my router's control pannel), BUT NO DATA, market, browser, web apps won't load...
Then I go to cedsmith's desire HD build (not RAM) : wifi works fine...
Then I decide to try MIUI Star RAM build : wifi works for 2 day, with data freezes and timeouts, then it do not work anymore...same problem as Darkstone's RAM build.
Then NAND arrives :
I try DFT Desire build : wifi ok
I try Gauner1986 Desire HD build : wifi ok
I try CM6.1 build : wifi not ok
I try tytung's Nexus build : wifi not ok
Now I'm back to DFT's desire build, and wifi works perfectly.
So after processing data in my mind, the main common factor in working build is Sense, and no Sense for non working builds...
May I assume that HTC RMA service may have replaced some wifi chipset or antenna for a different one, working with only with HTC builds because they have specific drivers?
I have tried to ping from non working builds with Terminal Emulator :
Router is fine (192.168.0.1 : every packet is transmitted)
www.google.com is not fine (around 1 packet off 5 is transmitted...)
I have an european HD2 with 512Mo of internal storage, so I would like to be able to use non sense build, essentially for space matter...To conclude, I have to questions, mostly for programmers since this is an advanced issue : what do you think my problem is, and what can I do to to fix it...if it can be fixed?
Thank you for your help.
UPDATE : My issue has been solved by adding another router to my local network, dedicated to my phone. It is a Hercules HWNRi-300, with 802.11n feature , so maybe it's the différence with my previous router which only supported 802.11g or maybe it was due to an IP conflict, traffic issue, I don't know...But now that my HD2 has its own dedicated AP, with its own IP sub network, it works perfectly fine, even with non-sense builds.
But anyway, if someone can find a solution for other dudes with the same problem, it would be cool, that is why I'll let this thread hanging around and matbe update it from time to time, since, even if a workaround has been found, the real issue hasn't been really fixed yet.
Thanks everybody for helping and goodluck to others.
It's unlikely any of the ROM programmers will come here.
Do you have a firewall installed?
I was having similar problems before with data/wifi working on some builds and not others but then I figured out it was DroidWall - it was behaving differently on different builds. On some builds, I had to "allow all" in the "white list" in order for data to work.
pkchips said:
It's unlikely any of the ROM programmers will come here.
Do you have a firewall installed?
I was having similar problems before with data/wifi working on some builds and not others but then I figured out it was DroidWall - it was behaving differently on different builds. On some builds, I had to "allow all" in the "white list" in order for data to work.
Click to expand...
Click to collapse
No, I don't have any firewall installed. And I have DMZed the IP obtained by my HD2...
Actually, on these builds, wifi NEVER WORKED, blank data.img no app installed, nothing at all...
Suggested by RedWave31 :
About your problem, seems ur having conflicts about either build.prop, or modules.
One solution i thought about:
- Launch a sense build in wich the wifi works
- Go into system/lib/modules and backup all files in there
- Launch the CM6.1 build
- Replace the cm6 modules with the sense modules
- chmod 777* the folder
- reboot and try
>This may take time like 15 minutes, but for now, it's the only solution that came to my mind
Click to expand...
Click to collapse
My answer :
Thx, I'll add it to my thread (to remember it). I will try to apply solution when I have several suggestions, but I think it won't changer anything : I have already tried to change the kernel on RAM builds, with RAM compliant Hastarin 8.6 with CIFS, copied the bcm.ko and tun.ko modules, and it did not fix the issue...
Click to expand...
Click to collapse
I have also tried to modify build.prop's DNS with google public DNS,no success...
The wifi did not work for me on the CM 1.02 NAND build either, it just said error even tho 1.02 was supposed to fix the wifi lol
i dont think its your phone, iv had on and off wifi issues with every rom sense or not since i began using android builds on my HD2.
and dont even get me started on bluetooth !! I ended up switching to a HTC Desire until just recently NAND came out. Still then i had no wifi on the CM 1.02 NAND build
Nexus wifi worked and MDJ gingerbread wifi and bluetooth worked for me
Visentinel said:
The wifi did not work for me on the CM 1.02 NAND build either, it just said error even tho 1.02 was supposed to fix the wifi lol
i dont think its your phone, iv had on and off wifi issues with every rom sense or not since i began using android builds on my HD2.
and dont even get me started on bluetooth !! I ended up switching to a HTC Desire until just recently NAND came out. Still then i had no wifi on the CM 1.02 NAND build
Nexus wifi worked and MDJ gingerbread wifi and bluetooth worked for me
Click to expand...
Click to collapse
I NEVER had ANY problem with wifi, using more than 10 different builds, Sense and non Sense, for months until sending my phone to RMA for...wifi issue (on Android and Winmo).
So I'm kind of sure it is related...
Tried JAWS' MIUI nand build, and JMDS ultimate build, same issue...
Help please !
I think your issue is the age old RMNET vs PPP builds. Using 3.14 rom and radio 2.15, you should be using a PPP build, which is why I think only those that use PPP, which I believe is only the Desire Builds, is what is causing your issues. But I'm only taking a stab in the dark with one, because I Jaws MIUI is working just fine for me, and i had both 3.14 rom and 2.15 radio, and everything works just fine. If the other builds are working, then why not just use those till something else comes out?
My problem is about WIFI man c'mon, did you even read my first post?
And it's not a winmo version problem or a radio problem : I had switched to chuckydroid and radio 2.10.50.28_2 before flashing MAGLDR....And problem was the same.
Thanks for trying to help really. But I think it is a very specific issue : if twas not, I surely wouldn't have opened a thread about it...
Sent from my HTC HD2 using XDA App
well its certainly not sense vs non-sense problem. it could be a number of issues, one of them possibly being a kernal issue with specific builds. NAND is still very buggy right now, with lots of problems popping up that people didn't expect, so if you find one that works and really want NAND then use the one that works, pretty simple. I can tell you its not a hardware problem because if it was, it wouldn't work on anything, sense or non-sense, sd, ram, or nand build.
@ OP I have the the same problem. Check out the thread I started. Tell me if this is the same problem your having. Been dealing with this forever. http://forum.xda-developers.com/showthread.php?t=879482 I want to fix this problem once and for all.
try this :
when u connected to wifi
check gateway ip and dns
i believe for ip u already have a correct one because you can ping your router, but if gateway and dns has wrong value then data from wifi will not work..
to do that, run terminal or adb shell from ur pc, type :
#busybox ifconfig
find wlan0 and look at ip and gateway
#getprop net.dns1
#getprop net.dns2
this dns value must match with your router dns value (or whatever the internet provider backbone in ur router)
the easy way to look at ur dns router is by looking at status network conection in control panel..
Beretta93 said:
Hello,
I open a thread to describe my problem since nobody could help me until now. I guess this must be an advanced problem, because I don't think I'm noob enough to have screwed something up.
So fisrt of all, the background :
Had a problem with wifi after a fall: low range, crappy bandwith, disconnected all the time
Sent my phone to RMA service TWICE : not fixed in the first time, some hardware piece changed the second time
Got back my phone : firmware updated to 3.14, radio 2.15, wifi working perfectly under WinMo
From there, it gets complicated. At first, I decide to try my old cedsmith sense build, the first with new initrd.gz : wifi works fine
Then I try Darkstone froyo RAM build : wifi connects, gets an IP (I see my device from my router's control pannel), BUT NO DATA, market, browser, web apps won't load...
Then I go to cedsmith's desire HD build (not RAM) : wifi works fine...
Then I decide to try MIUI Star RAM build : wifi works for 2 day, with data freezes and timeouts, then it do not work anymore...same problem as Darkstone's RAM build.
Then NAND arrives :
I try DFT Desire build : wifi ok
I try Gauner1986 Desire HD build : wifi ok
I try CM6.1 build : wifi not ok
I try tytung's Nexus build : wifi not ok
Now I'm back to DFT's desire build, and wifi works perfectly.
So after processing data in my mind, the main common factor in working build is Sense, and no Sense for non working builds...
May I assume that HTC RMA service may have replaced some wifi chipset or antenna for a different one, working with only with HTC builds because they have specific drivers?
I have tried to ping from non working builds with Terminal Emulator :
Router is fine (192.168.0.1 : every packet is transmitted)
www.google.com is not fine (around 1 packet off 5 is transmitted...)
I have an european HD2 with 512Mo of internal storage, so I would like to be able to use non sense build, essentially for space matter...To conclude, I have to questions, mostly for programmers since this is an advanced issue : what do you think my problem is, and what can I do to to fix it...if it can be fixed?
Thank you for your help.
Click to expand...
Click to collapse
I had the same problem than you and fixed it.
Go in advanced wifi settings and click on 14channel wifi regulator
zachmerrill504 said:
well its certainly not sense vs non-sense problem. it could be a number of issues, one of them possibly being a kernal issue with specific builds. NAND is still very buggy right now, with lots of problems popping up that people didn't expect, so if you find one that works and really want NAND then use the one that works, pretty simple. I can tell you its not a hardware problem because if it was, it wouldn't work on anything, sense or non-sense, sd, ram, or nand build.
Click to expand...
Click to collapse
It has nothing to do with NAND, it occured before MAGLDR's release. You can tell me it's not a hardware problem without even reading my first post? How do you know it's not a driver problem, which is hardware related?
Please, this kind of advice won't help, thank you for bothering but do not anymore.
Regards.
mattfmartin said:
@ OP I have the the same problem. Check out the thread I started. Tell me if this is the same problem your having. Been dealing with this forever. http://forum.xda-developers.com/showthread.php?t=879482 I want to fix this problem once and for all.
Click to expand...
Click to collapse
I've read your thread. It seems like a similar issue, but it's not quite the same. For me, even browser is not working, the loading bar is stuck at the very beginning.
The only proof of connexion Icould get was this ping to google, 1 packet of 5 reaching destination, and I with speed test, like 3 to 4 minutes after launch, I could get the button "Begin test". The results were 999 for the ping, -0kb for the download, and for upload, I had some positive, like 20 to 50kb. But the test was very long...
So it makes me conclude that it's not quite the same issue...
lesjaw said:
try this :
when u connected to wifi
check gateway ip and dns
i believe for ip u already have a correct one because you can ping your router, but if gateway and dns has wrong value then data from wifi will not work..
to do that, run terminal or adb shell from ur pc, type :
#busybox ifconfig
find wlan0 and look at ip and gateway
#getprop net.dns1
#getprop net.dns2
this dns value must match with your router dns value (or whatever the internet provider backbone in ur router)
the easy way to look at ur dns router is by looking at status network conection in control panel..
Click to expand...
Click to collapse
I thought it might be a DNS problem, but since I've modified the build.prop with google DNS values, I assumed that it should have settled it. For the gateway, since I can ping 192.168.0.1, gateway must be correctly set up right?
I'll test your idea and will let you know the results. Thank you for helping.
asphaltkiller said:
I had the same problem than you and fixed it.
Go in advanced wifi settings and click on 14channel wifi regulator
Click to expand...
Click to collapse
I already did that and it solved nothing. But thanks for helping.
lesjaw said:
try this :
when u connected to wifi
check gateway ip and dns
i believe for ip u already have a correct one because you can ping your router, but if gateway and dns has wrong value then data from wifi will not work..
to do that, run terminal or adb shell from ur pc, type :
#busybox ifconfig
find wlan0 and look at ip and gateway
#getprop net.dns1
#getprop net.dns2
this dns value must match with your router dns value (or whatever the internet provider backbone in ur router)
the easy way to look at ur dns router is by looking at status network conection in control panel..
Click to expand...
Click to collapse
DAMN I can't believe it ! Wifi worked for like ONE hour ! Then plop, went bugging again !
I flashed MDJ Froyo Revolution, then in order to check your idea, went back to tytung's Nexus NAND, and wifi worked ! Then I went to JMDS build, and wifi worked again at first, but when I tried to connect later, bug was back !
So I checked your commands, DNS displayed is the one of my provider (even if the build.prop is different), and gateway is strange : 192.168.0.255 instead of 192.168.0.1, but the fact is that I did the same thing with fully working sens build, and result was the same...
I'm getting more and more confused there.
So...any idea?
Help...Please guys....

Categories

Resources