yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
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:

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:

Just read about ADB (Android Debug Bridge) briefly. I think this will be a bit out of my league. O.o 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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jinharry:
Same issue

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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shushunmire:
Hell, I can't even get my Wifi working at all. Darkstones V1... Wifi just says "Error". Have the latest zImage, and everything. :/
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jibbz:
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
[HD2 Android Q&A, Help & Troubleshooting and Genera] Richy99:
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
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ducter:
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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Richy99:
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
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
Didn't help :( Thanks for suggestion though.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tilleke:
unless it has changed recently, all HD2-android builds are using the same MAC-address. So this could very well be your problem.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Shushunmire:
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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hcnimda:
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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
I doubt it's a router problem since all other devices work perfectly.
[HD2 Android Q&A, Help & Troubleshooting and Genera] boyhandsome:
same issue, please give your attention, developers, thanks.
[HD2 Android Q&A, Help & Troubleshooting and Genera] snozze:
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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] wibblewobbles:
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.
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
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?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Richy99:
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
[HD2 Android Q&A, Help & Troubleshooting and Genera] kaymado:
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 :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
Fyi all I tried the g only thing too. Did not work for me.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Jallamann:
Hi,

I had the same problem. It turned out to be a setting in my router, it was set to use internal DNS. Switching that off did the trick for me. :-)

I use a WRT54GL with Tomato-firmware btw.

Thanks alot to the chefs and others for making Android available to us!
[HD2 Android Q&A, Help & Troubleshooting and Genera] ams84:
i have problem with connect Android on my HD2 with wifi at home... it showes Connected but nothing..., and when i'm back to WM it's working 100%... but in other places I can use wi-fi with Android on my HD2, and surfing right away ... only home ... take more time before I can surfing :(!!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Jallamann:
@ams84

Check the settings in the router, e.g. DNS-settings...

I had the exact same problem as you have.
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
Do you have a way to test that without enabling the DHCP? If I enable DHCP, I can setup DNS setttings. Then I can point it to the proper gateway/router. It still doesn't work though. If I disable DHCP, DNS settings are greyed out.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Jallamann:
I didn't change any of the settings on the Android.

I have a setting in the router (Advanced-DHCP/DNS in the Tomato-firmware). It is called "use internal DNS" and if it is enabled the Android is not able to resolve urls. But when i disabled this setting everything is working perfect. I figured it had to be something with my router as the Android always worked ok on other networks, as long as it got connected.

Hope you can figure out the right settings in your router.

btw. what kind of router do you use?
[HD2 Android Q&A, Help & Troubleshooting and Genera] boyhandsome:
Hi, i change to matto with sense 1.5b, now WIFI is stable. i have WIFI problem with matto nexus one build.
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
Just tried Mattc's Nexus Leo 1.1. Still have bug. :/
[HD2 Android Q&A, Help & Troubleshooting and Genera] tenaciousmetal:
hello,

does anyone knows if it's confirmed that proxy service cannot be setted in froyo?

i've read somewhere about this problem.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jenol:
I think I have a solution. I was having the same problem. I think it all has to do with the format of the SD card. Left over reminents of other builds on the ext. Of the card. I used ubuntu Linux to format the card to fat and removed the ext extension reformated to fat 32 in Windows let Android rebuild the data store and ext now my WiFi flys hope this helps.
[HD2 Android Q&A, Help & Troubleshooting and Genera] loney_frsu:
also have the same problem work 100% can't browse
[HD2 Android Q&A, Help & Troubleshooting and Genera] archaeopterix:
I have the same problem.......any solution?
[HD2 Android Q&A, Help & Troubleshooting and Genera] archaeopterix:
Same issue with dlink 635
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
I thought it kind of odd that there would be an ext section on the card since it's formatted in FAT32 (and not FAT32 with ext). But, I booted an Ubuntu live cd and popped in the SD card. No ext section.

I backed up my Android folder and then formatted the card in Ubuntu anyway being sure to select plain FAT32 (no ext). I then booted back into Windows, formatted the card again.

I copied the Android folder back over to the SD Card. Booted the phone to Chucky then Android. Tested Wifi, still no love. So, I don't think it's a problem with the SD card or hidden partitions or such.

I'm still pretty sure it's a problem with the wifi drivers/coding.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mikelt89:
No fix?

The problem is not related to the router setting - its something within the registry of the system.

So far I tried two different rom types (froyo 2.2 18.8 & maatc + froyo 17.8 - current) no luck with any of them so it is something with android build itself.

Interesting so many people having this including me and no fix yet?
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
Mike, I'm betting it's something either in the Wifi code itself or the DNS portion of the TCP/IP stack. Like I said in more detail in my first post, it works on some networks but not all (like my home and work).

If I could find a proper trace route app to run on the phone, I could (probably) figure out where the problem is relatively quickly. Networking stuff is what I do. :/
[HD2 Android Q&A, Help & Troubleshooting and Genera] vessk0:
I have the same problem. The browsing speed is so low, that it lasts with a connection error. But time to time I can login in Google! :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
Got this from another thread. Won't be able to test it for another 2 hours though.

1. download http://oe.netripper.com/files/htcleo..._123001-htcleo - rename the file to zimage - and replace the one from Android folder

2. download http://oe.netripper.com/files/htcleo...001-htcleo.tgz - extract the files and copy "bcm4329.ko" and "tun.ko" to let say drive C

3. download android sdk (if you dont have already)

4.connect phone to pc

5. Start cmd in windows , and type "C:\android-sdk-windows\tools\adb.exe push C:\bcm4329.ko /system/lib/modules/bcm4329.ko" - without quotes "

6.type "C:\android-sdk-windows\tools\adb.exe push C:\tun.ko /system/lib/modules/bcm4329.ko" - without quotes "

(if android sdk is in drive C, if not modify with your sdk location)

I recommend 23 zimage, the one from 24 has some issues.
[HD2 Android Q&A, Help & Troubleshooting and Genera] kai_:
I also have this problem.

The strange thing is that this problem

doesn't

exist on the very much earlier versions of android such as FroyoStone, mattc's Froyo 1.4, etc.

It all started to go horribly wrong for wifi on the newer Shubcraft 1.4x, HD2Froyo V2.1, etc.

To make sure that I wasn't going completely mad, I actually went back to FroyoStone to test out the wifi and it was as speedy as anything and working well. As soon as I moved to Shubcraft, the wifi died again.

However, I think I found a solution to it and it is definitely something to do with the way dns is handled. In my router (I have a netgear d series running DGTeam firmware), if I disable "Enable DNS Server list over DHCP", under "Advanced DHCP Settings", the wifi works on the newer android builds.

According to the description in DGTeam:

Enable DNS Server list over DHCP

Enable this option if you want the DHCP to relay the entire DNS Server resolv list instead of Router's LAN ip address only.
Note: this setting will have effect only if Get Automatically From ISP has been choosen before.

I guess the current driver seems to have trouble with multiply defined dns server addresses?
[HD2 Android Q&A, Help & Troubleshooting and Genera] one2one69:
wifi issues

I agree with last post.

Since the latest ROM release, the wifi handling has been messed up (I've tested all the release of the last 2 weeks).

Using old ROM releases (such Desire V5) wifi works flawlessly.

I think the developers should have a deep look into it.

regards
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
http://xdaforums.com/showthread.php?t=747492

FroyoStone v2 has working WiFi for me at work. Haven't been able to test at home. Someone else give it a try and see if it fixes it for you?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Gary.M:
I'm running Shubcraft 1.5, and updated the kernel and all modules to the latest as of 1 Sept. Since that Wi-fi has been entirely free of problems. With Shubcrafts builds the change is easy. Just replace the zImage and put all *.ko module files (I found 8 of them) into the /root/system/lib/modules folder under the Android folder in use on the SD Card. Reboot.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jinharry:
Wi-fi Issues

We seemed to have confirmed that the issue is with the DNS. I am currently using Shubcraft 1.4c, which is the ONLY version that seems to work with my router and BT. I have tried every other release, including Shubcraft 1.5 and they all have the same issue. Interestingly the internet connection works very well with the speedtest app from the market. I am assuming it doesn't use DNS to locate the test sites. My router's DHCP setting options are pretty limited, so I'm going to try using fixed IP addresses, but that will require resetting every PC in my home to fixed IP addresses...to be continued

[Updated results ] I tried setting to a fixed IP address and now the wifi won't connect at all. So I'm back to Shubcraft 1.4c until someone comes up with a fix from the Android side (I'm not going to replace my router)
[HD2 Android Q&A, Help & Troubleshooting and Genera] jinharry:
Updating to 1.5?

Maybe I mis-understood your directions. I took my 1.4c and replaced ONLY the zImage (latest 1.5 version) in my Android sub directory and re-booted. Now I can't get my Wifi to connect at all - I get "Error". BTW I only had two .ko files - tun.ko and bcm4329.ko. What others did you have?

Thanks,
[HD2 Android Q&A, Help & Troubleshooting and Genera] htc-hd2:
I had the same problem until I added the mac address of the phone (00:11:22:33:44:55) to the MAC Address Filter.

I forgot that I had the MAC Address Filter set :-(
[HD2 Android Q&A, Help & Troubleshooting and Genera] jinharry:
It's the router...

Updated

[I dug up an old D-Link router (Gaming Router) and connected it to my existing router (cascaded), set the IP to another range and now version 1.5 works! I don't know why but some routers and their DNS just don't work with Android (yet). Every tool I could find in the Market says that the IP setting are OK, but some routers don't get along...
[HD2 Android Q&A, Help & Troubleshooting and Genera] nIghtorius:
be sure if you update your zImage, you also need to update the modules in the system.ext2 file. otherwise WiFi or any other separate module that worked with the stock zImage refuses to work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
I use DLink Gaming Lounge routers. At work, it works fine. At home, not so much. I've edited my first original post with a bit more detail.
[HD2 Android Q&A, Help & Troubleshooting and Genera] echardcore:
Yea. I use MAC filtering on my WiFi Linksys Wrt54g2 with DD-WRT and I finally realized that the MAC of the Android is 11:22:33:44:55:66. Any way to change this?
[HD2 Android Q&A, Help & Troubleshooting and Genera] newkevinl:
try to set a static IP address for your android
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
http://xdaforums.com/showthread.php?t=768768

Used HTCClay's SuperHD version 1.3. WiFi now works (sort of). I can browse web, but I can't browse LAN (local network). A step in the right direction!

Bangsters works as well. 1.3b.

NOTE: When I first turned on WiFi, it didn't work. I left WiFi turned on, then powered off phone and powered it back up. When it came up, WiFi worked.
[HD2 Android Q&A, Help & Troubleshooting and Genera] kuwait:
I also have problem with WiFi in my house. Android does not see it at all. The name of my WiFi does not appear in the wifi devices list. Meanwhile the wifi devices of my neighbors 3-4 pieces with weak signal appears in the list. WM works with my WiFi without any problems as well as my laptop and the laptop of my wife. The signal is 100% strong on them. I tried a number of Androide builds and no one can see it.

Any advise will be highly appreciated.
[HD2 Android Q&A, Help & Troubleshooting and Genera] FreakyFerret:
Not sure about not being able to see the router at all.

I've found that if I follow these steps, wifi works:

1) Connect to WiFi network. Nothing will work. Stay connected.

2) Power off phone

3) Power on phone. WiFi will work. If I turn off wifi again though, I can't turn it back on. Have to turn it on then reboot phone.