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.
I spent four days on this issue and I have gotten nowhere.
I recently got a SII (YES!) and followed Creepy's howto on rooting/flashing roms without raising the flash counter. I had no issues. I then installed Root Explorer(granting it SU rights) and deleted tetheringmanager2.
This is when my issues started. I tried usb tethering and my computer (which is running windows 7) acknowledges a device is plugged in but nothing else happens. If it were a modem i would blame it on USB drivers and reinstall them but not sure if wifi drivers exist for this phone. Also, I tried starting up wifi hotspot and i can get on it for a min then the connection drops.
I have tried google's wifi tether as a 3rd party app and it does the same. I know I missing somthing but cant figure out what. I have tried wifi hotspot with and without passwords. I dont have any firewalls installed on the phone and I lowered the one in windows with the same issue.
No, I do not have at&t's tethering plan b/c I already have broadband at home. I upgraded from the tilt 2 and had no issues tethering that device.
Does anyone else have this issue? ANY help or advice would be appreciated.
Thanks!
^^^^^^^^^^^^^^^^^^^^^RESOLVED: I reinstalled USB drivers and installed Kies.
i have had issues with wifi tethering since day 1 on this device, both stock and now rooted flashed to unnamed rom. i also DO pay for tethering through AT&T (biz expense) so it is not that either.. wifi hotspot just drops after a few minutes.. a work around i have found that works 50% of the time is to not let the screen timeout.
can you tether via usb?
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.
I have a droidX with liquid ICS 1.62,
android version 4.0.4,
and kernel version 2.6.32.9-g34b306d
i have tried every possible method i have found to get wifi tethering working, its to give my nexus 7 wifi on the train
I'm able to tether with bluetooth, but because there's no wifi connection various apps dont "see" the internet and ignore it.
so i need wifi tethering
BUT IT WONT FREAKIN WORK. :crying::crying:
more specifically, no matter what i try, nothing can see the wifi tethering signal of my phone, its as if nothing is there at all.
it'd tried; Foxfi, PDAnet, wifi tether for root users, barnacle tether...
i'm completely at witts end here, ask me any question you need and i'll answer in as much detail as needed
anyone? at all?
if you need any more information, i can provide it
guess not
i'll probably have to drop back down to CM7, it looks like every single ics or jb rom for the droidx has this dumb issue. thanks verizon
wait, nevermind, got it working again somehow
after flashing back to stock liquidICS 1.62 i found it working again
i tried to underclock the phone so i could leave it in my pocket running wifi all day, but apparently under OR overclocking the phone AT ALL breaks tethering, dont ask me how or why.
if you change the clock speed at all, you need to reboot before using tether