Related
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.
Hello everybody,
I´m trying to setup my I9100 wifi connection for my work and at home and just got a question, at my home i got wifi with automatic ip address asignment and at work we have static ip addresses, so always when i arrive at the office i need to change the wifi settings to static ip address to be able to connect to wifi. Is there anyway i could configure both connections one for static and one for automatic, so the phone will connect automaticly when i arrive to the office and when i get home without changing the settings always.
There's apps on the market which should do what you want. http://market.android.com/details?id=com.farproc.wifi.statIc is the first one I found, but searching for something like "wifi dhcp" will probably find more.
Thanks, appreciate your help!
Hello,
I just bought a new mobile 2 days ago: Samsung Galaxy S3 (International version GT-I9300)
I usually use an Ad-hoc connection network to browse internet from mobiles or another wireless device.
Now, with the new samsung device, i am unable to setup a static ip address to the mobile phone. Can someone please help me?
Note:
I already went through settings --> About Device --> Status --> IP Address marked as unavailable.
And
Settings --> Wi-Fi --> Advanced --> IP address Unavailable
I read on google, we should have had "enable IP address" and i cant seem to find it.
Other useful information: Android version: 4.04
Kernel version: 3.0.15
Thanks for helping in advance.
Kind regards
Takeur
Long press on your connected network and modify. You can only set static ip addresses individually for each network.
Sent from my GT-I9300 using Tapatalk 2
undertakeur said:
Hello,
I just bought a new mobile 2 days ago: Samsung Galaxy S3 (International version GT-I9300)
I usually use an Ad-hoc connection network to browse internet from mobiles or another wireless device.
Now, with the new samsung device, i am unable to setup a static ip address to the mobile phone. Can someone please help me?
Note:
I already went through settings --> About Device --> Status --> IP Address marked as unavailable.
And
Settings --> Wi-Fi --> Advanced --> IP address Unavailable
I read on google, we should have had "enable IP address" and i cant seem to find it.
Other useful information: Android version: 4.04
Kernel version: 3.0.15
Thanks for helping in advance.
Kind regards
Takeur
Click to expand...
Click to collapse
Set Static IP in SGS3
- enable phone wifi then connected to wifi
-Setting >wi-fi >long press the Wi-Fi network that you connected >Modify network config.>enable Show advanced options that you will find the way to set static ip
resustop carn
zamth2001 said:
Set Static IP in SGS3
- enable phone wifi then connected to wifi
-Setting >wi-fi >long press the Wi-Fi network that you connected >Modify network config.>enable Show advanced options that you will find the way to set static ip
Click to expand...
Click to collapse
Hello,
I would like to know how to setup the ip of my phone?
The solution u gave works to setup the network of my adhoc.
My IP setting remains greyed out.
Let me be more specific:
My adhoc network ip address: 192.168.1.1 /24
i would like to setup my phone ip to 192.168.1.30 /24 in order to allow connection. How to do it?
Kind regards
Takeur
undertakeur said:
Hello,
I would like to know how to setup the ip of my phone?
The solution u gave works to setup the network of my adhoc.
My IP setting remains greyed out.
Let me be more specific:
My adhoc network ip address: 192.168.1.1 /24
i would like to setup my phone ip to 192.168.1.30 /24 in order to allow connection. How to do it?
Kind regards
Takeur
Click to expand...
Click to collapse
Like we both said, once the network is connected, in the list of wireless networks, long press the network and select "Modify".
You cannot set a static IP where you are looking. This would affect all wireless networks and also your carrier network. You would NOT want to be able to do that
rootSU said:
Like we both said, once the network is connected, in the list of wireless networks, long press the network and select "Modify".
You cannot set a static IP where you are looking. This would affect all wireless networks and also your carrier network. You would NOT want to be able to do that
Click to expand...
Click to collapse
The problem: the network never gets connected, as it needs a static IP first.
I understand the long press/ modify network. Even if i do it and configure the AP's IP, i cant setup the IP of my phone still.
Anybody who have the same phone as me, has he had more success please?
You don't need to actually connect. Scan so you can see it in the network list. Try to connect. As soon as you try to connect, even if it fails, you can then long press the network and modify it.
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
You don't need to actually connect. Scan so you can see it in the network list. Try to connect. As soon as you try to connect, even if it fails, you can then long press the network and modify it.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I just set the ip as follow: 192.168.1.30
The gateway is set to 192.168.1.1
Still there is no connection possible.
Cant help there.
Same problem here! Anyone found a solution?
I set the password, I enable Show advanced options, I set the static ip, gateway and DNS BUT the "connect" button(if I make my first connection) or the "save" button(if I chose modify) are greyed out on both cases!
does anyone know why?
p.s. I have done this with success in my Galaxy S2 with ICS!
---------- Post added at 12:58 PM ---------- Previous post was at 12:00 PM ----------
I just found a solution!
I installed this app WiFi Manager found my wifi throught this app, setup the static IP, mask, gate, dns, saved and I was connected! then went to the android wifi menu, saw that this info was also saved there, so I uninstalled WiFiManager and now everything is OK!
Hello,
did u root ur device?
I installed that app too and configured the ip address for wlan card.
But when i checked with this application: "Display Wifi IP", it says that the ip is not configured.
Can u please post screenshots how u managed it?
Thanks in advance.
Takeur
tolisHD said:
I just found a solution!
I installed this app WiFi Manager found my wifi throught this app, setup the static IP, mask, gate, dns, saved and I was connected! then went to the android wifi menu, saw that this info was also saved there, so I uninstalled WiFiManager and now everything is OK!
Click to expand...
Click to collapse
No, my phone is not rooted.
these are some screen shots of what I did:
1.wifimanager-push and hold the wifi
2.wifimanager-select "assign IP address"
3.wifimanager-write the IP, mask, gateway, DNS
4.android wifi settings- saved(forever) and connected (even if you uninstall wifimanager)
tolisHD said:
No, my phone is not rooted.
these are some screen shots of what I did:
1.wifimanager-push and hold the wifi
2.wifimanager-select "assign IP address"
3.wifimanager-write the IP, mask, gateway, DNS
4.android wifi settings- saved(forever) and connected (even if you uninstall wifimanager)
Click to expand...
Click to collapse
i did it that way too, however when i use the software "display wifi ip", it remains 0.0.0.0
With wifi manager, i was able to configure my ip, but looks like it is a permission issue
Anybody's else who knows something more?
Try changing your network prefix length to 32/24/16 or 8.
I had everything filled in completely and correctly except I left the length to 24 and the connect button was staying grayed out.
Once I changed it to 32 from the default 24 the button lite up and I immediately connected.
Grunnsetning said:
Try changing your network prefix length to 32/24/16 or 8.
I had everything filled in completely and correctly except I left the length to 24 and the connect button was staying grayed out.
Once I changed it to 32 from the default 24 the button lite up and I immediately connected.
Click to expand...
Click to collapse
Already did that my friend.
The mobile is not rooted and we cant set up ad hoc networking (or a static wifi ip)
Simply pathetic.
People r making petitions as far as i no. Thanks a lot guys for helping out.
I have this problem too. I had my home WiFi with Static IP configured on my S3 a couple of weeks ago. Then I come back from a vacation, just to realize S3 forgets the WPA2 key to my network. "No worries", I said to myself, and tapped it in again.
Then I set IP settings to Static IP, but the IP address/mask/gateway/both DNS fields are all greyed out! I can't enter anything. This is ridiculous!
EDIT: Forget it guys. I'm stupid. It wasn't greyed out, but it was displaying an input mask in a grey colour. Ugh. Everything's ok.
My WIFI Fix Note 2
Ok, So here was my scenario:
I was unable to connect to my work wifi with hidden SDID and Static IP. Everytime I went to put it in, it wouldn't connect and then my wifi would turn off.
I had to find the app called AT&T Smart Wi-Fi. I turned off the wifi via this app.
After I did that, I went back into my settings and turned on the wifi under the settings dialog and not with this Smart Wi-Fi app. Then it finally let me connect, I managed to goto advanced settings after I was connected added my static IP and was good to go
Good luck everyone!
I have had a Netgear Powerline Adapter system set up in my Bedroom (XAVNB2001) for the past year and a half, because the signal from my Cisco E4200 doesn't effectively reach up there. It has its own SSID, on the 2.4GHz band. It has been completely solid and reliable, and I use it all the time with my Verizon Samasung Galaxy Nexus (stock ROM 4.2.2), and Asus Infinity Tablet (stock ROM 4.2.1). My wife also used it without problem with her prior Motorola Droid 3.
But for reasons I can't identify, my wife's new Galaxy S4 won't connect to it. Also Stock ROM 4.2.2. Her phone sees the Adapter/SSID, and shows a strong signal when we're up there. I enter the passcode with the same encryption (WPA/WPA2 PSK) as I have on the other working devices, and it quickly goes to "Acquiring IP" but this never completes. It tries a couple of times, and usually ends up saying: "Network Disabled Because Internet Connection Is Slow." But it is not slow - works as fast with the other devices as when I'm connected to the Cisco downstairs near the Router. I have carefully entered the passcode (checking the box to show the characters to make sure I'm not putting in a typo) a dozen times.
There is no problem connecting her S4 to any other WiFi network we've encountered (to the Cisco downstairs directly, at my kids' houses, hotels, etc.).
I can't see any trouble-shooting steps to even identify the problem. Usually this is a no-brainer: you see the SSID, enter the passcode, and you're in. What could possibly be the problem here??
DLCPhoto said:
I have had a Netgear Powerline Adapter system set up in my Bedroom (XAVNB2001) for the past year and a half, because the signal from my Cisco E4200 doesn't effectively reach up there. It has its own SSID, on the 2.4GHz band. It has been completely solid and reliable, and I use it all the time with my Verizon Samasung Galaxy Nexus (stock ROM 4.2.2), and Asus Infinity Tablet (stock ROM 4.2.1). My wife also used it without problem with her prior Motorola Droid 3.
But for reasons I can't identify, my wife's new Galaxy S4 won't connect to it. Also Stock ROM 4.2.2. Her phone sees the Adapter/SSID, and shows a strong signal when we're up there. I enter the passcode with the same encryption (WPA/WPA2 PSK) as I have on the other working devices, and it quickly goes to "Acquiring IP" but this never completes. It tries a couple of times, and usually ends up saying: "Network Disabled Because Internet Connection Is Slow." But it is not slow - works as fast with the other devices as when I'm connected to the Cisco downstairs near the Router. I have carefully entered the passcode (checking the box to show the characters to make sure I'm not putting in a typo) a dozen times.
There is no problem connecting her S4 to any other WiFi network we've encountered (to the Cisco downstairs directly, at my kids' houses, hotels, etc.).
I can't see any trouble-shooting steps to even identify the problem. Usually this is a no-brainer: you see the SSID, enter the passcode, and you're in. What could possibly be the problem here??
Click to expand...
Click to collapse
You could try creating a static IP address using the MAC of the GS4 on your Cisco router. It sounds like it's authenticating, but unable to assign an IP for whatever reason.
Disable WiFi Multimedia (WMM) or the equivalent... BOOM! should work fine.
Also, if it's a MAC filter issue turn your MAC filtering off. If that is the issue your GS4 will connect instantly once MAC filtering is off.
Thanks for the replies.
I assigned a Static IP to the GS4 through the Router without difficulty. I then went to the GS4's settings for this SSID, changed it to Static IP, entered the assigned IP, kept the Gateway as 192.168.1.1, and changed the DNS settings to what is shown through IPCONFIG when I check my Desktop.
It now connected, but shows a DNS error when trying to go to a given website. So something funky is going on there. The phone shows a setting for "Network prefix length" and has a value of 24 - I've not encountered this before - should there be a different setting here?
There is no MAC filtering enabled, so that's ok.
"Disable WiFi Multimedia (WMM) or the equivalent" - where is this setting located? I don't see anything along those lines on the Phone, or in the Router's program??
DLCPhoto said:
Thanks for the replies.
I assigned a Static IP to the GS4 through the Router without difficulty. I then went to the GS4's settings for this SSID, changed it to Static IP, entered the assigned IP, kept the Gateway as 192.168.1.1, and changed the DNS settings to what is shown through IPCONFIG when I check my Desktop.
It now connected, but shows a DNS error when trying to go to a given website. So something funky is going on there. The phone shows a setting for "Network prefix length" and has a value of 24 - I've not encountered this before - should there be a different setting here?
There is no MAC filtering enabled, so that's ok.
"Disable WiFi Multimedia (WMM) or the equivalent" - where is this setting located? I don't see anything along those lines on the Phone, or in the Router's program??
Click to expand...
Click to collapse
I'm not sure about Eric214's suggestion, but it sounds like it could help. Regarding the static IP, if you set it on the router, the phone should pick it up automatically without you needing to enter it manually. After you set the static IP on the router, does the phone still hang on Acquiring IP? If you HAD to manually enter, you could plug in the DNS address coming straight from your router, or Google's open-dns of 8.8.4.4 and 8.8.8.8 (I think that still works.)
ttupa said:
I'm not sure about Eric214's suggestion, but it sounds like it could help. Regarding the static IP, if you set it on the router, the phone should pick it up automatically without you needing to enter it manually. After you set the static IP on the router, does the phone still hang on Acquiring IP? If you HAD to manually enter, you could plug in the DNS address coming straight from your router, or Google's open-dns of 8.8.4.4 and 8.8.8.8 (I think that still works.)
Click to expand...
Click to collapse
I tried it before, but tried it again - with the Static IP set up on the Router (using the "DHCP Reservation" option in the Router's program), and the Connection Settings on the GS4 for this SSID set to DHCP, all advanced settings at their default, it behaves the same way: Shows Acquiring IP, tries it twice, then shows the message I quoted above.
The Router remains set at Automatic Configuration/DHCP overall, with DHCP Reservation used to create a Static IP for this phone's MAC address. If this isn't the proper way to do this, let me know.
And with the Phone Settings for this SSID's WiFi set to Static IP, and the info entered as above, it quickly connects, but doesn't gain internet access.
It shouldn't be this hard. This is usually a no-brainer, as I first indicated. What is so different with this phone's WiFi setup??
I appreciate your input!
DLCPhoto said:
I tried it before, but tried it again - with the Static IP set up on the Router (using the "DHCP Reservation" option in the Router's program), and the Connection Settings on the GS4 for this SSID set to DHCP, all advanced settings at their default, it behaves the same way: Shows Acquiring IP, tries it twice, then shows the message I quoted above.
The Router remains set at Automatic Configuration/DHCP overall, with DHCP Reservation used to create a Static IP for this phone's MAC address. If this isn't the proper way to do this, let me know.
And with the Phone Settings for this SSID's WiFi set to Static IP, and the info entered as above, it quickly connects, but doesn't gain internet access.
It shouldn't be this hard. This is usually a no-brainer, as I first indicated. What is so different with this phone's WiFi setup??
I appreciate your input!
Click to expand...
Click to collapse
That sounds exactly right to me, and you're right that it shouldn't be that difficult. I've heard others report of miscellaneous routers that don't play nice with our phone. In this case, it's an AP, but that might still be the issue. I haven't personally experienced the problem, so hopefully someone else can chime in who has.
ttupa said:
That sounds exactly right to me, and you're right that it shouldn't be that difficult. I've heard others report of miscellaneous routers that don't play nice with our phone. In this case, it's an AP, but that might still be the issue. I haven't personally experienced the problem, so hopefully someone else can chime in who has.
Click to expand...
Click to collapse
Does anybody else have any ideas here?
I have also posted on Netgear and Verizon's forums, but am not expecting too much from either of these. I'm putting my money on the expertise here at XDA!
WMM is listed under the advanced settings of your router, it's not phone based but in your router. Disable it and return your other settings to normal and it should fix your problem.
Eric214 said:
WMM is listed under the advanced settings of your router, it's not phone based but in your router. Disable it and return your other settings to normal and it should fix your problem.
Click to expand...
Click to collapse
I'll have another look in the morning but earlier today I looked through every page of settings and didn't see anything that looked or sounded like this.
What section or function might you expect it to be found? What else might it be called?
Thanks.
Advanced settings in your router.
Basically, the 802.11n spec requires devices to support 802.11e (Quality of Service [QoS] enhancements for wireless LAN) in order to use HT (High Throughput) link rates, i.e. higher than 54 Mbps. (WMM is a subset of 802.11e that was created by the Wi-Fi Alliance as a stop-gap measure while 802.11e made its way slowly through the IEEE review process.)
The point is this is an issue for the GS4 as it's either firmware related or a Samsung issue they didn't realize they caused. Point being, if you have constant disconnects to your router, disabling WMM should make your connection "stick". At this point its what you may have to do until a firmware update for the router is released or Samsung releases an OTA update fix. Unless you're rolling 3+ devices at the same time streaming content you shouldn't have an issue running 54mbps. I stream full HD content to 2 devices at the same time with no lags or decompression issues at 54mbps.
As long as your phone has a static IP from the router there is no reason to set the DNS on the S4...the router does all the DNS routing for your devices. Hopefully that'll fix your DNS error issue.
Sent from my SCH-I545 using Tapatalk 2
OK - had another look at the Router settings, and found the WMM option in the QoS section. I somehow overlooked that yesterday. I'll try this out later today when I'm at home.
Eric214 - with respect to this WMM setting, I have a Panasonic SmartTV, and stream Netflix, Amazon Video, Vudu, etc. and can get the highest quality (1080p) through these. Is changing this setting going to impair throughput for this purpose?
chrishoyt2012 - after changing to Static IP, if I did nothing on the phone (that is, kept it at DHCP), it didn't fix the problem. I then selected Static IP on the phone, which necessitated inputting DNS. There were DNS server entries there by default, and these didn't work, so I manually changed them to my ISP's DNS that are used on my Desktop.
What should I be doing in this regard, other than what I have tried above?
Thanks!
Well, I disabled WMM Support, but nothing changed. It still failed to get an IP Address, same as I described in my original post.
No replies in the other forums either.
I'd really like to get this going - I'm also considering getting the S4, but this may cause some second thoughts...
I went into the Netgear Adapter's setup program, but couldn't fix the problem there either.
I tried different Channels, and a few other settings changes, but no joy.
There was a WMM setting there, but it was checked, and greyed out, so I couldn't try unchecking it even if I wanted to. I disabled WMM on the Router again, but this option remained unavailable on the Adapter's setup program.
I went into my Router, and deleted the IP address for the S4, to try and 'reset' it, but still no change. The S4 shows 'failed to acquire IP' every time.
Any other ideas?? I also tried my daughter's Razr HD, and it connected fine, just like the others. What is so different about the S4's WiFi connectivity??
hello
i got Samsung galaxy SII GT-I9100G from the past 3 weeks am facing a certain problem with my phone wifi,
when i activate wifi on phone it keep on connecting disconnecting and so on ,even the connection am trying to connect is working properly on all other devices but it goes on my phone like for some time connect disconnect,connecting,obtaining IP address ,disconnect and then it connects automatically after some times.
tell me whats the problem behind this????
In the WiFi settings on the phone, go to the settings for that particular connection, choose static IP instead of DHCP. If that doesn't work, try a different kernel (WiFi drivers are in the kernel), might want to also look at playing around with router/modem settings (play with channels, maybe update firmware, etc).
The static IP thing seems to fix most of these issues though.
WIFI Problem??
MistahBungle said:
In the WiFi settings on the phone, go to the settings for that particular connection, choose static IP instead of DHCP. If that doesn't work, try a different kernel (WiFi drivers are in the kernel), might want to also look at playing around with router/modem settings (play with channels, maybe update firmware, etc).
The static IP thing seems to fix most of these issues though.
Click to expand...
Click to collapse
I've tried looking for static IP option in the particular wifi connection am trying to connect,cudnt find that any where on my fone.
tell me about the kernel thingy ???
where to look which kernel am currently using and where are other kernels available to download ?
plus i tried playing with my router that seems working perfect on all other phone in the house and all the computers