"Obtaining IP address" loop. - T-Mobile LG V10 Q&A, Help & Troubleshooting

So I flashed Viper4Arise via TWRP and ever since then I'm having an issue with the WiFi handshake. When connecting to my home network, or any network for that matter it just loops at "obtaining IP address". I've narrowed it down to this just being a problem with the DHCP protocol because I was able to connect using a static IP address. The only problem is I have a 500MB data plan (I'm cheap) and rely heavily on Spectrum's hotspots in my area while I'm working, and my job requires me to be at a different location everyday so DHCP makes my life SO much more convenient. Has anyone else experienced something like this and overcome it? I just don't see how flashing an audio mod would affect my WiFi setup. I'm also using Eliminator74's debloated rooted stock ROM. Im assuming the problem lies within /etc/dhcpcd.

Related

Galaxy S2 is able to connect to wi-fi router but can't access Internet ??

hi,
I've linksys wi-fi router model WRT54GH in my home & it has a good amount of signal strength to cover entire area.
My recently bought galaxy S2 is able to identify linksys wi-fi access point & connects too with the IP assigned to it, also at wi-fi settings connected being displayed.
Now when I try to access Internet (any url google/FB), it doesn't connect at all.
I tried almost everything about router configuration, restart etc. but with no success
can someone plz help on this ?
shantanu_d said:
hi,
I've linksys wi-fi router model WRT54GH in my home & it has a good amount of signal strength to cover entire area.
My recently bought galaxy S2 is able to identify linksys wi-fi access point & connects too with the IP assigned to it, also at wi-fi settings connected being displayed.
Now when I try to access Internet (any url google/FB), it doesn't connect at all.
I tried almost everything about router configuration, restart etc. but with no success
can someone plz help on this ?
Click to expand...
Click to collapse
In my case the problem was with frozen "WiFi sharing" in combination with juicy defenders "Location" fearure. It seems such combination is dangerous. Solutin (in my case):
1. defroze
2. remove all wifi networks
3. reboot (for "clean" frozing)
4. make WiFi sharing frozen
5. reboot again just for fun
Try to check your router's MAC address restrictions. In my router, as security, I have to add MAC addresses of each device to share internet. They take IP's, connects etc. but does not have accesses to internet
as above, check that there is no MAC filtering set up.
one other thing it may be is the security settings, if you have a WEP Key to access the router it may need the Hex conversion of your key depending on what level of security you have (64bit or 128bit for example)
shantanu_d said:
hi,
I've linksys wi-fi router model WRT54GH in my home & it has a good amount of signal strength to cover entire area.
My recently bought galaxy S2 is able to identify linksys wi-fi access point & connects too with the IP assigned to it, also at wi-fi settings connected being displayed.
Now when I try to access Internet (any url google/FB), it doesn't connect at all.
I tried almost everything about router configuration, restart etc. but with no success
can someone plz help on this ?
Click to expand...
Click to collapse
Try setting up a static IP address for your phone, I presume your network is a 192.168.1.0, go into router settings and LAN setup, give your phone the address in a static DHCP assignment of 192.168.1.5, or any other address in the same subnet your in. Some SGSII's have problems with dynamic DHCP for some reason, some NS had the same problem too,
Sent from my Sammy Galactic S2 Beastly Device
I have a similar problem and I fix mine temporarily by turning my wifi off, then in wifi settings > advanced, I change wifi sleep policy from 'never' to 'only when the screen is off'. However I have to do this every time I want to use wifi so it can become quite annoying sometimes.
So I can get through however only for a short period of time as it seems as long my Galaxy S2 keeps turning off my wifi even though it's on :/
I had exactly the same issue on Linksys E4200 with my laptop, could connect to network, even to router's attached storage, but not to internet. Restart helped
On SGS2, I couldn't connect to the router at all at first, but fixed this by switching from WPA2/WPA mixed mode access protocol to WPA2 private. But I guess this is not exactly your issue.
SiSL said:
Try to check your router's MAC address restrictions. In my router, as security, I have to add MAC addresses of each device to share internet. They take IP's, connects etc. but does not have accesses to internet
Click to expand...
Click to collapse
Thanks for the suggestion but MAC restriction is already disabled at router
Robsso said:
I had exactly the same issue on Linksys E4200 with my laptop, could connect to network, even to router's attached storage, but not to internet. Restart helped
On SGS2, I couldn't connect to the router at all at first, but fixed this by switching from WPA2/WPA mixed mode access protocol to WPA2 private. But I guess this is not exactly your issue.
Click to expand...
Click to collapse
Yes, you are right this is not an issue for me.
In fact my SG2 being assigned with an IP address from 192.168.1.xx subnet.
Also at a same time my laptop connected with an IP from same subnet able to ping SG2.
OccasionalDroid said:
Try setting up a static IP address for your phone, I presume your network is a 192.168.1.0, go into router settings and LAN setup, give your phone the address in a static DHCP assignment of 192.168.1.5, or any other address in the same subnet your in. Some SGSII's have problems with dynamic DHCP for some reason, some NS had the same problem too,
Sent from my Sammy Galactic S2 Beastly Device
Click to expand...
Click to collapse
My SG2 being assigned with an IP address from 192.168.1.xx subnet.
So I think IP addressing may not be an issue.
Also another thing I tried was, at a same time my laptop connected with an IP from same subnet able to ping SG2.
So wi-fi router may not be an issue here, whats say ???
Even I am facing the same issue at my office network. I am able to connect to the wireless network but if I try to access any app I cannot browse. This is really frustrating looks like some issue with the modem drivers.
I was able to browse on another wifi created virtually by mobile tethering. This looks like a major bug with the current firmware. Another interesting thing to note is that the Wifi network has a hidden SSID and uses WPA2 auth scheme.
I have seen a Galaxy S able to connect to the same n/w without any issues.
Has anyone figured out a solution to this one ?
Hi, thanks for your reply.
I am yet to figure out a solution for this
Even I am also agree on the probable issue with modem driver.
I've D-link modem.
Are you aware of anything about this modem that can be reconfigured to get this worked ... ?? pl let me know
The wifi router at my office is Cisco Aironet 1200 Series, anyone else facing this issue ?
I'm having the same problem at work connecting my SGS2 with v2.3.3 Official Firmware (customized for Orange service provider) to a Cisco Aironet 1130 AP. I can see that the Galaxy authenticates with the AP correctly and gets IP from the DHCP server, but it cannot send or receive any traffic, although the phone stays connected and authenticated. At home, I use an Atheros based Fonera with DD-WRT without any problem.
As I'm the company's network administrator, I will try to further investigate this problem, but it seems like some kind of incompatibility between the devices or misconfiguration ....
Basuk said:
The wifi router at my office is Cisco Aironet 1200 Series, anyone else facing this issue ?
Click to expand...
Click to collapse
try turn off the wifi, turn off the mobile data and turn on the wifi again
It seems the SGS2 sometimes has problems with DNS.
Try a static IP and use 8.8.8.8 as second DNS server, which is a free Google DNS server.
This fixed MY problems
I rooted my SGS2 and voila wifi worked at my office finally I have been able to find a solution.. love my SGS2 the Beast...
I'm having this same problem..
I think I've tried all the solutions above, but one (Sorry - noob question):
Rooted?
is there a firmware patch or something that I should know about?
Anyone got any other ideas?
ETA:
I can connect to hotspots (DHCP) and at home (Have to set it to static tho)
No internet
AP works - Laptop and i8910 (had to set static and advanced settigs etc). I've rebooted it a few times, set DHCP on and off. DHCP seems to be running on the router
viqles said:
I'm having this same problem..
I think I've tried all the solutions above, but one (Sorry - noob question):
Rooted?
is there a firmware patch or something that I should know about?
Anyone got any other ideas?
Click to expand...
Click to collapse
This is an issue with SGS2 with wifi server using authentication protocol TPIK, if you use AES as encryption then it will work without any issues.
That should be a setting in my AP? I can't see it...
If I get a new non-crappy AP is that likely to solve my problem?
ETA:
Ah - that's a WPA thing? Mine only seems to do WEP - is that right?

DNS Problems After Bell 2.3.4 Update

So when I was using 2.2.2 my WIFI connection was working flawlessly with DHCP setting my wireless settings.
I flashed 2.3.4 using NFHimself's Gobstopper without any errors, did a factory reset afterwards and I get an internet connection over mobile with no problems, however on my home WIFI network w/ DHCP (on which 2.2.2 worked fine), it cannot resolve addresses past my router (can browse to the router config fine). Now if I set a static IP and the DNS servers manually, it works over WIFI, however when the WIFI radio turns back on from sleeping it gets stuck at obtaining an IP address.
So I tried leaving it with DHCP giving me an IP address, and then using Set DNS to use google's DNS servers instead of my router's IP, and it seems to work in all situations, however it leaves me unable to browse my LAN (even when one dns domain is left as my local domain server).
I installed Network Monitor II to watch my wireless settings for the three setups:
For just using DHCP, the DNS servers are both set to my router's IP
For static settings, the DNS servers are whatever i set them however i cannot browse my LAN when one is left as my router's IP
For DHCP w/ a custom DNS, it is the same as using static settings
Not sure whether to think this is a problem with the update, or a problem with my router (however no settings were changed before or after the update on it). Anyone have any ideas?
Router: Linksys WRT54GL running DD-WRT
I read somewhere that having the "Filter WAN NAT Redirection" setting enabled in DD-WRT causes this sort of behavior on some mobiles, it is not enabled.
Only thing I could find that I thought it might be is Android Bug Issue 10315 (to which I cannot post a link as I lack sufficient posts... so far), but am still unsure
I should also note that I have two routers (both identical), but only one deals with the DHCP and DNS, the other is more just a wireless AP. Thus, all of my lan is on 192.168.1.*, including both routers ( x.x.x.1 and x.x.x.2 ). uDHCPd is my DNS server on my router, but I might try dnsmasq in the next couple days.
Jiraffe said:
So when I was using 2.2.2 my WIFI connection was working flawlessly with DHCP setting my wireless settings.
I flashed 2.3.4 using NFHimself's Gobstopper without any errors, did a factory reset afterwards and I get an internet connection over mobile with no problems, however on my home WIFI network w/ DHCP (on which 2.2.2 worked fine), it cannot resolve addresses past my router (can browse to the router config fine). Now if I set a static IP and the DNS servers manually, it works over WIFI, however when the WIFI radio turns back on from sleeping it gets stuck at obtaining an IP address.
So I tried leaving it with DHCP giving me an IP address, and then using Set DNS to use google's DNS servers instead of my router's IP, and it seems to work in all situations, however it leaves me unable to browse my LAN (even when one dns domain is left as my local domain server).
I installed Network Monitor II to watch my wireless settings for the three setups:
For just using DHCP, the DNS servers are both set to my router's IP
For static settings, the DNS servers are whatever i set them however i cannot browse my LAN when one is left as my router's IP
For DHCP w/ a custom DNS, it is the same as using static settings
Not sure whether to think this is a problem with the update, or a problem with my router (however no settings were changed before or after the update on it). Anyone have any ideas?
Router: Linksys WRT54GL running DD-WRT
I read somewhere that having the "Filter WAN NAT Redirection" setting enabled in DD-WRT causes this sort of behavior on some mobiles, it is not enabled.
Only thing I could find that I thought it might be is Android Bug Issue 10315 (to which I cannot post a link as I lack sufficient posts... so far), but am still unsure
I should also note that I have two routers (both identical), but only one deals with the DHCP and DNS, the other is more just a wireless AP. Thus, all of my lan is on 192.168.1.*, including both routers ( x.x.x.1 and x.x.x.2 ). uDHCPd is my DNS server on my router, but I might try dnsmasq in the next couple days.
Click to expand...
Click to collapse
I did flash NFHimself's ROM without any issues. My wireless LAN was working fine. Did not noticed any issue on my side. Try with another Wireless router without all the setup you've done. Pretty sure the issue is with your routers.
I don't understand why you are not able to reach you LAN with google's DNS configured...? Do you have some sort of DNS entry specific to your LAN configured into your router?
the problem seemed to solve itself when i switched my router's DNS server daemon from UDHCPD to dnsmasq.
And I couldn't reach my lan when i had both dns servers forced to google's servers as google's servers don't know how to route to addresses inside my lan. But that's not a bug, that is how it is supposed to work.
Good !
Sent from my MB860 using xda premium

[Q] Droid X2 stuck on Obtaining Ip Address WIFI issue [SOLVED]

This has been plaguing me for a few days now and I just want to share the solution I found for you guys. Have you ever had this issue? Your selected wireless network has been working great for days and suddenly one day it refuses to connect anymore. I would hit connect and the phone would be stuck in a "Obtaining IP address from WIFINETWORK" "Disconnected" "Scanning" cycle and so forth. You can wait forever and the phone will never connect to wifi.
The first time this happened to me I did a hard reset. Worked like a charm, I was able to use the network again for a few days until it began happening again. I decided a reset was not the solution so I looked for an answer. I happened upon sites like this:
http://anxiousnut.wordpress.com/201...d-obtaining-ip-address-wifi-issue-workaround/
Where certain solutions were posted but none seemed to work for me. I decided that it definitely wasn't my router (although some said resetting your wireless router may also work sometimes).
I finally stumbled upon the answer. The solution is to use a static ip by going into to Settings>Wireless & Networks>Wi-Fi settings>Menu Click to Advanced and then check Use static IP. You must figure out these values: IP Address, Gateway, Netmask, DNS 1, DNS 2.... Luckily, it is pretty easy.
IP ADDRESS
To find this, go back and select your wifi network. Hit "Modify" and see the IP address listed. Copy that down, this is your IP Address.
GATEWAY
This is your router's IP address. You will need a computer that is connected to the network already. For Windows, run a command prompt and type ipconfig to show you the default gateway address. For Mac, go to the network preference pane in system preferences. Click advanced and go to TCP/IP tab.
NETMASK
You will find this in the previous step. Often it is 255.255.255.0.
DNS 1
Put in the same IP you found for the gateway box.
DNS 2
Same as above.
In the end it will look something like this:
IP Address: 192.168.1.107
Gateway: 192.168.1.1
Netmask: 255.255.255.0
DNS 1: 192.168.1.1
DNS 2: 192.168.1.1
Connect again and it works. No need to factory reset. Enjoy!
Update: After a few days, something in the phone's wifi settings seem to "correct" itself and your wifi will not work with this method anymore. Simply go back and disable static IP and your phone will be back to its old self again. If the symptoms appear again, you can follow these steps again.
I wonder if this will help with eclipse 2.0.3 disconnecting issues
Sent from X2 Eclipsed using xda app
I was having this problem with CM7 and this fixed it. Thanks!
thanks solved my problem i m so very grateful
Careful, this "fix" could be very temporary... If you set a static IP and do not configure your router to use static IPs you will at some point run into conflicting IPs if you have other devices on the network. The router is dynamically allocating IP addresses if you use a standard DHCP setup and can give your chosen IP for your phone to any device on the network, creating a situation when you cannot connect or you can connect but it does not work. If you want to use static ips on your phone with the router, you have to configure the router to understand this by disabling DHCP and setting up static IPs for all devices or by allocating fixed IP for certain MAC addresses. SO either setup both your phone and router to use a static IP or change the DHCP lease time to something other than "infinity" .
Most routers strart DHCP allocation at .100. Check with your particular routers manual. If you assign the IP less than .100 you should be fine as long as you don't assign another device with the same IP.
Sent from my MB870 using Tapatalk 2
A workaround != A fix.
DigitalMD said:
Careful, this "fix" could be very temporary... If you set a static IP and do not configure your router to use static IPs you will at some point run into conflicting IPs if you have other devices on the network.
Click to expand...
Click to collapse
I'm with DigitalMD - this is a very kludgy "fix" that will lead to trouble in the future. I am coming to believe there is a consistent interoperability issue between Android and some other systems (OS X and some routers??) that leads to issues - both my GN with 4.0.4 and my JetStream with 3.1 will routinely fail to connect both to my Mac (10.7) and the routers, primarily in a couple of particular offices - maybe it's just a high-noise area (one is an older building). The devices both connect fine to my home wifi (WRT54G) and most internet cafes.
Not a good fix
This isn't really a fix for the problem. I connect to multiple wireless networks, between work and home and friend's houses, and they all have different routers. Setting a static IP is impractical, because I have to turn it on with certain networks and off with other networks, or change the static IP from one router to another.
Why does this happen? It works fine for a while, then one day it just doesn't want to take an IP address from the router. For me, it works fine at home and at my parents, but at work, it doesn't want to connect anymore. It's been connecting fine for months, then yesterday it got stuck with obtaining IP.
Setting a static IP isn't a solution; it's a cop-out. Does anybody know why this happens? Does anybody know how to fix it?
I was experiencing this from past couple of days than I just put static IP works really great for me :laugh: it was a biggest headache, now past.

[Q] Wifi has connection but no internet access

I am currently on Genesis3D v6.1 ICS sense 3.6, everything is perfect except wifi. It could be turn on,it can successful search wifi, it can connect to any hot spot, and succesully get ip address, however the internet is not transmitting any data. I tried quite few different internet router (public and private ) I still cannot access internet through wifi. Any one has idea about what's going on?:angel:
Check what ip yer getting at home. I had a similar issue with wifi. Turns out it had some weird ip address. I assigned a static, rebooted and runs great...
It's most likely the router. Also, depending on Internet provider, the modem could be at fault. Comcast does something stupid where new devices connected are blocked or something. I have had other people's laptops connect to my wifi but be denied Internet access. Have to reset the modem and router or something stupid to connect the first time.
Sent from my PG86100 using XDA
monkey3ddd said:
Check what ip yer getting at home. I had a similar issue with wifi. Turns out it had some weird ip address. I assigned a static, rebooted and runs great...
Click to expand...
Click to collapse
I used static ip at home, I am sure the ip address is correct, it is in the same ip domain as my computer. it is not a wired ip address.
gk1984 said:
It's most likely the router. Also, depending on Internet provider, the modem could be at fault. Comcast does something stupid where new devices connected are blocked or something. I have had other people's laptops connect to my wifi but be denied Internet access. Have to reset the modem and router or something stupid to connect the first time.
Sent from my PG86100 using XDA
Click to expand...
Click to collapse
I dont think it is the router, I tried different routers, and I also tried public hotspot. all the wifi I tried does not work. however, the IP address issued to my phone is totally good.
I have the same problem with every sense 3.6 ROM, and with Sense 4.0 or 3.0 (with GB) works perfectly...
Anyone knows how to solve it, please?
I had the same problem only when using a static IP address.
Changing the subnet mask to 32 (although 32 stands for 255.255.255.255 and is obviously wrong) worked for me
ScrewL00se said:
I had the same problem only when using a static IP address.
Changing the subnet mask to 32 (although 32 stands for 255.255.255.255 and is obviously wrong) worked for me
Click to expand...
Click to collapse
Awesome!! It also worked for me!
Thank you very much!! ^^

wifi stuck at obtaining ip address

Been having this issue with my home wireless router for weeks. If I restart my router, the Vibrant will connect with no problem. If I go somewhere and connect to another wireless network, then back to my home network, the phone is stuck at "obtaining IP address..." I tried a lot of methods, such as wifi-fixer apps, tweaked router's wireless settings etc, but nothing worked. So yeah... I can connect to my university wifi normally, and my other devices can connect to my home wireless without problems.
I now i exhausted all my options The rom I have should be pretty much stock froyo (downloaded here), and the modem is KB5, which I may add, worked perfectly fine with pure stock up until I started trying out other roms.
Help pls >.<

Categories

Resources