I've been experiencing this issue for a while with my Samsung Fold4. I suspect the problem is some Android process is set to a low priority because of a power saving setting, but have no hard evidence, so am looking for suggestions on how to further debug.
What I have observed:
Locally on my phone while using its 4G connection:
1. Ping time to 8.8.8.8 is a consistent 18-20 ms.
Locally on my laptop while connected to my phone via wifi tethering:
1. Ping time to my phone is a consistent 8-10 ms.
2. Ping time to 8.8.8.8 (via my phone's 4G) as measured on my laptop is 20-30 ms about 80% of the time, but 20% of the time I get big spikes to 200-600 ms.
3. Ping time when run from my laptop, but measured on my (rooted) phone via tshark on both the tethered wifi device and 4G device is a consistent 18-20 ms.
Locally on my laptop while connected to my phone via USB tethering:
1. Ping time to my phone is a consistent 1 ms.
2. Ping time to 8.8.8.8 is a consistent 19-21 ms.
So it seems there is a random delay introduced by the tethered wifi device.
Related
I'd like to suspend/wake a server when I disconnect/connect with my home wifi network.
I can suspend it via ssh'ing and running pm-suspend (it runs Ubuntu) and I can wake it by sending a Wake On Lan packet.
Scripting a cron job would be adequate if doing it on the wifi events isn't practical as I'm usually at home at the same times.
(Using a HTC Desire with a recent Oxygen ROM).
Thanks in advance for any suggestions.
Wake on Lan when you connect is pretty straight forward.
Make app with service running, if connected to wifi with certain SSID, send wake on lan.
Suspending the server will have to be done on the server, as the android won't know when it disconnects and normally can't use the network at the point it knows.
You could make a cronjob on the server with a script that counts the time your android is disconnected (not straight away if you are having connection problems) and suspend it after X minutes if you device doesn't reconnect.
Just updated from an Incredible to a Charge on Wed. Still able to take it back and get a Thunderbolt if I don't fix a few problems. The main two are:
1) Bluetooth cutting in and out in car - Understand some others have also experienced problems with this, but so far hasn't been TOO bad and a deal killer.
2) Wireless "seamless roaming". I've got a two story house and a single access point has never given me full coverage. Long ago I wired up a 2nd router to the upstairs and set it to disable DHCP, etc., etc., then set it to use the same SSID as the primary router. One is set to use channel 11 and the other is set to use channel 2. The Incredible at least seemed to go from one access point to the other when it needed to and I maintained adequate throughput throughout the house. The Charge appears to be staying on whichever access point it initially connects to and my throughput will drop to nothing when I'm a long way from the one initially connected to. E.g. Go upstairs, turn on wireless - Speedtest of 25 Mbps. Go downstairs hold phone right next to access point - Speedtest of 0.9 Mbps. Turn off wireless, turn back on and throughput of 25 Mbps.
How do I fix this? Is it a network setting error or is the Droid not smart enough to change to the other point? That may be a "return to Verizon" problem.
I have been noticing a lot of Wi-Fi disconnects while using my tablet and my phone. I keep getting disconnects and overall slower performance even though my internet is 30-D 5-U and i get better results then that with speed test on my computer but my phone speed test is about 12 down and 6 up when connected to Wi-Fi
My problem is this...
I can try to watch youtube through the youtube app and pick a crappy non HD video thats like 30 seconds long and spend 5 minutes waiting for THE AD to load... i Tried using the chrome browser and i get mildly better results... the video actually loads but buffers for 1 to 2 minutes for every 3 seconds of video i am shown.
So i tried to fix this by setting my router channel to 11 seeing as there are about 15 networks in range of me and i started getting better results.
then i had an issues with my computer getting ip conflicts if i turned it on while my phone was on the network since my PC was set to a static IP so i had to set my tablet and phone to a static aswel.
So.. after i did that i stopped getting the conflicts but now when i am playing Clash of Clans i keep getting disconnected... often... im licky if i can keep the game going long enough to do 1 attack without getting disco. (thats about 3 minutes if you never played the game)
so i dont know how to fix these disco's.. i am still getting slow overall performance from sites like youtube and even general internet searches at times. it seems like my router is refreshing or something and forcing my Wi-Fi connections to reconnect. If i have my tablet and my phone next to each other they do NOT lose connection at the same time but randomly. this issues makes no sense to me... i have no other ideas.
And before you suggest the "obvious" ive probably already tried it.
Router Linksys wrt160n
Tablet Asus eeepad TF201
Samsung Note 3 (t mobile)
Fresh install of windows (7 days old and problem was present before reset)
all drivers and firmware up to date
phone tablet and pc are all on static IP
NOTHING else is connected to my network or using my internet except my phone and tablet
i have no viruses / malware
my signal strength is EXCELLENT when i get disco and does not diminish during the disco
bump cause i m still having this issue... seems worse then before even. and its only mobile devices on my network or jst wifi connected devices.
what can i do to fix this
Hello everyone! Here's a nice little guide on how to tether your phone and use that ability to power a home internet network. I have done tons of trial and error to get this working with bits and pieces from numerous forums and google research. This has been working flawlessly for me and it's a "set it and forget it solution".
The reason why I wanted to do this is because I live in a rural area with no high speed ISP. My only option was to use a data capped satellite ISP that is extremely limited in ability and expensive. Without further ado my guide to achieve an unlimited, data cap free, tethered home network.
What you need:
Android phone you're willing to dedicate for full time use
Computer with windows and LAN port you're willing to dedicate for full time use
Wireless Router
A nice USB cord for your phone
A nice CAT cable
1) First thing to do is look around for an unlimited data (4glte preferred, no tethering plan needed) cellular plan. I know there are a few out there but I decided on MetroPCS due to the coverage I get and the price ($60 a month, no contract). I opted for just a sim card as I had an android phone laying around.
2) Make sure your android is unlocked if it's not on the same network you are trying to use. My phone was tied to AT&T and I had to call them to unlock it. Most carrier will do this if the phone in good standing. Meaning paid off. Or root it.
3) We will need to find out where your equipment will sit to receive the best speeds. I recommend putting your phone in "field test mode" and walk around the house. The lower number the better. I also ran a speed test in certain locations to give me a rough idea of what speeds I would be getting. If you are really serious about this set up there is equipment out there to boost cell signal in your house. I like WeBoost.
4) Download your tethering application. I have tried multiple apps but only one worked perfectly but with different hardware you might have other results. Clockworkmod Tether ($4.99) and PDAnet+ ($7.95) worked alright but I had issues with it talking to my router and clients so disconnects where frequent and frustrating. I ultimately went for EasyTether ($9.99) and it has been working fantastic. Mind you when using Clockwork and PDAnet I would be getting a DL speed of 6Mbs when my phone was 13Mbs. I don't know what would cause that but with EasyTether I am getting speeds very similar to my phone with no speed loss.
5) All three tethering applications require you to install a sister program on your computer to work. So install that on your "slave" machine. They are all about the same process, install an .exe and drivers for your phone.
6) Test that everything is working. The tethering application will have instructions on how to USB tether your phone. We need to check that it will give your slave machine an internet connection. Simply open a web browser and see if it is working.
7) Great! Now your are connected and able to surf the web! But wouldn't it be great if you could use this on all your devices? This is where the router comes in play.
8) Now I don't know what router you are using but mine is an ASUS RT-N56U and the principle should be the same. Plug your router into power and reset it with the button on the back (10 seconds). Unplug from power. Connect the CAT cable to the WAN port of the router (the one that usually connects a modem to the router) and the other end to the LAN port of your slave machine. Plug power to the router and allow it to boot up. Now on your slave machine go to Network and Sharing Center, View status on the tether connection, properties, sharing, check Allow other network users to connect through this computer's Internet connection, select the Home networking connection as the router. With everything done correctly you should be getting an internet connection to the router.
9) Now this is all fine and dandy but there are some settings in the router you can configure to make it more reliable. Our cases could be different but this is what has worked for me. I'm no networking genius by any means so my setting could not mean anything. In my experience things would work for a few mins but streaming to chromecast or connecting a mac to wireless mysteriously cut all connection. So here are my settings.
Disable MAC Filter
Disable Wireless Scheduler
Enable IGMP Snooping
Enable DHCP Server
Disable DHCP Routes
Disable Multicast routing (IGMP Proxy)
WAN Connection Type-Automatic IP
Enable UPnP
Connect to DNS Server automatically-NO
DNS Server1 8.8.8.8
DNS Server2 8.8.4.4
Everything else is default
I don't know about the NAT for all you gamers out there but I am sure there is some router configuration you can do. If anyone has ideas on how to achieve this please chime in.
10) Congratulations! You have now set up a home network with your phone and can use it like any other ISP. If you experience any issue with this process let me know and I will get back to you with an answer. I have had to do a lot of trouble shooting to get to this point.
i play pubg mobile on daily basis, usually connecting VIA wireless 5G Network, my router is directly in the same room without any repeaters, the internet is Fiber with speed of 300, usually, the ping in-Game is between 60-80 which is good but sometimes I get killed behind cover due to ping difference. so I purchased the USB-C tethering device from belikn (Belkin F2CU040btBLK USB-C to Gigabit Ethernet Adapter), and I connected it directly to the main router, the internet speed on youtube and speed test is excellent and the speed test shows a ping of 1 MS.
when I tried the gameplay, everything was fine until I got loaded to the island and the ping shows 20ms for 1 second then jumps to 460 after that without any change.
any ideas?
my phone is oppo Reno 4