Problem with wifi - OnePlus X Q&A, Help & Troubleshooting

wifi either stuck at obtaining IP address or just save it most of the time. If it gets connected it takes lots of time. Manually putting IP address not work either. The problem happens when I try to connect to other android phone wifi hotspot my home wifi work quite well. I want to know if anyone else facing this problem or not or there is any fix for it(am on stock rom and with latest update

chankya said:
wifi either stuck at obtaining IP address or just save it most of the time. If it gets connected it takes lots of time. Manually putting IP address not work either. The problem happens when I try to connect to other android phone wifi hotspot my home wifi work quite well. I want to know if anyone else facing this problem or not or there is any fix for it(am on stock rom and with latest update
Click to expand...
Click to collapse
Sorry i know im late. Oneplus x, if you test it, gives 40% of signal strength when near to the modem so it might be signal problem u can try static line and after writing a manual ip change back to dhcp it might help.

Wifi on the onex is so bad.. lots of timeouts with different routers.

Sultan0274 said:
Sorry i know im late. Oneplus x, if you test it, gives 40% of signal strength when near to the modem so it might be signal problem u can try static line and after writing a manual ip change back to dhcp it might help.
Click to expand...
Click to collapse
Can you elaborate it clearly?

manankatwala said:
Can you elaborate it clearly?
Click to expand...
Click to collapse
Open the advance settings option u will see dhcp and static line option by default dhcp is selected click on it, it will show a dropdown menu select static and write a manual IP and change back to dhcp or be on static line it helps me a lot

The latest update of oxygen os 2.2.1 fixed it completely for me no obtaining IP address issue now

Related

[Q]Wifi problem with MiniCM7 Pro V6

Hi this a excelent ROM!! i love it! but the Wifi disconnects every 5 minutes or less...and reconnect, How i can fix this?
same here,
using slade's new ROM, "GinTonic.SE | v1.3" ....
any ideas ?
I don't know why, but using ondemand or performance profile I don't have that issue. Test it and tell me
kem06 said:
I don't know why, but using ondemand or performance profile I don't have that issue. Test it and tell me
Click to expand...
Click to collapse
Thanks for your reply,
Just tried changing the profile ,,, rebooted ,,, but still the same problem ,,,
it seems that i'm missing something !!!
aymanxp said:
Thanks for your reply,
Just tried changing the profile ,,, rebooted ,,, but still the same problem ,,,
it seems that i'm missing something !!!
Click to expand...
Click to collapse
Mmm.. Do you have bluetooth or EDGE/3G activated ? It might make some problems.
Another thing, which policy suspension do you have for WiFi ?
after trying everything, i used a static IP to connect and finally it seems to work.
thanks for your interest.
i haven't bluetooth or EDGE/3G active, the policy suspension of is never! i format sd card and reinstall rom but the problem continues....
aymanxp said:
same here,
using slade's new ROM, "GinTonic.SE | v1.3" ....
any ideas ?
Click to expand...
Click to collapse
Same for me
The same problem in almost all these ROMs.
I'm using the MiniCMPro V7 and I'm trying to debug it by reading the logcat and editing some config files, will post/edit any advance later.
It worked by using aymanxp's method as a workaround.
By reading the logcat I found that something is forcing the dhcp server on the phone to lease a new IP after some time [receives a SIGTERM] although it obtained an infinite lease.
In other topic, why android does not have a separated config (Static/dynamic, IP, DNS, etc...) for each wireless connection?
B.R.
Update:
Well, my actual conclusion is that the WifiStateTracker Daemon is forcing DHCP to request ip renewal every 5 minutes or so, and if there are a valid or infinite lease in place, dhcp returns an error after waiting, so WifiStateTracker gets the wifi down and restarts DHCP, so lame.
Tried to find any config file but found none, only dhcpcd and wpa_supplicant, but nothing about the daemon.
So to have the wifi working properly, from now, the right way is to don't use dhcp?
Try to change wifi sleep policy to "Never" instead of "when screen turns off"
XxLordxX said:
Try to change wifi sleep policy to "Never" instead of "when screen turns off"
Click to expand...
Click to collapse
Nope, won't work either.
@Pierrot12:
As a temporal workaround, yes
We can use static IP, but that would work just if using only one Wi-Fi network (as in the house OR the work), but for people like me, using more than one network, it's very annoying to edit the parameters every time the AP changes.
I'm tempted to write an app to replace the android's very simple AP managing system
I flash to Sonybread 7 SP3 and the problem continues...
I'm using v6 and I have not had any problems with WiFi. In fact, I think it's the most stable ROM. I have downloaded files flawlessly, which means that WiFi is not disconnecting right? Anyway, I'll put it to test..
RozenTensai said:
I'm tempted to write an app to replace the android's very simple AP managing system
Click to expand...
Click to collapse
Great! good luck
Actually found the problem, but don't know if it would work for anyone.
After some research and hits and misses, found that the problem with the DHCP client running in the MiniCM7-based ROMs does have a incompatibility with "Reserved IP" or "Infinite IP Lease" for a certain MAC, in other words you should use:
A) IP Assigned by the router (not reserved), or
B) Static IP configured on the device.
If that's not your case, then just wait for a fix from the devs or my app (still brainstorming ) or any workaround posted in this thread
@Pierrot12: Thank You!
@eysonfm Yeah, I was on that ROM and it's really stable. But I want MiniCM7 Pro
I have also problems wifi DHCP issues with MiniCM7 Pro V7+
I don't understand, because I got it from one moment to the other
Only
B) Static IP configured on the device.
is working for me
in terminal with netcfg I could see that I got an ip adress over dhcp. In Wifi manager stands getting IP address
I won't do an factory reset, maybe I can help somebody to find the bug by testing somethings
i'm having these issues with minicm7 pro v19 as well...
RozenTensai said:
Actually found the problem, but don't know if it would work for anyone.
After some research and hits and misses, found that the problem with the DHCP client running in the MiniCM7-based ROMs does have a incompatibility with "Reserved IP" or "Infinite IP Lease" for a certain MAC, in other words you should use:
A) IP Assigned by the router (not reserved), or
B) Static IP configured on the device.
If that's not your case, then just wait for a fix from the devs or my app (still brainstorming ) or any workaround posted in this thread
@Pierrot12: Thank You!
@eysonfm Yeah, I was on that ROM and it's really stable. But I want MiniCM7 Pro
Click to expand...
Click to collapse
Also, i discovered that i had the "backup" and "restore..." options enabled under Settings -> privacy enabled. They were causing my phone to receive bad configurations saved in my google account in googles's servers...
so i disabled these otions, re-flashed minicm7pro, set up my router to "not reserve" the address for the minipro's MAC address and everything is working as it should since then!

Connection to a netgear DG834v5

ok so ive tried technically three kernels and loads of roms and i still cant maintain a connection to this kind of router it workds fine when you first connect but if you either lose signal or turn of wifi and then turn it back on it refuses to connect
anyone know what can be done
same for me with netgear, seems that there's a problem with the dynamic ip.
Anyone know of a way to get this working?. surely wifi modules from another phone could help. i can say it was working ok on 2.1
-PiLoT- said:
Anyone know of a way to get this working?. surely wifi modules from another phone could help. i can say it was working ok on 2.1
Click to expand...
Click to collapse
Have you tried connecting using a static IP?
scoobysnacks said:
Have you tried connecting using a static IP?
Click to expand...
Click to collapse
yes i even have my mac saved in the ip table so the router should give me a static ip by default

Wi-Fi works only with static ip.

Today I bought GS3. Im trying to connect it with my home Wi-Fi router with DHCP. It accepts the key, sets "getting ip-address" for status and after 1 minute waiting it disconnects. If i look at the list of DHCP-Clients at my router, i see the following entry: android-aa086625ÿÿÿÿþÿÿÿ
Setting the IP-address to static solves the problem. Do you know why it doesnt work with dynamic?
Djablos said:
Today I bought GS3. Im trying to connect it with my home Wi-Fi router with DHCP. It accepts the key, sets "getting ip-address" for status and after 1 minute waiting it disconnects. If i look at the list of DHCP-Clients at my router, i see the following entry: android-aa086625ÿÿÿÿþÿÿÿ
Setting the IP-address to static solves the problem. Do you know why it doesnt work with dynamic?
Click to expand...
Click to collapse
Im not sure mate,
I would asign it a static ip address anyway because its easier for if you set anything extra up later on which relies on inputting a defined address.
I had this same thing with my old netgear router and a nexus s. I resolved it the same way you have done.
How big is your DHCP pool? Is it a /24?
JD
JupiterdroidXDA said:
How big is your DHCP pool?
Click to expand...
Click to collapse
To answer this question:
Screenshot
Djablos said:
To answer this question:
Screenshot
Click to expand...
Click to collapse
Looking at that it seems that there is no reason why your phone should not be accepting a DHCP allocation.
Maybe the router and phone are just incompatible...
Have you tried with another router?
JD
I found out how to make my GS3 work with dynamic IP. As I supposed the problem was the host name mentioned above. It was probably too long for DHCP-server. After changing it with this app, connection worked trouble-free.
Maybe this info will be useful for someone

Wi - Fi Problems, obtaining wrong IP [SOLVED]

Attention!!! I found a fix for getting wrong IP using your router!!!This should help you if internet worked at first day on phone or sometimes works and sometimes not after reconects. This thread i created is about my routers not working with SG3 and other devices. Router fails to assign right IP for my SG3. Example: 192.168.0.100-199(last digit from 100 to 199) should be IP in that range but phone aquires 192.168.1.6 or 192.168.1.8 and it can't get internet acces! I could connect but not surf the internet. To make device get always same IP and most importantly get GOOD IP wich would not be broken and you could surf internet. You just need to reserve IP in router's network settings. This fixed my problem instantly!!!
Thank me if it worked for you!!
----------------------------------------------------------------------------------------------------
Everything below is history!!
Pure stock, not rooted SG3 international version.
I have strange wifi problem. We have 2 routers. One is main(dlink) it was working fine for 5 days and sudenly my SG3 can't connect to internet. I saw that my SG3 is aquiring wrong IP 192.168.1.8 instead of IP192.168.0.(range of 99- 199) so it won't get connected to internet, but connection to router is good. Tried 2nd(linksys) not main router and it works, i can connect to internet (aquires right IP 192.168.0.138) something like that in right range from 99 to 199. First tried wifi fixers. Didn't work. Then tried factory reset didn't help too. Then hard reset from recovery with data wipe ( correct me if that isn't hard reset). That helped, but not 100%. Now i can connect. To main (dlink) router with right IP IP192.168.0.(range of 99- 199) and internet works, but tried with 2nd(linksys) and now problem has transfered to that 2nd router. I only can ask you. Why? What socery is this? Maybe custom rom i install from stock would fix this. Or i need to fix my problem without roming first? Strange.
Why two exact same posts ??????
jje
JJEgan said:
Why two exact same posts ??????
jje
Click to expand...
Click to collapse
Sorry, i deleted first Q on this one. I can't find solution to this problem anywhere. Already searching how to solve for about 12hours. Not critical problem but i don't want to live with it. Thanks for answering first Q.
Pickepys said:
Sorry, i deleted first Q on this one. I can't find solution to this problem anywhere. Already searching how to solve for about 12hours. Not critical problem but i don't want to live with it. Thanks for answering first Q.
Click to expand...
Click to collapse
Post the answer if you can as it may help others .
jje
Update: i lol right now. I went with my SG3 to googleplay via (main dlink router) downloaded angry birds seasons to see download speed. Speed was okay, played few mins. Tried to go to store again. Internet was gone. Internet works fine on my pc but on phone throught wifi not. And changed IP from 192.68.0.(last digit range 99 - 199 ) to 192.68.1.8. Now both routers have 192.68.1.8 IP as i connect to them with my SG3. Connection is strong but internet does not work, because of that freaky IP. I don't imagine how to fix this. My only thought is to flash my SG3 to custom ROM, because other devices works fine with these 2 routers.
So i flashed custom rom and it worked for a while. I guess because i did data wipe/factory reset. I thought i have solved the problem. Recently i installed FoxHound Rom wich is absolutely briliant. Then getting started app asked me to find wifi network. I sat near my router and... it again aquired wrong IP --->>> 192.168.1.8 <<<--- INSTEAD of 192.168.0.( from range 99 to 199). I i don't know what to do next! HELP ME PLEASE! :/
Our other device Galaxy Note works fine as ipad works fine too with those 2 routers.. But not SG3. Arrggh..
Pickepys said:
So i flashed custom rom and it worked for a while. I guess because i did data wipe/factory reset. I thought i have solved the problem. Recently i installed FoxHound Rom wich is absolutely briliant. Then getting started app asked me to find wifi network. I sat near my router and... it again aquired wrong IP --->>> 192.168.1.8 <<<--- INSTEAD of 192.168.0.( from range 99 to 199). I i don't know what to do next! HELP ME PLEASE! :/
Our other device Galaxy Note works fine as ipad works fine too with those 2 routers.. But not SG3. Arrggh..
Click to expand...
Click to collapse
Happened to me once(i also have two routers). Forget network on your phone then change the SSID and the password of your router. That worked for me good luck!
life_hacker said:
Happened to me once(i also have two routers). Forget network on your phone then change the SSID and the password of your router. That worked for me good luck!
Click to expand...
Click to collapse
NUMBER OF DYNAMIC DHCP CLIENTS:3
Hardware Address(MAC adress)..........Assigned IP.............Hostname.......................................Expires
5c:0a:5b:b0:c8:a1................................192.168.0.181..........android-e4ac52d089968853........23 Hours 57 Minutes
40:2b:a1:7c:ad:e0...............................192.168.0.182....................................................................23 Hours 55 Minutes
1c:6f:65:38:0f:32................................192.168.0.199...........Monster............................................23 Hours 54 Minutes
Watch at first line with Hostname android. That's my phone. And it says assigned IP 192.168.0.181, but in my phone i see 192.168.1.8. Will try your advise. I will thank you for it as i get more "thanks"! It may work
Update: After 5min: forgeted wifi in phone, changed SSID(name of wifi) and set the pass. Reconnected. No right IP on phone :*( WT* Please more advises. I raped that router 3 times today already (reset, reenter ips..). But my SG3 don't want to be friends with it.
Pickepys said:
NUMBER OF DYNAMIC DHCP CLIENTS:3
Hardware Address(MAC adress)..........Assigned IP.............Hostname.......................................Expires
5c:0a:5b:b0:c8:a1................................192.168.0.181..........android-e4ac52d089968853........23 Hours 57 Minutes
40:2b:a1:7c:ad:e0...............................192.168.0.182....................................................................23 Hours 55 Minutes
1c:6f:65:38:0f:32................................192.168.0.199...........Monster............................................23 Hours 54 Minutes
Watch at first line with Hostname android. That's my phone. And it says assigned IP 192.168.0.181, but in my phone i see 192.168.1.8. Will try your advise. I will thank you for it as i get more "thanks"! It may work
Update: After 5min: forgeted wifi in phone, changed SSID(name of wifi) and set the pass. Reconnected. No right IP on phone :*( WT* Please more advises. I raped that router 3 times today already (reset, reenter ips..). But my SG3 don't want to be friends with it.
Click to expand...
Click to collapse
I dont know if your router supports it; assign your phone a static IP.
life_hacker said:
I dont know if your router supports it; assign your phone a static IP.
Click to expand...
Click to collapse
Now i have flashed other custom rom and SG3 aquires right IP. For now. Internet works fine. Will report later. Any advices appreciated.
-----------------------------------------------------------
Update: found this thread http://www.dslreports.com/forum/r22...-wireless-devices-aquire-the-wrong-IP-address.
He says:
"Everything connects to the router but getting internet working is only accomplished by manually changing the settings to those described above."
Maybe that's because my SG3 can act as modem too? Can galaxy note 4.0.4 act as modem or iphone4?
Unfortunately problem back again. Browsed internet for few min and got wrong IP as i came 3rd time to connect to wifi dlin router. Then i tried another router linksys and got instantly bad IP by connecting to it too. What to do now?!? It's definitely something wrong with my SG3. Do i need to reflash to original, reset counter and take it to warranty post?
Or maybe there is else i can do? Help!
Pickepys said:
Unfortunately problem back again. Browsed internet for few min and got wrong IP as i came 3rd time to connect to wifi dlin router. Then i tried another router linksys and got instantly bad IP by connecting to it too. What to do now?!? It's definitely something wrong with my SG3. Do i need to reflash to original, reset counter and take it to warranty post?
Or maybe there is else i can do? Help!
Click to expand...
Click to collapse
why dont you use the [1 to 99] host byte range? I know range doesnt really matter but if your phone wants to connect to the lower part, why not change that? Plus, did you try giving your phone a static IP address? thats the first thing I would do
I tried doing static IP on my phone and I think I did it wrong. Now I have flashed again I didn't connect to my main dlink router firstly after I flashed new rom, instead I connected to 2nd Linksys. Downloaded 300mb game and few more apps from googleplay, installed, restarted, reconnected and it still works. Will report later how it's going.
Sent from my GT-I9300 using xda premium
All those few days i was connected to 2nd linksys router. So it worked flawlessly until today when i tried to connect to main router dlink. First time i connected today it worked fine. Second time i got that EPIC FAIL IP 192.168.1.6 now. What the F***?! I resetted that router like 5 times to zero and reentered ips. All other devices works fine with it. Why not my SG3?!?! And my computer threw strange internet connection error but it wasn't affected by it. Internet works on my computer as it should. Error was about double ip. It said that other computer in the same network had the same ip. But it works fine after that error. I'm carring my SG3 to warranty post. I don't know any other options.
Edit: After 5 min tried to connect. It works now again just by reconnecting. Previously it didn't work that way. If it stuck, it was always stuck with that ip even if i did "'forget network" then "wifi off" then phone restart and wait some time. It could only work for some time if i did hard reset. Will see what happens next.
After another 5 min i tried reconecting to 2nd linksys router and now it has wrong ip 192.168.1.6 (not 8 at the end). But i get good in on main dlink router now! So main working and 2nd - not. Wtf... So this problem isn't caused by main router dlink. I now really believe that my SG3 has something wrong. I i will lose my connection again (can connect, but no internet), i will take phone to service.
Pickepys said:
After another 5 min i tried reconecting to 2nd linksys router and now it has wrong ip 192.168.1.6 (not 8 at the end). But i get good in on main dlink router now! So main working and 2nd - not. Wtf... So this problem isn't caused by main router dlink. I now really believe that my SG3 has something wrong. I i will lose my connection again (can connect, but no internet), i will take phone to service.
Click to expand...
Click to collapse
if you somehow get your phone to connect to the internet again. Just go to the router's configuration window and increase the lease time to max (say 1000hours). That way, your device will get the same IP for at least 1000hours
life_hacker said:
if you somehow get your phone to connect to the internet again. Just go to the router's configuration window and increase the lease time to max (say 1000hours). That way, your device will get the same IP for at least 1000hours
Click to expand...
Click to collapse
What's point of doing this if i go to other place and same thing happens. I will increase time there too or smth? I need to fix roots of the problem. Other devices works fine, but not SG3. Do not know.. Will installs few new roms and take it to service. Internet works now with main Dlink router but no linksys (other connected after main). I first thought it can be main router only. I thought when main locks with bad ip so other router gets bad ip too, but i was wrong. So no point in fixing routers, because if i go to anywhere else and there my SG3 lock with bad ip what then i should do? That's the point
This time i tried onother samsung galaxy s3 wich is not mine. Gues what. It bugged the same way. LOL. But somehow unbugged to correct ip after 5min when i did reconnect on that phone. Same thing happenned to mine with new rom. I jst installed new rom on mine and instantly as tried connecting got wrong ip again. But after 5mins~ turned off wifi and back on and it started to work again. Same s*it with both SGS3. I gues that's samsung fail with wifi. Wich cause with some routers to work wrong. And again all other devices have no problems with these router wich have SGS3s. I think i will have to live with it or buy other router.
life_hacker said:
I dont know if your router supports it; assign your phone a static IP.
Click to expand...
Click to collapse
So router with my sg3 worked for some time for few day and locked again. BUT FINALLY I FOUND HOW TO FIX THIS PERMANENTALY!!! YES!!!
To make device get always same IP and most importantly get GOOD IP wich would not be broken and you could surf internet. You just need to reverse IP in router's network settings. This fixed my problem instantly!!!
Reverse IP, what does that mean?
Pickepys said:
So router with my sg3 worked for some time for few day and locked again. BUT FINALLY I FOUND HOW TO FIX THIS PERMANENTALY!!! YES!!!
To make device get always same IP and most importantly get GOOD IP wich would not be broken and you could surf internet. You just need to reverse IP in router's network settings. This fixed my problem instantly!!!
Click to expand...
Click to collapse
Hello,
I am having wifi problems with SG3. Can you please explain what you mean by reversing IP in router's network settings?
Example: 192.168.????
Thanks, I hope someone sees this I know this is an old thread.

no wifi at work

hey people,
here is the issue. i am able to connect to my wifi at home no issue. when i try to connect at work it says connected but i have no access to the internet. the bars are grey with the up and down arrow going crazy but the bars never turn blur. sound like its not authenticating. i noticed when i connect its always trying to connect to the same DHCP IP. i asked the network guys to release the address manually but it does not seem to have helped. any ideas. i do not know much about DHCP so i could be blowing sunshine up your a$$. ; )
i own the i757m so there is only 1 radio to choose from.
talk to your network administrator and ask them to verify if the router is actually seeing your phone.
it maybe trying to connevt but the router is not acknowledging the phone is sending a valid request.
Cosmic Blue said:
talk to your network administrator and ask them to verify if the router is actually seeing your phone.
it maybe trying to connevt but the router is not acknowledging the phone is sending a valid request.
Click to expand...
Click to collapse
he mentioned that it was seeing my phone. : (
gentledroid17 said:
he mentioned that it was seeing my phone. : (
Click to expand...
Click to collapse
I've had this in situations where free wifi is given out. My phone connects to the router but not the Web until I've registered with the service provider. It's not your phone it must be an error in your log on details, password etc
Sent from my GT-I9100 using xda premium
Maybe their DHCP server is acting up. Try setting your IP address manually (assuming you know the rest of the networking configuration as well).
Imperiale said:
Maybe their DHCP server is acting up. Try setting your IP address manually (assuming you know the rest of the networking configuration as well).
Click to expand...
Click to collapse
i also tried that. should have mentioned these things, sorry. its really irritating me. i see its connected and it says its connected. it seems like it connects to the router but the DHCP server will not authenticate if thats makes any sense.

Categories

Resources