Hello all,
Running UnNamed 1.04v with entropy's latest (10/20) kernel.
This problem also happened with Unnamed 1.03, with entropy's 10/16 kernel.
This problem also happened with a completely stock ROM, rooted with the CWM kernel.
USB tethering works as normal.
Wifi tethering works sporadically. My laptop can connect (windows 7, lenovo X201), it works for a few minutes, then ceases to work. The WIFI icon gives a yellow exclamation mark saying that it has no internet connection.
I reinstalled windows 7 recently, the same thing occurs.
Updated the intel WIFI 6300 drivers, same thing occurs.
I changed DNS settings to OpenDNS, the same thing occurs.
What leads me to believe this problem isn't because of my laptop is the following...
When tethering ceases to work on my laptop and I try to disable tethering on the phone under settings>wireless and network>tethering and portable hotspot, it takes around 5-7 seconds then says "Error". The WIFI tethering icon remains in the notification bar as if tethering is still enabled. If I check the box next to tethering to "enable" it again, tethering finally turns off and the blue tethering icon removes itself from the notification bar.
If I turn off tethering before it craps out on my laptop it turns off normally within 1-2 seconds without saying "error."
This has been reproducible over 15 times.
It happens whether or not the hotspot is encrypted with WPA2, the SSID is hidden or not, or is completely open.
Any ideas why this is? WIFI tethering was rock solid on my old infuse 4G, and it really comes in handy during lunch time at my university when the wifi is saturated to the point where its completely unusable.
logcat/dmesg
Mines does the same thing. USB tethering works without issues, however wireless gives me issues. When I connect via wireless, it works for about 30 seconds then my laptop gives me a limited connectivity signal (tablet just connects but no internet). Tried turning off my wireless hotspot and I got the same symptoms you had, with the Error.
Running stock rooted with latest Entropy DD experimental Kernel. Tested on different kernels and the same thing happens (ZedoMax kernel and Entropy non-experimental kernel).
There was a report a while back that stock wi-fi tethering will cease to work if your phone screen turns off (even though you have wi-fi sleep policy set to never). Sounds like another bug in the current Samsung ROM. And in that case, the guy paid for tethering plan and is using the phone totally stock without rooting.
That is definitely unfortunate. I'll have to test it with the screen to see if that works. I tried to upload a screenshot but for some reason it won't allow me to post .png images. That is also crappy because that's what our screen shots are formatted as! (OT - anyone know how to change this?)
http://dl.dropbox.com/u/35462802/SC20111025-085244.png
foxbat121 said:
There was a report a while back that stock wi-fi tethering will cease to work if your phone screen turns off (even though you have wi-fi sleep policy set to never). Sounds like another bug in the current Samsung ROM. And in that case, the guy paid for tethering plan and is using the phone totally stock without rooting.
Click to expand...
Click to collapse
Again, logcat/dmesg of the errors. If a person has a problem, and it might be kernel related, it isn't going to get fixed without either a logcat/dmesg or the ability for the kernel developer to reproduce the problem.
Every time I go for dinner at the local taco place, I tether my Tab 10.1 and the phone's screen remains off. Therefore, kernel developer CANNOT reproduce this issue. So the backup is logcat/dmesg.
Sounds like WIFI sleep policy is shutting it off with screen off.
I need to clarify: it's not my issue (I do not use tethering as of now) and I have no way to verify or test because I haven't rooted my phone yet. I only need to root my if I need to enable tethering. But bugs like this doesn't worth my trouble to root the phone.
Here the original thread that reported this issue: http://forum.xda-developers.com/showthread.php?t=1291814
It is probably one of those bugs that affects some but not others, e.g AP mobile data usage bug and WiFi sleep policy stuck in NEVER even if you change to turn off while sleep.
Tested to see if I had a screen off bug but that wasn't the case.
Now I need to learn how to use alogcat...
Dungeon47 said:
Sounds like WIFI sleep policy is shutting it off with screen off.
Click to expand...
Click to collapse
wifi sleep policy only affects when the device is using wifi in client mode
sopdogg said:
Tested to see if I had a screen off bug but that wasn't the case.
Now I need to learn how to use alogcat...
Click to expand...
Click to collapse
If you don't have problems, logcat/dmesg aren't of much use.
I can already get reference "known working" logcats/dmesgs from my own device.
Edit: Oh wait, in your case it's a problem whether screen on or off? misread you.
No problem, thanks for looking into my issue!
My issue is that wifi tethering doesn't work at all. USB tethering works without any hiccups. Error message appears after a short time and/or when I turn off the wireless hotspot.
I sent you a PM.
I am having the same issues, regardless of rom /kernel
Does anyone know if this phone supports infrastructure wifi when the tethering is working properly? Trying to plan a car computer with a galaxy player 5 up front and dlna hard drive in back and hopefully tie it all together w the gs2
Entropy, i'll be PMing you a logcat in a few minutes.
Edit: PM sent.
ALSO: this problem occurs if the screen is on or off.
Related
So I picked up a Prime today (running 4.0.3), and I'm having a weird issue... I can connect just fine to wifi, everything works properly, except two things:
- My wifi icon is gray. Always. Regardless of where I am, the network I'm connected to, etc.
- Talk doesn't connect. The error is "Connection interrupted -- status updates temporarily unavailable"
I have cleared Market and Talk data. I have removed and re-added my Google account. I don't have PDANet or any other tethering software. I've checked my wifi connection to make sure there is no proxy or anything. My speed is just fine! I've disabled/reenabled Background Sync. Syncs on the Google account work just fine.
I'm at a loss here... HALP?
I'm having this problem too.. did you ever find a solution? anybody else?
Mine does that when Im too far away from the router but it goes blue when i get closer.
gobills33 said:
I'm having this problem too.. did you ever find a solution? anybody else?
Click to expand...
Click to collapse
I ended up turning off wifi, deleting the files in /system/etc/wifi, and rebooting. Had to re setup my wifi connections, but somehow in restoring a backup (or the ICS upgrade) the saved profiles must have gotten corrupted...
Sent from my HTC Sensation
I'm having a similar problem. My icon starts out blue and everything works fine, but then after letting it sit for a while, my icon turns greay. Have not been able to figure it out yet. Pretty frustrating to set your tablet down and 15 minutes later have it stop getting notifications because it's disconnected itself or whatever it is when the icon turns grey.
I have my wifi settings set to always remain on while sleeping.
vels13 said:
I'm having a similar problem. My icon starts out blue and everything works fine, but then after letting it sit for a while, my icon turns greay. Have not been able to figure it out yet. Pretty frustrating to set your tablet down and 15 minutes later have it stop getting notifications because it's disconnected itself or whatever it is when the icon turns grey.
I have my wifi settings set to always remain on while sleeping.
Click to expand...
Click to collapse
Try the above?
Sent from my HTC Sensation
ChristoA1 said:
Try the above?
Sent from my HTC Sensation
Click to expand...
Click to collapse
I tried but didn't work. I think we had different issues. It didn't sound like you could get a connection at all, while I get a connection that goes bad after the tablet has been idle for a while. Turning off/on wifi allows me to reconnect.
My android devices do this typically due to the firewall settings on whatever I am connected to, my wireless at work or example.
TF201 | XDA Premium
That is my assumption as well. I have the same issue but i figured it out. Its all you r wireless settings on the router. I have changed the broadcasting channel and since no more gray antennas. Its all i guess channel interference.
Sent from my Transformer Prime TF201 using xda premium
vels13 said:
I tried but didn't work. I think we had different issues. It didn't sound like you could get a connection at all, while I get a connection that goes bad after the tablet has been idle for a while. Turning off/on wifi allows me to reconnect.
Click to expand...
Click to collapse
Yeah, different issue. I actually had no problems ever connecting, it just wouldn't sync properly with Google's servers...
tdrussell said:
My android devices do this typically due to the firewall settings on whatever I am connected to, my wireless at work or example.
TF201 | XDA Premium
Click to expand...
Click to collapse
I've had that happen before, but in this case it was a constant 100% of the time thing, regardless of firewalls/connection/etc. Just something weird with the wifi profile on the device. I'm more convinced it had to do with restoring HC data after being upgraded to ICS.
Sent from my HTC Sensation
I always wondered why my cell phone did the same thing, and in my searches, gray just means that it's not connected to Google's sync service. Now, while I agree with that to an extent.... I too have noticed on my cell phone and Prime (when tethered to my cell), that if either end is gray, I have non-functioning internet. This even happens if I have full bars and HSPA for my data connection. I personally have never noticed this on any of the 3 wireless home routers that I've connected to, however.
NAiLs00 said:
I always wondered why my cell phone did the same thing, and in my searches, gray just means that it's not connected to Google's sync service. Now, while I agree with that to an extent.... I too have noticed on my cell phone and Prime (when tethered to my cell), that if either end is gray, I have non-functioning internet. This even happens if I have full bars and HSPA for my data connection. I personally have never noticed this on any of the 3 wireless home routers that I've connected to, however.
Click to expand...
Click to collapse
Same experience here. Grey typically means you have internet but no google services, but on my prime grey means no internet at all.
I've managed to get my wifi connection stable by using an app in the market called Wifi Keep Alive. I'm not sure if this app has any impact on battery draw in sleep mode, but I didn't notice much of a change after installing it. I left my Prime on all night last night which has always caused the grey icon, but my icon was still blue this morning and internet was functioning
It seems like there are a good handful of users having issues with wireless going to sleep/losing connection. I have my wireless set to never sleep however when my screen is off for 15 minutes or so my wireless is in a state of "obtaining ip address" and never seems to re connect unless I toggle wireless on/off. I have also tried turning 3G off while in wireless range and this did not help.
I usually only see this when I'm at work and the connection to the AP is weak. I have not had this problem at home where the connection to the AP is strong.
I had this same issue with the Eclipse ROM version 1.3. Although it seems to be amplified with cm7.
Also my install was off a fresh sbf, this is my only issue and it is by far not a deal breaker.
Figured I would start this thread since the cm7 thread is getting quite large to sift through.
If anyone has a solid workaround please share!
Sent from my MB870 using xda premium
I'm getting some of this behavior. I set my wifi sleep policy to "never," but every now and then I'll pick up my phone and notice the wifi disconnected itself (but was still "on") and won't get past "obtaining IP address."
So yeah, my fix has been the same as yours (turn off wifi, then turn it back on).
Same here. I downloaded wifi fixer off the market but that didn't help any.
Sent from my MB870 using xda premium
I am unable to get mine to work at all. It will start to connect then when it gets to obtaining IP address it quits and the network shows disabled. It does this everytime no matter which settings I use.
riotstarter said:
I am unable to get mine to work at all. It will start to connect then when it gets to obtaining IP address it quits and the network shows disabled. It does this everytime no matter which settings I use.
Click to expand...
Click to collapse
Any suggestions on this issue? Anyone else having this problem?
I have to set my screen to stay on for large downloads or it disconnects. Sometimes it will lock up my whole network and have to reset router. Dlink dir615.
Sent from DX2 CM7 xda app
I've tried the wifi fixer app some users are recommending and i still have the wifi disconnects. It seems all that app does is toggle (reset) wifi until it reconnects.
Sent from my MB870 using xda premium
jeremy46er said:
I've tried the wifi fixer app some users are recommending and i still have the wifi disconnects. It seems all that app does is toggle (reset) wifi until it reconnects.
Sent from my MB870 using xda premium
Click to expand...
Click to collapse
Yeah, that's the same thing I get. It doesn't fix the problem with wifi losing connection. It just reconnects.
jeremy46er said:
I've tried the wifi fixer app some users are recommending and i still have the wifi disconnects. It seems all that app does is toggle (reset) wifi until it reconnects.
Sent from my MB870 using xda premium
Click to expand...
Click to collapse
Same here. Everything I have tried has not helped at all.
Something I noticed on mine is when this happens the green skin on the wireless and signal (data network) icons is gone.
And if I turn off wifi and back on, the green skin is re applied and wireless works.
I'm running adw ex (paid) but other than that everything follows the install steps exactly in the OP from the cm7 beta thread. I've not installed the tethering patch pre or post BT.
smallzfsu said:
Something I noticed on mine is when this happens the green skin on the wireless and signal (data network) icons is gone.
And if I turn off wifi and back on, the green skin is re applied and wireless works.
I'm running adw ex (paid) but other than that everything follows the install steps exactly in the OP from the cm7 beta thread. I've not installed the tethering patch pre or post BT.
Click to expand...
Click to collapse
Do you mean that your icons turn white? That's normal with any ROM or build. It means that you are connected with the router or cell service, but that it is giving you an ip and opening ports to allow you to use it.
With that said, since Eclipse 1.3, I have always had it randomly d/c or turn white, in which case even though I'm still technically connected, I can't use the service. Likely a Motorola problem.
theredvendetta said:
Do you mean that your icons turn white? That's normal with any ROM or build. It means that you are connected with the router or cell service, but that it is giving you an ip and opening ports to allow you to use it.
With that said, since Eclipse 1.3, I have always had it randomly d/c or turn white, in which case even though I'm still technically connected, I can't use the service. Likely a Motorola problem.
Click to expand...
Click to collapse
Yes that's exactly what I mean, thanks for pointing that out I had no idea..
Thanks for the input!
Lol no problem. I only assume its a Motorola problem because its been fairly consistent with my phone, through multiple ROMs, but I can't remember prior to Eclipse 1.3 if I was experiencing it. For all I know it could be a build.prop mod that a lot of our devs are using that may indirectly do it.
I've been having the same (or similar) problems with Wifi on CM7DX2. I did some experimentation and some debugging and have it narrowed down to what I think is a problem with DHCPCD fetching an IP (or rather, failing to do so). Here's my observations:
If Wireless is off and I toggle it on, it has no problem getting onto the network at work (open 802.11g) or at home (WPA2-AES 802.11n). The connection seems fine for a while (so long as I'm using the phone, though that only tends to be in bursts of 10-15 minutes or so). Once the phone goes to sleep (or I put it to sleep) it seems to put wifi to sleep (only a guess), but only once the phone has been sleeping for a couple of minutes or more. If I sleep it and immediately wake it up, it seems okay. I have my wifi configured to never go to sleep.
Once wifi wakes up, it attempts to connect to the network, sits there at obtaining an ip, then fails, sometimes marking the connection as "Disabled". I did some troubleshooting, including poking through the phone logs and saw some stuff related to dhcpcd. Unfortunately, all that's sitting on my laptop at home at the moment. I'll try and get that posted when I get home.
Working on the theory that dhcpcd is the problem, I tried setting a static ip at home (can't do it at work or the network people yell at you). Sure enough, the problem seemed to go away. So, as far as I can tell, the wireless driver itself, as well as wpa supplicant, seem to work fine. It's just dhcpcd fails to be able to obtain an IP until you power cycle wireless.
If any of the devs who have more of a clue about the internals of the android network stack can chime in and ask more questions, I'd be more than happy to provide what information I can gather. I'm a Linux admin, so I'm very comfortable with a command line if I know what to look for. I'm just not too familiar with the android way of doing things (which seems very different than a normal Linux distro).
Thanks!
Edit:
I forgot, I have a crashplan backup of my laptop, so I was able to grab the file... here's the relevant bits of data related to dhcpcd
E/dhcpcd (23840): open_udp_socket: Cannot assign requested address
E/dhcpcd (22434): open_udp_socket: Cannot assign requested address
E/WifiStateTracker( 1978): DHCP request failed: Timed out waiting for dhcpcd to start
E/dhcpcd (22434): open_udp_socket: Cannot assign requested address
E/dhcpcd (23840): open_udp_socket: Cannot assign requested address
E/dhcpcd (24029): open_udp_socket: Cannot assign requested address
E/dhcpcd (24060): flock `/data/misc/dhcp/dhcpcd-eth0.pid': Try again
E/WifiStateTracker( 1978): DHCP request failed: Timed out waiting for dhcpcd to start
It repeats that stuff over and over again when it fails to be able to connect to a network. When it's successful, dhcpcd is silent.
smallzfsu said:
Something I noticed on mine is when this happens the green skin on the wireless and signal (data network) icons is gone.
And if I turn off wifi and back on, the green skin is re applied and wireless works.
I'm running adw ex (paid) but other than that everything follows the install steps exactly in the OP from the cm7 beta thread. I've not installed the tethering patch pre or post BT.
Click to expand...
Click to collapse
Sounds like a install problem. all the skins have the icons so if its a big deal to not have them I would reinstall.
---------- Post added at 07:48 PM ---------- Previous post was at 07:47 PM ----------
jeremy46er said:
It seems like there are a good handful of users having issues with wireless going to sleep/losing connection. I have my wireless set to never sleep however when my screen is off for 15 minutes or so my wireless is in a state of "obtaining ip address" and never seems to re connect unless I toggle wireless on/off. I have also tried turning 3G off while in wireless range and this did not help.
I usually only see this when I'm at work and the connection to the AP is weak. I have not had this problem at home where the connection to the AP is strong.
I had this same issue with the Eclipse ROM version 1.3. Although it seems to be amplified with cm7.
Also my install was off a fresh sbf, this is my only issue and it is by far not a deal breaker.
Figured I would start this thread since the cm7 thread is getting quite large to sift through.
If anyone has a solid workaround please share!
Sent from my MB870 using xda premium
Click to expand...
Click to collapse
If you have had the issue across multiple roms and haven't sbf'd I would try that.
motcher41 said:
Sounds like a install problem. all the skins have the icons so if its a big deal to not have them I would reinstall.
Click to expand...
Click to collapse
Its not an install issue. Icons for 3g and wifi turning white is common; it tells you that you're connected with the router or cell tower but aren't receiving a usable internet connection yet. I expect that its having a hard time obtaining an IP like one post already detailed.
Also, on a side note, my phone just decided after a week of normalcy to try to autocorrect "wifi" to "Sofia". Figured you should all be aware of this travesty.
I have my network setup to assign ip address according to mac address cause i need certain devices to always have same ip. Well i switched my Droid x2 to manual ip instead of dhcp and disconnects no longer happen when screen goes off. Going to test test of night but seems good so far. So for some reason it has to do with dhcp like other post said.
Sent from CM7 DX2 xda app
motcher41 said:
Sounds like a install problem. all the skins have the icons so if its a big deal to not have them I would reinstall.
---------- Post added at 07:48 PM ---------- Previous post was at 07:47 PM ----------
If you have had the issue across multiple roms and haven't sbf'd I would try that.
Click to expand...
Click to collapse
No I sbf before any new ROM i flash just for a fresh start.
It almost seems to me like the wifi is going to sleep even tho i have it set to never sleep. It also only seems to happen when i have a weaker signal to the AP. I don't even bother using wifi at work anymore because it got so bad. This happened with liberty and eclipse 1.3 but not nearly as bad as with cm7.
I mainly only notice it at work because i will leave my phone idle on my desk for long periods of time and when i return the wifi is stuck "trying to acquire ip address"and will not unless i toggle wifi. I do sometimes notice it while my phone is in use. I stream sirius/xm and anytime it cuts out i turn on my phone and sure enough it's "trying to acquire ip address".
Like i said in op it's not a deal breaker by any means it's just something i noticed got worse once i went to cm7.
This is by far the best ROM I've used on the dx2, although i haven't tried miui yet.
Sent from my MB870 using xda premium
Some additional observation tonight. While setting a static ip will make sure you can get back online over wifi, I don't think it's actually preventing the root problem. I just woke the phone up and it looked like the wifi had disconnected while sleeping (the wifi "bars" were all grey for a second before they filled in). So, while there seems to be some problem with dhcpcd fetching an ip after waking from sleep, the wifi shouldn't be sleeping in the first place, but it is. Is it possible that setting in the CM7 Wifi Settings menu isn't actually affecting the behavior of the driver (or whatever actually puts it to sleep)?
compulov said:
Some additional observation tonight. While setting a static ip will make sure you can get back online over wifi, I don't think it's actually preventing the root problem. I just woke the phone up and it looked like the wifi had disconnected while sleeping (the wifi "bars" were all grey for a second before they filled in). So, while there seems to be some problem with dhcpcd fetching an ip after waking from sleep, the wifi shouldn't be sleeping in the first place, but it is. Is it possible that setting in the CM7 Wifi Settings menu isn't actually affecting the behavior of the driver (or whatever actually puts it to sleep)?
Click to expand...
Click to collapse
I think your right, it was more consistent on static ip but it did eventually lock up my router again. The constant connects and disconnects must freak out the router.
Sent from CM7 DX2 xda app
So judging by the quick search, many people have this problem on many different phones, and no solution was found.
I know I've had this problem with my old SGS 1, and even Nexus One.
Same problem on my SGS II, tethering to many different desktops and laptops.
So it seems to be android-specific, or Windows specific problem, really.
Basically, when you tether with USB, first several minutes all is well and speed is good, but in about 5-10 minutes, traffic from the phone just stops.
Phone still shows tethering ON, PC still thinks it's connected, but nothing loads, it doesn't disconnect, it just drops to speed or 0 kbps.
The only way to restore it is to disable tether and reconnect.
Anybody has any idea why would this occur and how to prevent it?
Does it say no internet connection on the network indicator on the bottom right of the notification center? My guess is your carrier has an issue with tethering. I see your on AT&T. Do they have a plan that is specifically for tethering?
Braidonh said:
Does it say no internet connection on the network indicator on the bottom right of the notification center? My guess is your carrier has an issue with tethering. I see your on AT&T. Do they have a plan that is specifically for tethering?
Click to expand...
Click to collapse
No internet connectivity loss is indicated in windows, it still thinks it has a good internet connection. I'm assuming that after a while, it will detect that although there's a connection, there's no actual traffic flowing through it, and will say that there's an issue... but for a long time, it's simply as if I'm connected, but actual speed is at 0kbps.
Browser tries to load pages and times out in 10-30 seconds.
Unfortunately (or fortunately) this definitely doesn't have anything to do with AT&T. I have unlimited grandfathered plan with AT&T and a custom rom, AT&T has no idea that I'm tethering. Internet on the phone is still working fine.
I kinda feels as if the usb tether drivers in windows (RDIS or whatever it's called) simply gives up after a while. Or maybe it's the android tether process that "forgets" what it's supposed to be doing.
you are running a stock ROM right?
RorixRebel said:
you are running a stock ROM right?
Click to expand...
Click to collapse
Nope, latest CheckROM.
But as I've said, I had same problem with Captivate and other ROMs on SGS2 =(
i haven't found a custom rom where tethering fully works....thats why i went back to stock
Have the same problem on BOTH my Huawei ideos U8150 and my HTC sensation.
My wirelessly tethered devices still work flawlessly but my USB tethered desktop disconnects after a few minutes. Screen time out set to Max in case something in the phone went to sleep but no difference. Definitely not a network problem as my operator confirmed but an android (or windows problem) .
I even set USB Port power settings to always stay awake.
Hope we can find a solution to this.
Sent from my HTC Sensation Z710e
i got the same problem under ICS. tried on stock ZSLPE and custom XXLPQ firmwares. both do not work!
my stock gingerbread was able to work flawlessly without disconnection problem on the same pc. wtf is happening?!
I have Samsung Galaxy S Plus.
I am facing exactly the same problem.
Have tried different ROM's around 5, 3 were custom ROM's.
Looks like Android OS issue.
abhijit_net said:
I have Samsung Galaxy S Plus.
I am facing exactly the same problem.
Have tried different ROM's around 5, 3 were custom ROM's.
Looks like Android OS issue.
Click to expand...
Click to collapse
I had this problem on both my Samsung Charge(Stock app 2.3.6), and my Motorola Razr(Stock app 4.0.4). I believe it is a driver issue inside windows. It seems less of a problem on the Motorola phone as I get a few hours of USB tether before it exhibits the same problem whereas the charge started after a couple of minutes. ie. Phone has data and can access web, computer thinks its connected to the web and okay, but any attempts to connect to the internet from the pc fails.
The wireless tether works fine and does not exhibit the same issues so I would suggest you use wifi tether. I don't know if wifi tether uses more or less power than usb tether (assuming your phone is connected to computer and charging). If I get some more free time in the next few weeks I might try and do an analysis.
listlessloki said:
I had this problem on both my Samsung Charge(Stock app 2.3.6), and my Motorola Razr(Stock app 4.0.4). I believe it is a driver issue inside windows. It seems less of a problem on the Motorola phone as I get a few hours of USB tether before it exhibits the same problem whereas the charge started after a couple of minutes. ie. Phone has data and can access web, computer thinks its connected to the web and okay, but any attempts to connect to the internet from the pc fails.
The wireless tether works fine and does not exhibit the same issues so I would suggest you use wifi tether. I don't know if wifi tether uses more or less power than usb tether (assuming your phone is connected to computer and charging). If I get some more free time in the next few weeks I might try and do an analysis.
Click to expand...
Click to collapse
I've had this problems with pretty much every Samsung phone I had.
I have HTC One X now, and it doesn't have this problem. So something with Samsung drivers, I think.
Cool fact - HTC even has a one-click reverse tethering. So cool.
I have the same problem, but can't find out, where (windows or android) is it.
What I have:
Motorola Atrix (rooted with SuperOneClick, stock ROM)
PC with Windows XP x64 without WIFI
The only RNDIS drivers I could find was HTC RNDIS (for XPx64)
Situation:
I'm living in hostel for one month, and there is only WIFI internet here, so I tried to get my phone WIFI to tether into USB
What have I done:
Connected to WIFI over phone.
Turned USB tethering ON.
By default WIFI is not tethered to USB, so I found that turning USB tethering ON creates usb1 network and WIFI is eth0. Then I configured NAT by iptables on my phone to accept and forward connection from PC (usb1) to WIFI (eth0). [usb0 on Atrix is for Motorola Portal, didn't try yet to connect to internet throught portal connection, not USB tethering]
The problem in short:
At the begining everything works fine. But when many connection threads are opened (didn't look for that many count) connection stops. As it was already mensioned, PC thinks it is connected, on phone USB tethering is still ON, even more - ifconfig still shows the connection. The only diffrenece is that "ping 192.168.42.129 -t" on PC (192.168.42.129 is usb1 IP on phone) starts showing "Request timed out" messages. On the other side - from my phone, I cannot ping my PC either. So connection is like broken, no traffic can be passed, but both sides sees they are ON.
After turning off USB tethering, PC sees connection is off immediately and the Local Area Connection #23 is gone. After turning on USB tethering everything comes back to the beginning.
Current workaround (for me):
I am using VPS service, so I open dynamic SSH tunnel over putty, and use it as my SOCKS5 proxy. The worst thing is that not all programs can use proxies, and when I use such program it tries to crash my connection.
Sorry for my english, it is foreign language for me, if anything is not understandable or you need more test from me, please ask, I will try to do my best.
Power Tether Off
DarkDvr said:
So judging by the quick search, many people have this problem on many different phones, and no solution was found.
I know I've had this problem with my old SGS 1, and even Nexus One.
Same problem on my SGS II, tethering to many different desktops and laptops.
So it seems to be android-specific, or Windows specific problem, really.
Basically, when you tether with USB, first several minutes all is well and speed is good, but in about 5-10 minutes, traffic from the phone just stops.
Phone still shows tethering ON, PC still thinks it's connected, but nothing loads, it doesn't disconnect, it just drops to speed or 0 kbps.
The only way to restore it is to disable tether and reconnect.
Anybody has any idea why would this occur and how to prevent it?
Click to expand...
Click to collapse
Hi,
I had the same problem with my Android Phone - P999 running Cyanogenmod 7.2
I had to go into usb debugging screen to adjust the Display power Settings to - Always ON when Charging - Option.
There is probably some power setting in your device that allows you to do that as well.
Basically Power Saving (Screen Off) Powers OFF the Tether.
Ensuring the Screen is ON while Charging (it charges while plugged into a usb port) ensures the Tether stays ON ALL the TIME!
Hope this helps you.
Took me quite awhile of messing around to find the right option.
I do have a similar problem but it's not time-dependant.
Phone:
Nexus 4 mako
AOKP JB-MR1 Build 6
franco kernel 3.4.0 build #121
Situation:
I use FolderSync to backup my sdcard to my Windows 7 FTP server. The reason for doing this over USB Tether is that I get speeds at around 14MB/s instead of 1,2MB/s over WiFi.
I noticed that it doesn't really matter how long tether is connected and nothing really happens as long as FolderSync is scanning the folders on the ftp server at low bandwidth. However once a larger file is transferred the connection is almost sure to break and show the symptoms described by the other posters (interface still up, just no packets being received at either end).
So I assume that some driver (either on Android or Windows) chokes on certain packets and then just dies. Anyone got an Idea how to tell which device causes the problem to investigate further?
I also noticed that if I had ADB enabled before starting USB Tether that the tether connection on the android will be disabled once the failure occurs.
I have problem with my realme c2 when i connect it to pc via usb tethering, it connects it running ok. if i make screen on by playing youtube or any video on it run but as soon as screen sleep it disconnect after some time
I'm a bit late to this, but for anyone else still having this problem:
in Developer options of my phone(Redmi note 11) under Networking, there is an option called "Always keep mobile data on". Turning this on should fix the issue
@Denav
This doesn't work for me. I have a Moto G Power 2021 and that option is already checked.
flyingpreacher said:
@Denav
This doesn't work for me. I have a Moto G Power 2021 and that option is already checked.
Click to expand...
Click to collapse
Were you able to figure out the issue? I'm having trouble as well. Mine disconnects after a certain time period and the times seems to be random. I've played around with the dev options and other cables and still having same issue. It seems to happen with mac and windows laptops.
This is most bizzare. My internet on wifi was working fine until last night, but it is not working any longer. Works fine on 3G though. On wifi I am able to see connected devices on the local network and play files off my HTPC but internet browsing, google play store or anything that uses internet has stopped working and times out. All other wifi devices in my home are fine. I have reset the wifi router as well, nothing. Tried to disable and enable wifi on the phone and restarted a few times as well. Cant really put my finger on it.
Any ideas?
I updated to the SG .73 build about 3 days ago. I noticed batter battery life, no where near what I was used to on my GS2 though.
Anyhooo, any ideas guys, I am concerned.
alitech said:
This is most bizzare. My internet on wifi was working fine until last night, but it is not working any longer. Works fine on 3G though. On wifi I am able to see connected devices on the local network and play files off my HTPC but internet browsing, google play store or anything that uses internet has stopped working and times out. All other wifi devices in my home are fine. I have reset the wifi router as well, nothing. Tried to disable and enable wifi on the phone and restarted a few times as well. Cant really put my finger on it.
Any ideas?
I updated to the SG .73 build about 3 days ago. I noticed batter battery life, no where near what I was used to on my GS2 though.
Anyhooo, any ideas guys, I am concerned.
Click to expand...
Click to collapse
That's unlikely to be your device. Probably the router or something.
Sent from my Transformer TF101 using Tapatalk 2
I have also messed around with the wifi sleep policy. No issues there. Power saving is also disabled.
Could it be anything else? An app maybe? I will remove the most recent ones and report back. Badass battery monitor was the last one I installed.
alitech said:
I have also messed around with the wifi sleep policy. No issues there. Power saving is also disabled.
Could it be anything else? An app maybe? I will remove the most recent ones and report back. Badass battery monitor was the last one I installed.
Click to expand...
Click to collapse
Hi, along with that also try to connect to some other router and let us know if the problem persist.
The wifi connection remains active but no internet. Just thought I would add. I will connect to another wifi hotspot. My wife's GS2 tethering and report back.
I assume that you got "limited connectivity" problem.
If my assumption is true then you should try checking in your Wifi router setting, set encryption method to AES. The problem was addressed when I tried doing this and in addition, changed my Wifi channel from auto to a specific channel.
Right, not sure how this all started but like many others my internet connection (More specifically over wifi) just randomly stopped. After a fair bit of reading on both these forums and Sony's own forum, I downloaded and installed an app called WeFi Pro. Somehow this seemed to fix everything and now have a working wifi internet connection again.
Will do some more reading into this but as a fix i'd recommend installing this app. Oh BTW its free so its a win all round!!
Hi I recently restored my s3 to factory reset but after that I am not able to connect any devices (phones or laptop )with wifi tethering
Prior to reset it was working fine. I have not rooted my phone.
Do I have to reset it again? Any other possible solutions?
Can you explain it in more detail? If using hotspot, are your phone close enough with the device you want to paired? Did you try bluetooth or usb tethering? Did your phone have data connection?
Having major issues with tethering on my SGS3 aswell.
When I recieved the phone, stock out of the box, I was unable to get tethering working, it worked for 10-60mins then automatically turned off.
I rooted the phone, and tried various tethering apps, and finally (after a couple of days) managed getting FoxFi to give me a stable tether.
Now I've installed the latest FW, and Im back to square 1 (or even further back), FoxFi puts up an access point, but after being connected 10-60mins, tethering stops working, and the connection dissapears from the list on my computer. FoxFi still reports it's running, so I have to turn it off, then back on to get another 10-60 minutes.
Keep Wi-Fi on during sleep: Always
Build Number: IMM76D.I9300XXBLH3
Android Version: 4.0.4
Considering trying Cyanogenmod, but I really like the stock room and wish to stay on it.
USB tethering is out of the question, as I use it for Xbox360, PS3, talet etc.
For those wondering, usually having 10/8 mbps @ 80ping, limited to 20GB traffic a month, aint that bad tbh.
Might just gotta get me a proper and wired internet connection instead.
Anyone got any idea what so ever what might cause this? Ill be more than willing to post logs etc, just tell me how.
One more thing, some of the tethering apps gives Ad Hoc error, FoxFi the only I've not getting this error on (of those Ive tried atleast).