[Urgent] WiFi problem - General Questions and Answers

I can connect the the network, I can browse the internet for a few mins, but then I start getting DNS errors.
The WiFi is still connected, but NO webpage will open. I can still open my modem's page (192.168.1.1), but anything that involved DNS won't work.
Please help me solve this. I'm on an Elfin running WM6.5.3 (Onyx ROM). No one else using that rom is having this problem.
Thanks.

tried various wifi routers? i.e., go to friends houses and try there..?
can other wifi devices use dns when yours stops working?

Yeah, my laptop works fine. I've tried this at many places, same problem.

I flashed to a previous ROM version, another ROM, hard resetted, nothing solves this.

Partial wifi solution
cyanide911 said:
I flashed to a previous ROM version, another ROM, hard resetted, nothing solves this.
Click to expand...
Click to collapse
I have the same issue on [08.02.2010][ROM][PLK][WM 6.5 BULID 21891] eXperience V 10 FINALES. After soft reset / swiching off/on wifi doesnt work. It shows up gree field as connected but now opening web pages, nor getting emails etc. No program can use internet.
I found that there is no wifi connection "mini tower" on the top bar. The problem is "solved" when I open wifi card settings, and temporary write static Ip. After ok, and after coming back to properties and changing to dynamic (dhcp) again it starts to move.
I also noticed strange IP being in the static Ip field it says something like f1::f1f3...etc. So dummy IP adres with hexadecimal code.

lozrog said:
I have the same issue on [08.02.2010][ROM][PLK][WM 6.5 BULID 21891] eXperience V 10 FINALES. After soft reset / swiching off/on wifi doesnt work. It shows up gree field as connected but now opening web pages, nor getting emails etc. No program can use internet.
I found that there is no wifi connection "mini tower" on the top bar. The problem is "solved" when I open wifi card settings, and temporary write static Ip. After ok, and after coming back to properties and changing to dynamic (dhcp) again it starts to move.
I also noticed strange IP being in the static Ip field it says something like f1::f1f3...etc. So dummy IP adres with hexadecimal code.
Click to expand...
Click to collapse
its called ipv6

Related

[Q] Motorola Milestone - help with WiFi connection

Hi,
Recently I had occasion to do a hard reset of my Milestone. I had used Universal Androot and then tried to install an Apps2SD application called App2Card. Unfortunately, things got a bit screwed up and I had to do a hard reset.
Post that, everything else works fine but the WiFi refuses to connect. It finds the various APs around but always says "Obtaining IP address from XXX..." and then "Connection failed". I tried resetting it again but this problem still persists. Tried it on my home network, office network, without security, etc but still no luck. I tried assigning a fixed IP address too, along with all the settings required. This works (as in, the WiFi icon appears on the taskbar, it says it is connected) but I can't surf or use any application that needs internet connectivity.
It used to connect to both home and office networks perfectly before. There have been no security or other setting changes on either of these networks. I also tried some open public WiFi networks, but the same problem persists.
Till this event occurred, I have been using WiFi on my home and office network with no problem at all. So it can't be a network issue.
Does anyone have any suggestions I can try? Any help appreciated!
Motorola Milestone
Android Version: 2.1
Firmware: 2.1 -update1
Build: SHOLS_U2_02.36.0

[Q] Some problem with wifi connections on Desire S

Hi, I'm a new user, and therefore can not write in the subject line of the developer. Solution is not found so I ask here.
When you connect to WiFi can not connect. Access point settings on display to automatically issue ip. Phone wrote: get ip address. nothing else happens
I tried to configure a static ip address: I find the network enter the password, there is a Connection of 2-3 seconds and then the phone WiFi off and then turn on and so is repeated until you delete the network.
sometimes connected.
What's happend?
HTC Desire S
Rom: IceColdSandwich 5.0
This problem was on:IceColdSandwich 4.2,4.3b
DenisVasilenko said:
Hi, I'm a new user, and therefore can not write in the subject line of the developer. Solution is not found so I ask here.
When you connect to WiFi can not connect. Access point settings on display to automatically issue ip. Phone wrote: get ip address. nothing else happens
I tried to configure a static ip address: I find the network enter the password, there is a Connection of 2-3 seconds and then the phone WiFi off and then turn on and so is repeated until you delete the network.
sometimes connected.
What's happend?
HTC Desire S
Rom: IceColdSandwich 5.0
This problem was on:IceColdSandwich 4.2,4.3b
Click to expand...
Click to collapse
Hey I'm using the same ROM like you. Try to restart your wifi hotspot or router. I think this will solve your problem. Also you could try to clean install the ROM (wipe etc..) And use the latest 5.1.
Your wifi should work then
Sent by my fingers to your head.
Hi all!
I'm having some problems with Wifi on my DS.
I have installed a wifi fix zip which I shouldn't have (unfortunately I didn't read the whole post...) Here's the post: http://forum.xda-developers.com/showthread.php?t=1051674
After installing I have stucked at the HTC logo, after a few retries and backups it has succesfully booted. But now I couldn't see my wifi at home but it still works at other places (like at work). I tried to add the home network manually by typing the SSID and password but nothing...
Any suggestions? Can i uninstall the zip or overwrite it somehow? As it works at other places I think it has just screwed up some settings.
Thank you in advance...
(BTW I have Reaper v3.0)
You should just reflash the reaper ROM.. Will sort you out.. I can understand why you would want that fix... The desire s wifi chip is crap... I've got a 100mb connection when wired in to my pc... If I walk 20 yards away into the kitchen my wifi loses the hub... HTC should put better wifi chips on their phones
Sent from my Reaper 3.0 Desire S using xda premium

One XL Telstra. WiFi Issues after Jelly Bean update

I installed Jelly Bean update with Sense 4+ on Christmas eve. Since then my WiFi connects but when I got to use data, say email internet or even some apps it says no data connection. The WiFi symbol is active in status bar showing full bars.
I'm hoping someone has some ideas as I'm having no luck. Thanks
I've still been working at this. I've logged into my modem/ router and it recognise my phone on a wireless connection.
I've deleted and reconnected my connection on the phone. Re booted phone and modem several times.
I've yet to try my phone on another network. But my laptop connects to WiFi ok and phone was working fine untill the update.
DylanRB said:
I've still been working at this. I've logged into my modem/ router and it recognise my phone on a wireless connection.
I've deleted and reconnected my connection on the phone. Re booted phone and modem several times.
I've yet to try my phone on another network. But my laptop connects to WiFi ok and phone was working fine untill the update.
Click to expand...
Click to collapse
Sounds identical to this guy:
http://forum.xda-developers.com/showthread.php?t=2070160
Maybe you guys can continue within 1 thread?
Once again sounds like a DNS problem.
Try to prove that your handset has correct DNS settings. Also try to find something you 2 have in common with your setup. Is it the same ISP, same modem, same whatever?
Maybe ring Telstra and ask them?
DylanRB said:
I installed Jelly Bean update with Sense 4+ on Christmas eve. Since then my WiFi connects but when I got to use data, say email internet or even some apps it says no data connection. The WiFi symbol is active in status bar showing full bars.
I'm hoping someone has some ideas as I'm having no luck. Thanks
Click to expand...
Click to collapse
I found that I had the same issue and downloaded WiFi Manager and changed my DNS/Gateway settings. This fixed the problem. I'm not too sure what may have caused the problem initially but I do know my router uses 192.168.1.254 as its address. This could have something to do with it however this is just a theory.
GingerNinja88 said:
I found that I had the same issue and downloaded WiFi Manager and changed my DNS/Gateway settings. This fixed the problem. I'm not too sure what may have caused the problem initially but I do know my router uses 192.168.1.254 as its address. This could have something to do with it however this is just a theory.
Click to expand...
Click to collapse
I changed my gateway settings, which had defaulted to something completely wrong, and can confirm it fixed accessing the net for me to, thanks!
I just downloaded WiFi manager (I'm having the same problem). Any idea what I do from here? I'm using a Netgear router, and I can still connect to the modem settings on 192.168.0.1 but that's all.
vlad11 said:
I just downloaded WiFi manager (I'm having the same problem). Any idea what I do from here? I'm using a Netgear router, and I can still connect to the modem settings on 192.168.0.1 but that's all.
Click to expand...
Click to collapse
I didn't find wifi manager to be any help with the problem specifically. But changing the gateway worked for me.
Settings > Wifi > Long Press on network > Modify > Show advanced options > IP Settings > Static >
Then I scrolled to Gateway, where I removed the existing numbers and entered the IP address of my modem (not router, unless its an modem/router combo).
Leaving all other settings as they were, this worked fine for me. I don't know if you may also need to change DNS 1, or if you will have to configure a static IP on your router, but I didn't. Hope that helps
Aloysius496 said:
I didn't find wifi manager to be any help with the problem specifically. But changing the gateway worked for me.
Settings > Wifi > Long Press on network > Modify > Show advanced options > IP Settings > Static >
Then I scrolled to Gateway, where I removed the existing numbers and entered the IP address of my modem (not router, unless its an modem/router combo).
Leaving all other settings as they were, this worked fine for me. I don't know if you may also need to change DNS 1, or if you will have to configure a static IP on your router, but I didn't. Hope that helps
Click to expand...
Click to collapse
I just went all out and changed all settings, including setting a static IP. After dealing with Tech Support, "factory reset your device to isolate issue" I just wanted to attack every possibility. It seems from previous posts this may just be a Gateway issue. I should have known to long-press on the network to access advanced options. Amateur error.

ViperS 5.1.0 causing arp poisoning on wlan

Hello everybody, this is my first post here but I have been reading the ViperS threads in the development forum since version 2. Awesome rom, I really like it.
However, I have encountered an issue with ViperS 5.1.0 . I would like someone else confirm if this is happening on his sensation too (with ViperS 5.1.0), because its a very annoying bug, and a potential security flaw.
A few days ago I installed ViperS 5.1.0 (from full wipe and no restoring of backups, clean install), and shortly afterwards I noticed that my home computers in my LAN (ethernet and wifi), where having some kind of little micro-cuts in communication with the internet, especially noticeable with google and youtube autocomplete feature and things like that. The communication completely stops for a few seconds, then resumes and works perfectly until a couple of minutes (sometimes less), and it happens again.
I checked my network with a packet sniffer, and found the culprit to be the Sensation. This is what happens:
I have wifi set to always active on the phone and, when the phone is left suspended with screen off, after a little while it begins to send bogus ARP protocol broadcast packets announcing that it has a random (and incorrect) IP associated to his wlan mac. It repeats it again with several other random IPs over time, and sometimes it also says via ARP that it has the same IP as my home router. In that case, it causes all computers and devices on the network, to try to access the internet via the Sensation's wlan card mac, which obviously fails, causing the micro-cuts. After a few seconds, the router sends the correct ARP information and the computers can access the internet again. This is very similar to an ARP spoof attack, but I can't see why the phone is doing it.
It's only happening with ViperS 5.1.0. I have tried disabling ad away and also tried to connect with a fixed IP instead of DHCP, but it keeps happening.
I have attached a screenshot to show the problem.
PD: On other subject, the wifi is buggy when changing access points in the same WLAN (I have 2 APs at home), it turns off, activates mobile data, and then turns wifi on again, taking a long while to do it. In ViperS 3, it just went from one access point to the other without disconnecting. This is a secondary thing, I can live with it, but I thought I should say it just in case it's a easy thing to solve for the devs.
Thanks for your time! I really appreciate your work. :good:
I have been trying to do a packet capture in the phone, and tried to find something in the logs, but I can't see anything. Could this be related to the wifi drivers? Since ARP protocol is in link layer, I can't think of anything else.
Also the other day I connected to a wifi network in other place, and it completely crashed the router, no one else could connect.
@ivicask , I would really appreciate it if you can have a look at this. Because of it, at the moment I'm using mobile data only even at home, and I'm going to use it up pretty quickly
Thanks in advance :good:
raulov said:
I have been trying to do a packet capture in the phone, and tried to find something in the logs, but I can't see anything. Could this be related to the wifi drivers? Since ARP protocol is in link layer, I can't think of anything else.
Also the other day I connected to a wifi network in other place, and it completely crashed the router, no one else could connect.
@ivicask , I would really appreciate it if you can have a look at this. Because of it, at the moment I'm using mobile data only even at home, and I'm going to use it up pretty quickly
Thanks in advance :good:
Click to expand...
Click to collapse
I have been using ViperS for a while, and I it certainly isn't ARP poisoning the network.
Try setting a static IP (set it to that alloted by your DHCP) and see if the issue persists.
Happy to help.
Far_SighT said:
I have been using ViperS for a while, and I it certainly isn't ARP poisoning the network.
Try setting a static IP (set it to that alloted by your DHCP) and see if the issue persists.
Happy to help.
Click to expand...
Click to collapse
That's the first thing I tried, it didn't help.
I have googled it and seems there are some problems with the ARP offload feature in the wifi chip drivers, and several phones have suffered it, the nexus 4 and some HTC devices. A lot of people have reported it in the google code forums.
The thing is that it didn't happen to me in previous ViperS 5.0.0, so something must have been changed in the rom that it's causing it. Do you know where I could look? Maybe it's just something wrong in a config file and can be easily solved.
raulov said:
That's the first thing I tried, it didn't help.
I have googled it and seems there are some problems with the ARP offload feature in the wifi chip drivers, and several phones have suffered it, the nexus 4 and some HTC devices. A lot of people have reported it in the google code forums.
The thing is that it didn't happen to me in previous ViperS 5.0.0, so something must have been changed in the rom that it's causing it. Do you know where I could look? Maybe it's just something wrong in a config file and can be easily solved.
Click to expand...
Click to collapse
While I may not know I shall still try to help once I am home I will quote your post into the correct ROM thread to see if the devs/power users of this ROM can help out
Sent from my HTC Sensation using Tapatalk
ok im posting it now, can you get a logcat to supply to the devs please?
Yes i saw this, but as only person with this problem, i didint investigate. There can be many reasons this is happening to you, but most likely its problem in your own network/routers. My suggestion is first try updating your routers firmware, if there isnt new firmware, just try resting them to factory default and re configure them. I have actual experience with this, my DIR-655 couldn't connect in wifi N mode until i reseted it.
Also HTC ONE users had problems with Dir -655 where it would reboot if HTC one would connect to it (Firmware issue).
Also from your pics i see "duplicate use of 192.168.1.1", are you running 2 routers on same network with same ip address??Than this is the reason of your problems, you cant have 2 devices with same IP in same network, even worse will happen if those 2 devices are actual routers, or even worse if both of them are running DHCP.So re-check your network, make sure only 1 DHCP is running, and there are no devices with same fixed IP address.
Also here are to 2 tests for phone with different wifi supplicant versions, try them ONLY after you make sure your network is fine.
View attachment Test1.zip
View attachment Test2.zip
EDIT:About wifi switching, same thing happens on my ONEX+ ...
ivicask said:
Also from your pics i see "duplicate use of 192.168.1.1", are you running 2 routers on same network with same ip address??Than this is the reason of your problems, you cant have 2 devices with same IP in same network, even worse will happen if those 2 devices are actual routers, or even worse if both of them are running DHCP.So re-check your network, make sure only 1 DHCP is running, and there are no devices with same fixed IP address.
Click to expand...
Click to collapse
Thanks for your answer. The "duplicate use of 192.168.1.1" is exactly the problem, I know that (I am a telecomms tech, I know how this works )
The matter is that the device that is claiming to have the same IP as the router... is the Sensation! See the "source" column in the pic.
I have only one router. Everything is properly configured in the network, the issue only appears when the sensation is connected to wifi AND with screen off. Then it starts sending the false random ARP packets.
Apart from the "router impostor" packets, there is also the problem that over time the other random packets will fill up the ARP tables in the router memory, causing it to hang, although this hasnĀ“t yet happened to me.
In the threads I saw in the google code forums, people reported the same thing for the nexus 4 and several newer HTC devices with the same broadcom chip, (which also caused notification delays) and said that it disappears when disabling "wifi optimization" (with the rise in battery drain that it implies) , which looks like a bug somewhere in the wifi drivers. Unfortunately, disabling that option does not change anything for me.
This has started happening in 5.1.0. Never had such a problem before.
Thanks for the files, I will try them and report results.
Except for this and a weird bug with h/w accelerated videos screen corruption when free memory less than ~90 mb, the ROM is absolutely awesome :good: . It feels much faster and lighter than previous versions. You devs are doing a very good job :good:. HTC should hire you!
OK, problem solved. The test2 file solved it.
With test 1, it stopped sending random IPs in the ARP packets, but instead claimed to have 0.0.0.0 always, and not the correct IP. Also, it couldn't see channel 13 which I'm using on one of my access points (probably region was set to USA in this file).
With test 2, the ARP packets report the correct assigned IP (via DHCP and fixed), it can see all the wifi channels, and everything works perfect. It also appears to be changing from one AP to the other without disconnecting the wifi. This is the correct way it should work.
Still don't know the need to send the ARP info each 15 seconds , but at least now it's correct and there are no problems.
Thank you very much for your help @ivicask , I have seen that the wpa supplicant in the files you posted has an older date, is it just an older version or have you changed something in them also?
Will you include this fix in the next version of ViperS?
Thanks again :good:
Same for me. Killed my router. Especially if downloading at high speed. My router went upp and down. Now I have on other phone and my senny runs stock. No problems att all.
Flashed Viper to check 3min then router died. (it reboots)
Thanks
I couldnt neither write in the original post. By the way, i have the same problem with my wifi conection.
Now i solved it with Test2.zip. I have european wifi too and my router see fine now.
Thanks a lot for this rom and the help.
I didn't notice any particular issues with my WiFi, but I was having the disconnecting behaviour when switching between APs.
The Test2.zip solved this.
More, I tested the received power with Netgear Wifi Analyzer in an already tested place in my home. After applying the Test2.zip it looks like I gained ~10dBm. Maybe it's just something casual, but I wanted to report.
Last. The wpasupplicant file in the Test2.zip has the same modification time as the one in ViperSC2_3.1.4, so I think it has been taken from there
Good job anyway :good:

[Completed] [Q] Seems to be problem with DNS lookup in Android

I have purchased a Alcatel Onetouch Idol X+ very recently and I am facing this problem of slow DNS lookup when connected to WiFi. When I am using WiFi and trying to browse any website it always taking 20-40 seconds to start show up any content. Later I realized that problem is not there when I am using directly IP address of an website instead on domain name. So, this must be an issue with slow DNS lookup. I have tried setting google DNS servers (8.8.8.8 and 8.8.4.4) in WiFi connection setting, but it is of no help.
To crosscheck this I used 'terminal emulator' to ping any website, what is see is that, always for resolving the domain dame it take 15-20 second time, then ping continues normal, similarly when I use any website IP to pinged there is no such issue.
Interestingly I found that sometimes when I connect to wifi then restart the phone, after that all browsing works fine and fast, but as soon as I change WiFi to another connection or turn wifi off-on, then again problem start to appear.
I have checked with few other phone connected to same WiFi connection, those are not at all having any such issue.
Can any one please tell any solution to this??
Android version is 4.2.2,
WiFi connection (which I am using) speed is more than 10mbps.
There is a thread here for your phone, though it is a ROM/Root thread. You could see if any other user with that phone has the same problem and has fixed it: http://forum.xda-developers.com/showthread.php?t=2451831
You could also ask in the Android Q&A which may be more effective than here: http://forum.xda-developers.com/android/help

Categories

Resources