ViperS 5.1.0 causing arp poisoning on wlan - HTC Sensation

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:

Related

Maddening wifi problems with Captivate

Ever since I got my Captivate, it has had issues with wifi. It's not my routers, or any configuration in my routers, as it happens with 3 different routers (not to mention that I work in IT, so it's definitely not the routers).
Here's what it does. When you start with a fresh boot, it works perfectly fine. As the day goes on, it gets worse; it starts dropping the connection randomly, and eventually stops working altogether. This wouldn't be so bad of a problem, but the point that it "tries" to start accessing a wifi AP, it drags the phone down in speed, eventually freezing, causing me to ave to reboot the device.
I already tried all options with wifi sleep policy; I've tried 3 different ROMs; I've tried clearing all wifi settings and letting the ROM generate a new .conf file, I've tried different wifi firmwares. Nothing works as it should.
What should I do now? Does anyone have any tips for me? I know it's the OS and not the phone, because the last ROM that worked perfectly was Perception 4.
Thanks for the help.
Easy fix I found.
Open Allshare, it should have come pre-installed.
Connect.
Your Wi-Fi problem should be fixed.
You will have to repeat this step when switching between locations, or when you come back to the troublesome router. I don't know why this works, but it does. It seems to have helped alot of other users in other forums with this problem. Maybe someone should make a sticky of this...seems to be a big problem with 2.2 Foryo.
Similar experiece with both an EVO and Captivate with a Linksys router and DLink wireless AP. Whenever I walked into the house, the other PCs attached to the router would stop working, the phone would not get data although it showed as connected and I had to reboot the router - both wired and wireless clients. The Linksys was a very old firmware and I had bad experieces with flashing a few previous devices. I ditched my Linksys for a DLink 8 port and wireless and have not had the issue with either the EVO, Captivate nor any devices attached to my network.
yamabigdog said:
Easy fix I found.
Open Allshare, it should have come pre-installed.
Connect.
Your Wi-Fi problem should be fixed.
You will have to repeat this step when switching between locations, or when you come back to the troublesome router. I don't know why this works, but it does. It seems to have helped alot of other users in other forums with this problem. Maybe someone should make a sticky of this...seems to be a big problem with 2.2 Foryo.
Click to expand...
Click to collapse
This is news to me. You are correct, I do have Allshare. I'll try it the next time I have the issue.
What if I simply remove Allshare? Will that fix the problem?
bdfx69 said:
Similar experiece with both an EVO and Captivate with a Linksys router and DLink wireless AP. Whenever I walked into the house, the other PCs attached to the router would stop working, the phone would not get data although it showed as connected and I had to reboot the router - both wired and wireless clients. The Linksys was a very old firmware and I had bad experieces with flashing a few previous devices. I ditched my Linksys for a DLink 8 port and wireless and have not had the issue with either the EVO, Captivate nor any devices attached to my network.
Click to expand...
Click to collapse
I have 2 Linksys routers with the latest firmwares, and one D-Link. No matter, it does the same thing with them all.
I should also mentioned that I already tested with changing the router's wireless broadcast channels, signal strengths, firmware updates, the whole 9 yards. The problem is the phone, not the networking equipment.
I used this on 3 Captivates in our house and they are all working great now. Had F&*%%#ed wifi issues before that. They are all ok now. Hope it lasts!
https://market.android.com/details?id=com.brilliapps.wifiandmorefixer&feature=search_result
ajm786 said:
This is news to me. You are correct, I do have Allshare. I'll try it the next time I have the issue.
What if I simply remove Allshare? Will that fix the problem?
Click to expand...
Click to collapse
I'm not sure if that will work. I don't think this is by any means a permanent fix, but a temporary work-around. I think it just kicks the wi-fi into gear again somehow...=-(
Hope it helps someone out though.
I had a friend who was having issues with her phone not even attempting to scan for wireless, seems there is an issue on android phones that the networking cache file or whatever it is gets cluttered and needs to be renamed. (Android recreates it)
The process is rather simple, I walked my friend through the steps over the phone w/o issues.
I had her use oneclick root/unroot to root her phone.
http://forum.xda-developers.com/showthread.php?t=739304
Then Had her go through these steps to rename the file.
http://androidforums.com/samsung-moment/46179-unable-scan-networks.html
The steps are for a samsung moment but still work. Also noted that the steps w/o rooting do not work. After you finish renaming the file you can use the application in the first link to unroot the phone and go back to stock
SlappyMcgee seems to have the best fix
It wont hurt anything and I suggest just renaming the file to .old instead of deleting it. the entire process takes like 8 mins
SlappyMcGee said:
Then Had her go through these steps to rename the file.
http://androidforums.com/samsung-mom...-networks.html
Click to expand...
Click to collapse
Link doesn't work, at least for me.
Update:
The Allshare thing works. The problem is that it's not a feasible workaround, because you have to keep doing that every time you want to restart the wifi after the screen goes to sleep or what not.
I will next try that config file delete. I read up on that last night, but didn't think that was it, because I already did a few ROM installs which didn't seem to clear it up.
Nelimungous said:
I used this on 3 Captivates in our house and they are all working great now. Had F&*%%#ed wifi issues before that. They are all ok now. Hope it lasts!
https://market.android.com/details?id=com.brilliapps.wifiandmorefixer&feature=search_result
Click to expand...
Click to collapse
Little early for me to say this is working for sure. But ill be damned if it didn't, at the very least, temporarily fix it. Instant reconnect. Doesn't hang. Seems like it might be the real deal, for me at least. Ill come complain if it craps out again.
Edit: .... worked for 15 minutes. Aka doesn't work...
What's your kernel?
xdahgary said:
What's your kernel?
Click to expand...
Click to collapse
I tried all different ones. Firebird and Speedmod mainly. When I flash newer versions, I always wait till the battery is 100%, and I clear the Dalvik cache. Nothing ever works.
phlunkie said:
Link doesn't work, at least for me.
Click to expand...
Click to collapse
Sorry about that. I fixed the link in the original post.
http://androidforums.com/samsung-moment/46179-unable-scan-networks.html
i had wifi issues and still do. my girlfried does too with her Aria. The phone really seems to only work on routers who have a DNS set to google. The bar near my house it flys and at home i was getting no wifi so I changed my router DNS to google from comcast and its fine. I agree there is a problem but not one that is going to get fixed by Google
My wifi workaround
I had two captivates which both had problems with my home router. Reseting the router never fixed the issue, but resetting the phone did, at least for a few minutes.
I found that phone has problems using DHCP with routers that assign addresses in the 192.168.1.xxx range. It seems to be a conflict with some other internal IP in the Captivate or something. To get around this problem, I had to change the local address of my router to 192.168.2.1, and change the DHCP range to 192.168.2.xxx The new subnet cleared up the problem immediately for me and it hasn't returned, at least, not on my home router. Unfortunately, this won't work on hotspots or other networks that are stuck in the 192.168.1.xxx range.
timsline said:
I had two captivates which both had problems with my home router. Reseting the router never fixed the issue, but resetting the phone did, at least for a few minutes.
I found that phone has problems using DHCP with routers that assign addresses in the 192.168.1.xxx range. It seems to be a conflict with some other internal IP in the Captivate or something. To get around this problem, I had to change the local address of my router to 192.168.2.1, and change the DHCP range to 192.168.2.xxx The new subnet cleared up the problem immediately for me and it hasn't returned, at least, not on my home router. Unfortunately, this won't work on hotspots or other networks that are stuck in the 192.168.1.xxx range.
Click to expand...
Click to collapse
I ran into this problem on my Router. Netgear wndr3700. For some reason when I turned the wifi on my phone either the router was assigning it the same address as my Tivo or my phone wasnt accepting anything but that address. To resolve I forgot the connection my phone then reflashed the firmware on my router. Then reconfigured the wifi on my phone. After that no more issues.
Well i honestly dont know whats wrong with mine. I've done all the "fixes" in this and other threads but it doesnt work. What is weird is that it connects using All Share and only All Share. However it does connect at other places like my friend's, sister's, granparents and gf's houses. I think I'm gonna go to att and demand a new phone and an upgrade
Just wanted to post an update on this. For the most part, deleting the wifi configuration file in data\wifi seems to have cured the problem. The wifi signal did get stuck on one or two occasions, but I'm bound to believe that the issue was caused elsewhere.

[Q] cant connect via wifi!! vodafone (SOLVED)

Hi anyone with previous experience on vodafone
Im reasonably down with how android works (after owning,rooting and flashing etc for 18 months with Desire)
but why the hell cant i conect via wifi!!
i can connect to networks ok but phone refuses to pull in any data be that mail, facebook, market or internet
Seriously, i cant figure this out at all, anyone have an idea ?
First evening with a new phone ruined!!
InspectorFrost said:
i can connect to networks ok but phone refuses to pull in any data be that mail, facebook, market or internet
Click to expand...
Click to collapse
So you can connect your phone to a wireless connection, it just doesn't download anything? In that case, have you checked the same wireless connection with another device?
sjgore said:
So you can connect your phone to a wireless connection, it just doesn't download anything? In that case, have you checked the same wireless connection with another device?
Click to expand...
Click to collapse
Yes and Yes....im seriously stumped !
the only thing i can think is that theres some sort of wifi radio issue on my phone , but id have thought that would manifest by not connecting to the network rather than not pulling in data .
ive factory reset phone a couple of times and reset my router, no issues on other devices
think ill go back to the store for exchange as im not really prepared and shouldnt have to piss around with a brand new device
its a weird one
Have you tried changing the channel of your router? Try a lower number, like 11. Or temporarily removing any encryption and/or changing encryption type?
Did u try resetting your router? I had the same problem last night. Taught it was my phone. Ended up being my router. Go figure ;-p
Sent from my HTC Glacier using XDA Premium App
kfgtboypsp said:
Did u try resetting your router? I had the same problem last night. Taught it was my phone. Ended up being my router. Go figure ;-p
Sent from my HTC Glacier using XDA Premium App
Click to expand...
Click to collapse
Tried that....now at work and connects fine to the network, deffo must be an issue with my home network
Problem for me is that networks and the like aren't really my bag , ive had a look at the admin page on the router and can see its connected and theres nothing immediatly obvious that i could say "that looks suspect"
so im not sure what the answer is
all my other devices mac, pc ipod/phone and previous htc work well and have never had an issue
getting on my tits a little
ill have another fiddle later and see what i can do
cheers for the comments tho
otherwise, i do like the form factor of the phone and ill even give sense a good go befor i probably switch over to ADW or maybe launcherpro
Solved!
Set up static IP address on phone ..... Worked like a charm
I find the same, except I think it has to do with encryption. I have tried with wep and wpa and I get an IP address but cannot browse. On unsecured it works just fine.
Like you found a static IP works, but I think it is the static DNS that is actually the issue here.
This is a cumbersome workaround if you use wifi all over the place, so I downloaded Static Wifi which says it will store settings per connection.
The only issue with this is that I think the device has to be rooted for this to work
Have you tried using the opendns settings
208.67.222.222
208.67.220.220
wifi reconnect
Hi all
Perhaps we all have the same issue
I have the HTC Sensation with almost 2 weeks now and i am having one continuous issue.
I have wifi set up at home the phone connects ok,however i also have a TV/Video sender,when i need to use the TV/Video sender i have to turn off the wifi(not ideal).The problem occurs when i turn off the TV/Video sender and turn the wifi back on,the phone will connect with the modem but not to the internet,Facebook,Twitter,emails will not sync,while testing i have discovered that if i "kill" facebook and Twitter and restart the apps all is ok again i.e facebook,Twitter and emails all sync.
Does anybody have an idea what is causing this ?
Rgds
Clinton
I seem to have managed to resolve this by setting the security to wpa2 and i also altered the dhcp scope to force a new range of ip addtrsses higher up. Since I did that I've had no problems.

[Q] 802.1x EAP (PEAP) - Wifi connectivity problems

hey folks, i got massive wifi connectivity problems, but only with a special wifi at college.
it's a 802.1x wifi, with EAP (PEAP) and MSCHAPV2.
i configured it correctly (for sure), as i can connect to it manually. but it is not stable, though i got full signal strength. it keeps on dropping after a few minutes with the phone sleeping... when i turn it back on i have to reconnect manually, sometimes i have to deactivate/activate wifi, sometimes it is enough just to connect manually again.
i tried some roms and kernels already, with no effect (arhd 3.1.1, insertcoin from 2.2.1 up to 2.4.3-2 and 2.2.5SSE; kernels were faux 0.1.0 - 0.1.4, bricked 0.2 - 0.4). also stock rom doesn't fix the problem.
i think it's htc based.. somebody else got this problem? is there a workaround availible?
Nobody? Bump...
Sent from my HTC Sensation Z710e using XDA App
Hi,
I think it's HTC based too... I've seen this problem with my HD2 and now the Sensation (definitely hoped it was only an HD2 problem but here I am again, looking for a solution).
The symptoms are that you see the wifi connected with, say, full signal, but when you try to open Google Talk or the browser or anything, no data can be reached. This happens particularly when you switch from one AP to another (e.g. walk across compass) or if you leave the network area and then come back.
Do we have similar ones? My school has a registered-MAC network that also doesn't work well with the phone, so I believe it's more to do with how the network infrastructure is set up. However, my friends with non-HTC devices do not report such problems. It's also possible that my similar program installs on both phones do some conflicting with networking, but it's doubtful...
Does anyone have similar experiences?
Edit: It'd almost be preferable for my phone to just drop wifi entirely when the connection fails, since it believes it otherwise has a connection, but everything time-out-s. Having it switch to 3g when it stops working would be preferable to having no networking and no push email or messages...
You can try going into wifi advanced settings and setting the wifi sleep policy to "never", and see if it that fixes it. My high school uses the same 802.1x EAP/MSCHAPv2 security and I also have issues with it, but I think there it's because of such a dense network of access points (there's an access point in EVERY room) it's more interference problems and the phone jumping from AP to AP rather than issues with the phone itself. Download wifi analyzer from the market and check the different access points and if their channels are overlapping and compare their signal levels. If the signal levels are close, the phone might be jumping from AP to AP like mine does.
Dropping WiFi
May not apply to you. But in my case, when I have the WiFi Calling App turned on, I will lose connection to my Home WiFi which is password protected. And when I try to re-connect I have to enter the password again. With out WiFi Calling enabled, I stay connected till I disconnect. Not sure if this would act the same with a different router or without password protection, and since I have a good signal at my house I haven't checked all possibilities.
MusicMan374 said:
You can try going into wifi advanced settings and setting the wifi sleep policy to "never", and see if it that fixes it. My high school uses the same 802.1x EAP/MSCHAPv2 security and I also have issues with it, but I think there it's because of such a dense network of access points (there's an access point in EVERY room) it's more interference problems and the phone jumping from AP to AP rather than issues with the phone itself. Download wifi analyzer from the market and check the different access points and if their channels are overlapping and compare their signal levels. If the signal levels are close, the phone might be jumping from AP to AP like mine does.
Click to expand...
Click to collapse
Thanks for your reply!
I've never set wifi sleep policy to anything but "never," and I've toggled between "Best Wifi Performance" and the alternative of having that disabled.
I've hit in *#*#4636*#*# and looked at the wifi state. It continues to say it's connected with COMPLETED Supplicant State and a valid IP address. Ping test, of course, fails, when this happens.
This happens for me both with mac-registered (insecure) networks and 802.1x networks on campus, but I've found that wifi is rock stable on most home networks, for example...
linj said:
Thanks for your reply!
I've never set wifi sleep policy to anything but "never," and I've toggled between "Best Wifi Performance" and the alternative of having that disabled.
I've hit in *#*#4636*#*# and looked at the wifi state. It continues to say it's connected with COMPLETED Supplicant State and a valid IP address. Ping test, of course, fails, when this happens.
This happens for me both with mac-registered (insecure) networks and 802.1x networks on campus, but I've found that wifi is rock stable on most home networks, for example...
Click to expand...
Click to collapse
It might just have to do with the access point interference. I know that my phone has trouble handling the access point switching, regardless of the phone or ROM. My old 3g slide did the same thing. If it only happens on 802.1x networks and it happens on every ROM (which I'm 90% sure it does) then it's probably not something you can change.
MusicMan374 said:
It might just have to do with the access point interference. I know that my phone has trouble handling the access point switching, regardless of the phone or ROM. My old 3g slide did the same thing. If it only happens on 802.1x networks and it happens on every ROM (which I'm 90% sure it does) then it's probably not something you can change.
Click to expand...
Click to collapse
I understand that, but the part that gets me is that my roommate's Galaxy S has no such problems.
I've tried many different ROMs when I was on the HD2; I'm hoping I won't have to go through that again!
Oh, then maybe it is a phone issue. I always thought it was just android but I've always used HTC devices. I don't know exactly how 802.1x encryption works, but if it's on a hardware level like some encryption algorithms then it could be HTC specific.
It's definitely a HTC problem. Friend of mine doesn't have such problems as well, he has a SGS2. Everything is configured like it should be, WiFi drop on "never", as already witten in the first post.
Sent from my HTC Sensation Z710e using XDA App
Same problem. Connecting at college over EAP with PAP and TTLS. Won't reconnect without upening credential dialong and inputting password
i'm trying to get it fixed by posting some logs to show-p1984, kernel developer of bricked. he is also german, which makes it easier to talk about this kind of 'special' problem for me i will keep this thread updated if there is any solution availible.
smint86 said:
i'm trying to get it fixed by posting some logs to show-p1984, kernel developer of bricked. he is also german, which makes it easier to talk about this kind of 'special' problem for me i will keep this thread updated if there is any solution availible.
Click to expand...
Click to collapse
That sounds great! Let me know if I can contribute as well (logs? something else?).
I was worried it has something to do with the custom kernels we're all using (i.e. power modes for the wifi and such, but I did edit an HD2 kernel to turn that off and it didn't work). Since show-p1984 is thinking about this now, I'm sure he knows what's up with everything kernel=related to wifi...
When I have time, I'll definitely try a stock ROM again to see how it goes, since there aren't as many complaints about this problem as I'd expect there to be (i.e. ... maybe only us custom ROM users may have this problem with certain wifi infrastructures)...
Hello!
Not sure if anybody's still interested in this problem, but I tried the EU stock rom and it didn't change matters.
Basically, moving around campus makes my phone drop the internet connection on wifi, but not the wifi connection itself. Again, this doesn't happen on Samsung phones, and cycling the wifi fixes this problem.
See attachments for what shows up; it looks like after cycling I get a new lease and it works again.
So do people think the latest bricked kernel fixes this issue?
Unfortunately it doesn't. But at least we have a kernel dev who is aware of this problem. I got no doubt that it'll be fixed one day ;-)
Swyped from my HTC Sensation using XDA App
smint86 said:
Unfortunately it doesn't. But at least we have a kernel dev who is aware of this problem. I got no doubt that it'll be fixed one day ;-)
Swyped from my HTC Sensation using XDA App
Click to expand...
Click to collapse
Have you had any luck getting connected? I also have the same problem on my school network.
mwalt2 said:
Have you had any luck getting connected? I also have the same problem on my school network.
Click to expand...
Click to collapse
Still no change... As it's a driver of the wifi module, maybe it'll never be fixed at all. Anyways I hope, that maybe with the ICS update a change will come. Also there is show, who is aware of it.
Swyped from my HTC Sensation using XDA App
EAP connectivity issues (ARHD 6.2.1)
I am suffering from this problem also when running ARHD 6.2.1 XE ROM for the senation which is ICS based. Has there been any progress on this?
xdamedd said:
I am suffering from this problem also when running ARHD 6.2.1 XE ROM for the senation which is ICS based. Has there been any progress on this?
Click to expand...
Click to collapse
Unfortunately - no
I'm running InsertCoin 4.4.6 based on 3.25.xxx leak with ICS. It's still not working... Maybe with the final release from HTC.

[Q] [Help Required] Wifi Problem, but nothing seems to fix this.

For a month or so I've been having wifi problems with my phone.
It's one you often see discussed:
either A)
wifi scans, picks up presence of network [with excellent signal strength] then, on click, doesn't try to connect just changes to say out of range.
Alternatively B), it simply doesn't see the network at all despite me being 2 feet from the router.
This happens with my home router [we have two, neither work] and with what seems like every other router too.
I am currently running the 6.1.1 version of ARHD [with android 4.0.3].
I can provide any information that might help, I'm not at all bad with this sort of stuff normally, although not collosally experienced with android.
Thank you for your time.
PS. Steps already tried to fix problem:
Power cycling router, installing different ROMs,scripted wifi fix for 6.1.1, changing wifi channels, switching router to just b and/or g, wifi fixer app, removing authentication, using different router, changed radio, changed kernel, and possibly more.
Please any advice would be fantastic, I struggle to use this phone without wifi.
Try the wifi with your sim in a differnet phone - when that works choose a different rom make sure you go back to a stock RUU before the new rom
I've never been able to connect to a wifi network on my sensation. I've tried it with the stock 2.3.4 ROM, and with all of the ARHD ROMS.
I can see wifi networks, and enter the network password, but it'll never connect.
So I'd be interested in any solution for this problem also.
Have you tried on different routers? I can only assume the routers channel is set to one that the device won't work on? Have you changed your router settings before
Sorry my bad only read half,
Sent from my Sensation XE
OK what is your devices mac address showing up as? Maybe it's the same as another device on your network?
Have you done a full wipe of your device?
Does your bluetooth work? (same antenna as wifi)
Has it ever worked?
Have you tried disabling all your routers security?
Sent from my Sensation XE
glynnder said:
For a month or so I've been having wifi problems with my phone.
It's one you often see discussed:
either A)
wifi scans, picks up presence of network [with excellent signal strength] then, on click, doesn't try to connect just changes to say out of range.
Alternatively B), it simply doesn't see the network at all despite me being 2 feet from the router.
This happens with my home router [we have two, neither work] and with what seems like every other router too.
I am currently running the 6.1.1 version of ARHD [with android 4.0.3].
I can provide any information that might help, I'm not at all bad with this sort of stuff normally, although not collosally experienced with android.
Thank you for your time.
PS. Steps already tried to fix problem:
Power cycling router, installing different ROMs,scripted wifi fix for 6.1.1, changing wifi channels, switching router to just b and/or g, wifi fixer app, removing authentication, using different router, changed radio, changed kernel, and possibly more.
Please any advice would be fantastic, I struggle to use this phone without wifi.
Click to expand...
Click to collapse
try this:
mediafire.com/?bp9pqd9n77f63oc

[Q] CM11 WiFi problem

Hi,
I'm on 11-20140804-SNAPSHOT-M9-ville, official (HBoot 2.15), Radio 1.35a.32.45.27
I have a strange problem with my WiFi. I can't really tell what details are important, so I'm gonna give you guys the full story.
After rebooting, everything works fine and the phone instantly connects to my WPA2 PSK secured WiFi at home. When I'm at university during the day, I'm connected to another WPA2 WiFi (maybe some of you have heard about "eduroam", TTLS/PAP authentification), which also works fine. However, when I get home in the evening, my phone won't connect to my personal WiFi at home any more. I see the SSID, but when I try to connect, it says "Connecting..." for a milisecond, then just jumps back to showing me it's a WPA2 secured WiFi without having done anything. I get no error message or anything, it just doesn't connect and doesn't even seem to really try to connect.
When I reboot the phone it instantly works again without a problem.
Any ideas? Are there error logs for failed WiFi connection attempts anywhere for further analysing the problem? Any hint is appreciated!
- Folrot
Folrot said:
Hi,
I'm on 11-20140804-SNAPSHOT-M9-ville, official (HBoot 2.15), Radio 1.35a.32.45.27
I have a strange problem with my WiFi. I can't really tell what details are important, so I'm gonna give you guys the full story.
After rebooting, everything works fine and the phone instantly connects to my WPA2 PSK secured WiFi at home. When I'm at university during the day, I'm connected to another WPA2 WiFi (maybe some of you have heard about "eduroam", TTLS/PAP authentification), which also works fine. However, when I get home in the evening, my phone won't connect to my personal WiFi at home any more. I see the SSID, but when I try to connect, it says "Connecting..." for a milisecond, then just jumps back to showing me it's a WPA2 secured WiFi without having done anything. I get no error message or anything, it just doesn't connect and doesn't even seem to really try to connect.
When I reboot the phone it instantly works again without a problem.
Any ideas? Are there error logs for failed WiFi connection attempts anywhere for further analysing the problem? Any hint is appreciated!
- Folrot
Click to expand...
Click to collapse
Hi,
I had exactly the same problems with m8. I have a Virgin Superhub 2 at home which broadcasts on 2.4 and 5 Ghz. After disabling one of these frequencies, the behaviour briefly changed. Then went back to not working. With eduroam all worked nicely.
I read somewhere that I should activate the "Scan always available" setting. Sadly, I didn't get a chance to try that because I was so fed up with
- the significantly lower sound on CM (is that something you experience with radio 1.35a?)
- mobile signal drops
that I wen back to Maximus 10 where I have no problems at all.
I had radio 1.15 and 2.15 HBOOT when I had those problems. Now I'm on also 1.35 with Maximus 10 and problem free but would like to return to CM if the low sound problem and the WiFi problem could be sorted out.
Here's an interesting little detail I noticed: When I stand right next to my router (full WiFi signal strength) and click on my WiFi and choose connect, the signal strength drops down to one bar immediately. Also, the eduroam network changes from "not in range" to "disabled".
Playing around with the WiFi options didn't help.
edit:
What exactly do you mean by lower sound? That the phone's maximum sound volume is lower than normal? That's something I experienced on my old htc desire, but not with my htc one s. Also mobile signal seems to be stable, no signal drops. The only thing I found curious is that with activated mobile internet, it often changes between 3G, H and H+, but judging from google search results that seems to be normal or not connected to the custom rom.
went through the CM bugtracker, apparently it's a known issue without a solution
https://jira.cyanogenmod.org/browse/CYAN-3923 if you want to know more
One last question, maybe someone here can answer it: As far as I understand the issue, it's a problem with an old WiFi driver and the corresponding kernel modules.
Wouldn't this issue then be present in all ROMs which don't use the stock kernel? Or did I misunderstand something?
Folrot said:
One last question, maybe someone here can answer it: As far as I understand the issue, it's a problem with an old WiFi driver and the corresponding kernel modules.
Wouldn't this issue then be present in all ROMs which don't use the stock kernel? Or did I misunderstand something?
Click to expand...
Click to collapse
Same problem here with Miuri. Tries to connect and then gives up.
The problem has been resolved by the CM11 devs. I'm running nightly 20140819 and it's working fine now for me. :good:

Categories

Resources