SGS1/SGS2 Wifi connects but no Internet data transfer

notabenem

Senior Member
Jul 17, 2009
118
75
0
Static IP is a workaround

I had a very similar (if not the same) issue at home. Any other device could connect, but mine SGS 2.
So I downloaded Overlook FING https://market.android.com/details?id=com.overlook.android.fing&feature=search_result
and made it run.
It immediately stroke me that while the ip was: 192.168.0.104/24
and the DNS was: 192.168.0.1 the default gateway was set to: 192.168.1.1 (i.e. this was bad, wasn't on the same network)

I have triple checked every router/cable modem in the path. None was configured to run on 192.1.1.0 subnet. What I did not do was sniff the actual DHCP packets. Maybe it was because of a static route (see more in the links under Reason #1 below).

Anyway, without knowing the real reason, I solved this by setting the home router to 192.168.1.1 instead of 192.168.1.0.

Now on to the reasons of no data transfer.
1. Bad IP/GW/Static routes. Check with OverlookFING as above. Also see this thread: http://forum.xda-developers.com/showthread.php?t=635489
and this (not really an) issue here: http://code.google.com/p/android/issues/detail?id=10315

2. Power management. Older wifi access points do not work well with clients that employ power management on the WIFI. For this reason I had to regularly disable PM on my notebook's wifi driver. For an unrooted android this is probably not possible to do directly in the driver, but I discovered a setting in the API that allows the WIFI to work without PM. I am using it currently as a widget. Does not do miracles, but helps most of the time.

3. Something else...
 
Last edited:
  • Like
Reactions: netokee

jamesa9911

Senior Member
Nov 20, 2009
57
7
0
Galway
Hmmm I seem to be getting better results with using 8.8.8.8 as a secondary dns....And using 11 channels as regulatory domain(but dont know which is best), I'm changing all these via MIUI btw.

Edit: Or maybe not, problem has returned as normal. slightly off topic, but why am I seeing android os and android system take up 24 and 21% battery respectively, all other apps/cell standby/dsiplay have their own battery usage....

Note that anroid system points toward telocation, google backup, sync and vpn services as among the battery users("included packages")...
 
Last edited:

chaoscreater

Senior Member
Jun 7, 2009
698
66
0
Auckland
i'm having problems too, although i'm using a Milestone instead of SGS2. I only just got the Milestone yesterday and already having a lot of problems with it, not a great start to using my first Android phone if I'll be honest....

I rooted it and installed custom rom on it no problem. Wifi works fine on it too. However, I don't find any benefits in installing a custom rom other than its speed. It lacks some basic stuff that I need to get used to first as a new user of Android. I had to install gAPPS on it, and then the Android Marketplace .apk file just so I can get the simple Android Marketplace app on it.......and even then, I couldn't use it coz I need to create an account for it. I tried that, but it doesn't work, it just keeps saying server couldn't connect or something.

So I reverted back to stock, and now I have this stupid wifi problem.
 

shafraz

Senior Member
Apr 14, 2006
116
81
0
2. Power management. Older wifi access points do not work well with clients that employ power management on the WIFI. For this reason I had to regularly disable PM on my notebook's wifi driver. For an unrooted android this is probably not possible to do directly in the driver, but I discovered a setting in the API that allows the WIFI to work without PM. I am using it currently as a widget. Does not do miracles, but helps most of the time.
Well, I have been looking for a way to disable PM for Wifi on the SGS2, but so far the only post I bumped into is yours. Can you please tell me how to do this? Whats the API?

Would you care to share your Widget? I'm sure it would be helpful for most of us? If not, do you know any product that would do the same? (Disable PM for Wifi for the session).
 

varunkumars

Senior Member
Sep 4, 2010
573
109
0
Dallas
Originally Posted by jamesa9911 said:
Yes I have the same prob, goes steady for ten mins, then just stops receiving a network connection, but my desire is fine. My honeycomb tablet does the same thing, but just turning wifi on and off fixes it. This appears to need a full reboot then works perfect again for a while. I've only had this phone two hours and have noticed it so surely others have.
My Glalaxy s 2 has the same problem. It was fine till i was on KF7 but things changed with KG6 now.
Finally i resolved it i installed wifi static app from Market and selected(tick) Force apply and turned on the wifi. I saw note" DHCP starting" and it worked flawless. Hope it helps .
 

shafraz

Senior Member
Apr 14, 2006
116
81
0
Finally i resolved it i installed wifi static app from Market and selected(tick) Force apply and turned on the wifi. I saw note" DHCP starting" and it worked flawless. Hope it helps .
Good for you! Looks like the problem you were having was DHCP specific. Forget the app and try adding a static IP manually in the phone settings itself. Does it solve your problem? In that case, it should be a simple DHCP issue.

Other issue most users face (including myself) seems to be due to the Power Saving mode of Wifi. Some older routers cannot handle this / don't like this, and the connection drops every now and then and there is no data flow.

At home I use an older wireless router and I see my SGS2 connects with Power Saving active, and the connectivity is really bad. At office I have one of the newer routers which handles Power Savings without problem, and the Wifi speeds are just phenomenal.

So for rest of us who are facing the issue due to power saving mode (and may not know it's because of that), we should find a way to disable power saving on the SGS2 for such routers.
 
  • Like
Reactions: taha_e

Psilocin

Senior Member
Aug 20, 2011
299
58
0
Seattle, WA
Never had an issue with wifi and wpa / wpa2 on multiple hot spots and home. Try a factor reset and flash . On kf3 xeu

Sent from my GT-I9100 using XDA App
Took me a while to figure this out. I don't have a router in my dorm, so I use the mifi on my laptop to tap into the internet. The connection breaks very easily, especially after waking up the computer from sleep and reconnecting back. Wifi on/off would work sometimes, but is pretty tempermental at best.

Fixed the problem by switching to WEP password encryption instead of WPA/WPA2. Still quickly disconnects/reconnects every once in a while, but usually only once every couple of hours.
 

shashankdombe

Member
Oct 16, 2011
25
0
0
Connected successfully to office wifi. But no data connection.

I recently bought SG2, tried to connect to office wifi using the domain name/password. PEAP/MSCHAPv2 and wpa2 enterprise connection. It is successfully connected to router and obtains IP(no IP conflict). but when I open browser no connection.

Downloaded ping app, tried pinging to my laptop it worked but when i tried pinging to default gateway no response.

With the help of some replies in internet I dowloaded server certificates and tried to put it to mobile. but it will not accept the .cer and .crt format ones. As it tells in posts it only accepts .p12 format. but no one in my office knows how to get that format and I didnt get satisfactory asnwer in internet.

my office will not allow any static IP to set.
 

Ammarooo

New member
Nov 8, 2011
4
0
0
i tried it too and did not work the wifi still connected and no data transfer and i tried to update to 2.3.5 and still the same and also the wifi is so stupid it cans see the adhoc networks i dont know what the hell with the wireless in the galaxy s 2
 

taha_e

Senior Member
Oct 25, 2010
485
276
0
Bangkok
i tried it too and did not work the wifi still connected and no data transfer and i tried to update to 2.3.5 and still the same and also the wifi is so stupid it cans see the adhoc networks i dont know what the hell with the wireless in the galaxy s 2
Ad-hoc and wifi problem are 2 different matters,
For some reason Google or phone companies dont like to add ad-hoc support to their smart phones but there are some wpa_supplicant files which will allow u to have a wifi connection with laptop or ... to share internet

the wifi matter is quiet different here its a failure in security checking while trying to connect seems that android still has a long way to go
 

shashankdombe

Member
Oct 16, 2011
25
0
0
Is there any support for the Adhoc network in future updates..

When we are connecting to wpa2 enterprise connection other than setting security type and all whether we have to se access points also...??
 

netokee

Senior Member
Jun 28, 2010
80
8
0
I had a very similar (if not the same) issue at home. Any other device could connect, but mine SGS 2.
So I downloaded Overlook FING https://market.android.com/details?id=com.overlook.android.fing&feature=search_result
and made it run.
It immediately stroke me that while the ip was: 192.168.0.104/24
and the DNS was: 192.168.0.1 the default gateway was set to: 192.168.1.1 (i.e. this was bad, wasn't on the same network)

I have triple checked every router/cable modem in the path. None was configured to run on 192.1.1.0 subnet. What I did not do was sniff the actual DHCP packets. Maybe it was because of a static route (see more in the links under Reason #1 below).

Anyway, without knowing the real reason, I solved this by setting the home router to 192.168.1.1 instead of 192.168.1.0.

Now on to the reasons of no data transfer.
1. Bad IP/GW/Static routes. Check with OverlookFING as above. Also see this thread: http://forum.xda-developers.com/showthread.php?t=635489
and this (not really an) issue here: http://code.google.com/p/android/issues/detail?id=10315

2. Power management. Older wifi access points do not work well with clients that employ power management on the WIFI. For this reason I had to regularly disable PM on my notebook's wifi driver. For an unrooted android this is probably not possible to do directly in the driver, but I discovered a setting in the API that allows the WIFI to work without PM. I am using it currently as a widget. Does not do miracles, but helps most of the time.

3. Something else...
Thank for this analyzing !!
I do that and came on the same conclusion: GateWay problem:
http://forum.xda-developers.com/showthread.php?p=19162808#post19162808

Thank for the Overlook FING. I missed this tool ;)
 

shashankdombe

Member
Oct 16, 2011
25
0
0
Thank for this analyzing !!
I do that and came on the same conclusion: GateWay problem:
http://forum.xda-developers.com/showthread.php?p=19162808#post19162808

Thank for the Overlook FING. I missed this tool ;)
Can someone please explain the above things in little bit simple lines. My GS2 will connect but no internet access.. But colleagues Blackberry is working. I cant set up any static IP as its office network wpa2 enterprise. Then How can I change the IP settings? or whether changing lease time in router to 10 min will solve everything.?
 

netokee

Senior Member
Jun 28, 2010
80
8
0
Can someone please explain the above things in little bit simple lines. My GS2 will connect but no internet access.. But colleagues Blackberry is working. I cant set up any static IP as its office network wpa2 enterprise. Then How can I change the IP settings? or whether changing lease time in router to 10 min will solve everything.?
It seems that the SG2, at connection on some WiFi network, don't stetting up correctly the Gateway IP address received from some router.

At home you have one Gateway to go on the Internet: your router.
If your GS2 have a false Gateway, it isn't able to open a connection to the Internet. That the reason why your are able to see all other network component in your home network and nothing on the internet.

And why the lease set on 10mn could be a "half solution"...it would seem that arrived the end of the lease, the GS2 should update properly all IP SETTINGS, including the Gateway IP address. And this, all 10 minutes.
The default value is generally 1440 minutes ;)

Voilà
 

shashankdombe

Member
Oct 16, 2011
25
0
0
when I connected to office wifi network using my GS2. Its pinging all network devices but is not pinging the gateway. the gateway and dns is having different IPs.when I see in my laptop which is connected to same network, its showing same gateway as my phone. Can anyone tell me what is the problem.?
 
Last edited:

mirda.pol

New member
Nov 24, 2011
1
0
0
Unable to download from market via wifi with proxy

Hi, I am a new user of SGS2 and I am facing the proxy setting problem as many people here have. In work I am able to connect via WiFi without problems and I can use everything - there is no proxy. In the student residence I use WiFi from my notebook (using Connectify program). From our network I know, I have to use the proxy setting - that is no problem to set it up in Advanced Settings of Wireless connections in my SGS2. After that the browser is OK and I can browse the internet. But no applications can use the proxy. SO, I had found a help on this forum and rooted my phone. After that I installed ProxyDroid. All right, some more applications can use the connection - even the AndroidMarket. BUT, there is a problem - I can open Market, find searched app and learn about it. Unforunatelly I am not able to download and install anything from the Market.
I really don't know, what to do with it. Downloading from the web browser is all right. I can see videos on YouTube in browser, etc.

So probably there is some problem in ProxyDroid, or something with download process..

I am absolut novice in android, so most likely the problem is very simple, but...

Thanks to anyone, who can help me :)

Mira
 

shashankdombe

Member
Oct 16, 2011
25
0
0
Solved... with ICS..

Hello guys,

I was facing this issue from long time and I couldn't figure out the solution till yesterday. I saw the official release of ROM for SGS2. which is XP8 android 4.0.3.
I flashed it and when I reconfigured wifi in office using the domain pasword it connected without a glitch and I got the internet access too.. I happy with the ICS. But still its a testing and unofficial build, not recommended for daily use..
Below is the link for ICS 4.0.3 GS2..


http://www.theandroidsoul.com/galaxy-s2-ice-creams-sandwich-leaked-firmware-xxkp8/
 

notabenem

Senior Member
Jul 17, 2009
118
75
0
Well, I have been looking for a way to disable PM for Wifi on the SGS2, but so far the only post I bumped into is yours. Can you please tell me how to do this? Whats the API?

Would you care to share your Widget? I'm sure it would be helpful for most of us? If not, do you know any product that would do the same? (Disable PM for Wifi for the session).
This is really late, sorry for that (wasn't reading this thread). The widget is here:
https://play.google.com/store/apps/details?id=com.ratcash.wifiperf