[Q] Problems with dynamic IP address - Desire Q&A, Help & Troubleshooting

Hello Everyone, some days ago I've made a Factory Reset on my HTC Desire because was giving me some minor problems. After the reset the phone began to give me a strange and absolutely new problem: every time I try to connect trough wifi connection to a router with DHCP enabled I can't connect, meanwhile if I try to connect to a Router with DHCP disabled (so using static IP address) it works. I tried to understand what that could be, but without any luck. So I tried to flash the latest radio and latest RIL using fastboot but nothing changed. This is driving me crazy. Any Idea?!

What ROM, Hboot, etc. are you using? Do you get any errors when trying to connect to router?

Please use the Q&A Forum for questions Thanks
Moving to Q&A

Hello again! I solved my problem. I want to post here my solution so that if anyone else get in the sam trouble can find a possible solution. I was using a Cyanogen mod 7 ROM, the problem was that when I made a factory reset, without noticing, I changed my memory tables. Restoring the old memory tables, (specific tables for CM7) using HBOOT, everything gone fine.
Hope that this would be of any help to someone in future.

Related

[Q] WIFI connects but no internet?

Today I updated my ROM from LeeDroid v2.5 to v3.0.8.2. I wiped my phone first. After this I rebooted, then rebooted again into recovery and installed the recommended radio (32.56.00.32U_5.17.05.08). Then I restored my apps+dat with Titanium back up and rebooted again.
It soon became apparent that whilst mobile internet was working fine, WIFI wasn't. While my phone will connect to the router it won't connect to the internet. If I enter the local IP of my router I can browse the settings fine. I tried "forgetting" the network and re-entering security code but this still didn't work.
I restored my v2.5 nandroid backup and the internet worked fine, the radio is still 32.56.00.32U_5.17.05.08.
So I did a fresh install of the v3.0.8.2 ROM and tried connecting to WIFI again and again the same problem.
So my question is, is this an inherent problem with the ROM, and if so why does no one else seem to have this problem, or is it a setting issue?
Any help would be much appreciated.
Also I tried changing the WIFI channel as suggested in another WIFI thread, and this didn't change anything. Except the WIFI channel obviously.
And I tried a static IP address and that didn't work either.
Ben81 said:
Today I updated my ROM from LeeDroid v2.5 to v3.0.8.2. I wiped my phone first. After this I rebooted, then rebooted again into recovery and installed the recommended radio (32.56.00.32U_5.17.05.08). Then I restored my apps+dat with Titanium back up and rebooted again.
It soon became apparent that whilst mobile internet was working fine, WIFI wasn't. While my phone will connect to the router it won't connect to the internet. If I enter the local IP of my router I can browse the settings fine. I tried "forgetting" the network and re-entering security code but this still didn't work.
I restored my v2.5 nandroid backup and the internet worked fine, the radio is still 32.56.00.32U_5.17.05.08.
So I did a fresh install of the v3.0.8.2 ROM and tried connecting to WIFI again and again the same problem.
So my question is, is this an inherent problem with the ROM, and if so why does no one else seem to have this problem, or is it a setting issue?
Any help would be much appreciated.
Also I tried changing the WIFI channel as suggested in another WIFI thread, and this didn't change anything. Except the WIFI channel obviously.
And I tried a static IP address and that didn't work either.
Click to expand...
Click to collapse
You try turning off router and putting back on again? I sometime's get that in my network.
Yes I tried turning my router off for a couple of minutes then switching it back on. Didn't change anything.
Ben81 said:
Yes I tried turning my router off for a couple of minutes then switching it back on. Didn't change anything.
Click to expand...
Click to collapse
Did you sort it?
I think you need to wait before the router give your router assign an ip for your phone, btw, some router donot fit all phone model
Yes thanks I managed to sort it today by following this thread
Apparently the fault is inherent to Android 2.3.3 and seems to present itself mainly with Thompson routers. It was a static IP I needed, I'd not entered the details properly the first time.
Thanks for the replies!
Ben81 said:
Yes thanks I managed to sort it today by following this thread
Apparently the fault is inherent to Android 2.3.3 and seems to present itself mainly with Thompson routers. It was a static IP I needed, I'd not entered the details properly the first time.
Thanks for the replies!
Click to expand...
Click to collapse
Thats good

Router crashing with new Jelly Time rom

Hey guys,
I tried searching and could not find a similar problem.
Since getting the new rom I have noticed that my wireless router has been experiencing connection issues. all my devices show connectivity but i dont have access to the net. Anyways i decided to have a look and the android is creating multiple Ip entries on the router with the same mac address and everytime I turn the wifi off on my phone the problem does not occur.
Any ideas?
Thanks
tjturko13 said:
Hey guys,
I tried searching and could not find a similar problem.
Since getting the new rom I have noticed that my wireless router has been experiencing connection issues. all my devices show connectivity but i dont have access to the net. Anyways i decided to have a look and the android is creating multiple Ip entries on the router with the same mac address and everytime I turn the wifi off on my phone the problem does not occur.
Any ideas?
Thanks
Click to expand...
Click to collapse
Have you tried going into development settings and turning of Android Debugging or ADB over network? Just a suggestion, not sure if it will work.
etdude said:
Have you tried going into development settings and turning of Android Debugging or ADB over network? Just a suggestion, not sure if it will work.
Click to expand...
Click to collapse
nah cant be that, I had them turned off already.
Thanks for replying anyway. I searched google and its a pretty common problem with no concrete solution, might need to flash the rom again.
tjturko13 said:
Hey guys,
I tried searching and could not find a similar problem.
Since getting the new rom I have noticed that my wireless router has been experiencing connection issues. all my devices show connectivity but i dont have access to the net. Anyways i decided to have a look and the android is creating multiple Ip entries on the router with the same mac address and everytime I turn the wifi off on my phone the problem does not occur.
Any ideas?
Thanks
Click to expand...
Click to collapse
Why don't you try binding the MAC Address to a static IP so it's no longer able to create multiple entries on the DHCP Table?
tjturko13 - have you tested to use another standard 802.11 Modus - instead "n"? Just switch it at your phone or router.
What router do you have? Can you update the firmware? ^^
Sent from my HTC One X / Desire HD using xda premium
Wolfy9247 said:
Why don't you try binding the MAC Address to a static IP so it's no longer able to create multiple entries on the DHCP Table?
Click to expand...
Click to collapse
i dont think my router allows this, the only option I have is to specify if I want to allow mac filtering.
Have checked out my last post about the wlan-standard?
I found also another thread about a member with wifi problems after updating his rom. He didnt flash the new boot.img - but dont know if it was the solution.
See this thread http://forum.xda-developers.com/showthread.php?t=1831299
Sent from my HTC One X / Desire HD using xda premium
\/\/iLLow said:
Have checked out my last post about the wlan-standard?
I found also another thread about a member with wifi problems after updating his rom. He didnt flash the new boot.img - but dont know if it was the solution.
See this thread http://forum.xda-developers.com/showthread.php?t=1831299
Sent from my HTC One X / Desire HD using xda premium
Click to expand...
Click to collapse
thanks ill check out that thread,
at the moment my router is set to just g
its a isp provided cablel router that does not let me mess around with FW but i have checked and it seems to have the latest FW
where do i get the boot.img file from?
Did you get your new rom over the air? (Stock rom)
Or did you flash a custom rom?
You have to give us more software informations about your rom. Is your device s-on or s-off?
Stock rom you need the right RUU exe file. Just doubleclick - yes yes yes
Custom rom you need to download the custom boot.img.
\/\/iLLow said:
Did you get your new rom over the air? (Stock rom)
Or did you flash a custom rom?
You have to give us more software informations about your rom. Is your device s-on or s-off?
Stock rom you need the right RUU exe file. Just doubleclick - yes yes yes
Custom rom you need to download the custom boot.img.
Click to expand...
Click to collapse
sorry willow
I have the jelly time rom beta 10
s-off
and have also flashed the kernel zip file in the jelly time rom thread
Ow, okay =)
so do you have this rom? http://forum.xda-developers.com/showthread.php?t=1778202
There is an update available. I saw another post of an user with wifi-problems. He flashed the update and the problems were solved.
I've also noticed, that the wifi might have some problems with some channels as you can see here:
Broken:
bluetooth - works in beta 7. Broken in beta 8 +
Working:
Wifi Tethering
camera - not perfect still buggy
Mic
accelerometer
audio
bluetooth
wifi - may not support some channels
hw acceleration
buttons
lights
gps
gsm
lots more
Click to expand...
Click to collapse
Hope it works :cyclops:
PS. this is the thread with the same problem i think:
http://forum.xda-developers.com/showthread.php?t=1818819
just did a full wipe, format, installed new update and still have the issue. some one has to have also experienced this before.
tjturko13 said:
just did a full wipe, format, installed new update and still have the issue. some one has to have also experienced this before.
Click to expand...
Click to collapse
I'm sorry for you.
- You could even try to change the wifi-channel to 1, 4 or 6 and disable wifi-security in the second attempt for test only.
- Try also to set a static ip in your phone (for your wlan).
- If you are bored you can reset the whole router to its factory defaults and leave all standard. Just enable wlan (and the isp connection) - but dont change the default ssid, wlan-security or channel etc.
Otherwise I have no more ideas.
With google you can find dozens of users crashing their routers with android or ios phones . Good luck dude!
wifi crashes router
\/\/iLLow said:
I'm sorry for you.
- You could even try to change the wifi-channel to 1, 4 or 6 and disable wifi-security in the second attempt for test only.
- Try also to set a static ip in your phone (for your wlan).
- If you are bored you can reset the whole router to its factory defaults and leave all standard. Just enable wlan (and the isp connection) - but dont change the default ssid, wlan-security or channel etc.
Otherwise I have no more ideas.
With google you can find dozens of users crashing their routers with android or ios phones . Good luck dude!
Click to expand...
Click to collapse
Ive had this problem to since switching to 'randomblame's kernel based ROMS (jellytime CM, jellytime aokp and jellytime by PACMAN - Paranoid, CM and AOKP).
Apparently it is a kernel issue and the only thing you can do is some of the things above or here
I was here hoping there might be a fix... I tried static IP, changing the router channel, WIFI never sleep etc etc etc.
The only workaround I found so far was to turn off wifi when Im done, it only seems to break when the phone is inactive for 5 minutes +.
brandub said:
Ive had this problem to since switching to 'randomblame's kernel based ROMS (jellytime CM, jellytime aokp and jellytime by PACMAN - Paranoid, CM and AOKP).
Apparently it is a kernel issue and the only thing you can do is some of the things above or here
I was here hoping there might be a fix... I tried static IP, changing the router channel, WIFI never sleep etc etc etc.
The only workaround I found so far was to turn off wifi when Im done, it only seems to break when the phone is inactive for 5 minutes +.
Click to expand...
Click to collapse
Exact same problem here. It took some time before I figured out that my phone was overwriting my gateway's MAC address, but I finally saw that message from another machine in my network:
Code:
arp info overwritten for 192.168.1.254 by 91:31:58:5d:e8:34
1.254 being my gateway's IP. I also tried giving my phone a static DHCP entry but it just didn't change anything. Any useful sysctl maybe ?
FWIW, it seems I "fixed" that issue by making my routers MAC address association permanent on my (manageable) switch. That obviously don't fix the real problem, but does not shut down the router's NIC. FYI, on a GNU/Linux machine, this is done with the arp command, i.e.:
Code:
# arp -s 192.168.1.254 00:ca:fe:ba:be:00
192.168.1.254 being your router's IP
HTH

[Q] Obtaining ip...

Hello!
I've been searching for a long time about this issue but I haven't found aan answer...
I have a rooted GN with original rom and recovery. Yesterday I wiped the phone and now I'm not able to connect to any wifi network.
The phone is always "obtaining ip...". And that's all.
I also have a Nexus S and one computer connected to my wifi and they are working fine.
I also tried to connect to another wifi and the result was the same..
Before yesterday I had no problem, even with the phone rooted.
My android version is 4.2.2.
I tried to reset my router (Netgear), tried all security options (open, wep, wap2, etc).
I have no mac filter... I think I already tried all the "logic" options but I always get the same
I start thinking the problem can be android 4.2but I don't know what is whatt I'm doing wrong.
Thank in advance for any help!
Best regards
Flash a factory build to your device to isolate it as software related.
I had a similar issue with a tplink router, now i have a asus and the issues are gone.
063_XOBX said:
Flash a factory build to your device to isolate it as software related.
Click to expand...
Click to collapse
I downgraded to android 4.1 build factory and works. thanks
That's an odd problem.
You already downgraded, so there is no scope for trouble shooting.
- wore out your welcome

[Q] CM11 WiFi doesn't connect

Hi there, my first post.
I've used arco68's guide to root my S4 mini LTE (serranoltexx) and flashed the CyanogenMod 11 M9 snapshot (cm-11-20140804-SNAPSHOT-M9-serranoltexx.zip), but the WiFi isn't working properly. Sometimes it connects (very rarely), but most of the time it just says "Connecting", "Authenticating..." and then goes back to say "Saved, secued with WPA" and the process repeats again.
I've tried flashing the following ROMs, but the WiFi isn't working properly on either of them:
cm-11-20140804-SNAPSHOT-M9-serranoltexx.zip (current)
cm-11-20140708-SNAPSHOT-M8-serranoltexx.zip
cm-11-20140813-NIGHTLY-serranoltexx.zip
Other things I've tried so far:
Using CM File Manager to delete contents of /data/misc/wifi and rebooting, as described here, but it didn't help.
Installed SQLite Debugger, went to Settings Storage > setttings.db > Global, where I wanted to change the value of wifi_display_on to 0 as described here, but it was already set to 0, so no luck here.
Changed the Region Code in WiFi settings (as described here) to United States, then to Europe, but this didn't help either.
Installed the latest nightly update, but still nothing.
Basically, I've tried everything I could find, but the WiFi still doesn't work, and I have no idea why. I don't want to downgrade to CM 10.2, since later when I decide to upgrade to CM 11, I'd need to wipe all the data and make a clean CM11 install. Also, I don't want to flash any other ROM except CM, so telling me to install Paranoid Android or anything else wouldn't help.
If you have any ideas how to solve this, that would be great! Also, feel free to ask for any additional details.
Update: I've just discovered that it connects to open WiFi networks without any problems (though I've only tried it on 2 so far), so probably WPA encryption or my old home router can be the cause of the problem. I can only change my home router to WPA (it doesn't work with WPA2), so I've yet to try it on another router supporting WPA2. If that works, it would solve the whole problem! I'm ashamed to say I haven't thought of this earlier...
Update 2: I just tested it on a WPA2-protected WiFi network and it connects without problems. The most likely conclusion seems that CM11 has some problem with WPA, so for the time being I'll switch to another router with WPA2. Hopefully gets fixed with the next snapshot!

Wifi problems after flashing custom ROM

Hi all,
I am having problems with my wifi connection after flashing a custom rom. A few months ago I tried to flash lineage OS on the XT1685. This went wrong and the Phone was bricked. Last week I gave it a go once more and was able to flash back a stock rom from Motorola but something weird was going on. I couldn't get a WIFI connection ( no wifi signals in search wifi networks) and MAC-adress was shown as 02:00:00:00:00
I tried a whole bunch of possible solutions but none of them solved the issue. For example I tried to flash the WIFI-Fix, Tried emptying persist/wifi/.macaddr but there was nothing in it. How am I going tho get back my MAC adress! If the original MAC cant't be found is it possible to add another one? Maybe from an other phone or something?
Please help! I am stuck in this situation. Without WIFI the phone is pretty much useless.
Regards Remy

Categories

Resources