[Q] Shiny ROM + tether MTU issue? - Samsung Galaxy Nexus

After flashing both the 020414 and 030914 builds of the Shiny ROM for the Galaxy Nexus, I found that I encountered browsing and network communication difficulties with a device (2013 Nexus 7) tethering through the GNex.
I observe on the tethered Nexus 7 that most pages won't load in the browser and on the pages that do load, often the images don't load. Most Google-hosted pages seem fine. If I turn on Chrome's Bandwidth saving proxy, most web pages load ok. Most other apps encounter network timeouts or other errors attempting to do their thing over the tethered connection.
During this situation, the browser and apps on the GNex do not show any issues.
This problem appears both with Bluetooth tethering and WiFi tethering.
This worked without any problem in stock 4.2.
I observed that, when tethered through the GNex, the MTU setting for the bt-pan (or wifi) device is 1500.
I also observed that the GNex's rmnet0 device used for accessing the 3G/HSPA network has an MTU of 1440.
I have read elsewhere than most of Google's servers use a smaller-than-normal MTU setting. I think this may explain why Google pages work and the Bandwidth saving proxy in Chrome makes many other pages load on the tethered Nexus 7.
I'm guessing here that perhaps when tethering is initiated, it's supposed to set the MTU of the tether interface to the same or smaller MTU than the 'upstream' interface has -or- something is broken in the packet fragmenting/reassembly in Shiny ROM.
Has anyone else experienced this sort of problem? Were you able to determine what the underlying issue is? Did you find a way to work around it? I've searched and not seen any threads about GNex/tether/MTU issues before.
Thanks!

Related

[SOLVED] streaming over wifi causes buffer issues

Just like the title says, I use xiia player. Im forced to stream off EVDO to avoid the buffering issue but it tends to use more battery than wifi, plus i have dead zones in certain areas of the house. Any thoughts on what it could be?
Also is their a similar app that uses a pre-buffer to avoid or lessen skipping?
Phone setup: 0003
Calkulin 1.7.6 with the included kernel
Netgear dual band N router (WNDR3400) onewave cable internet 10/mbs
I can stream on my loptop, run Netflix on two devices all at the same time with no issues, there's no reason my phone should be buffering every 2 mins even if my phone is the only thing connected at the time.
Could be QoS or WISH on the router or ISP level. Try the following:
1) See if you can listen to the same stream on another device (laptop, etc.)
2) Listen to the stream through another player.
3) Check and see if you're getting this problem with multiple streams from different sites/servers, or just one server.
I remember reading a post (on here?) about similar issues. Something having to do with wifi power settings on the router?
I stream on my loptop and it works fine also the router power is at %100. Im convinced its something goibg on with the phone.
It had something to do with a low power mode setting on the router. Look at your wifi settings for power too... Something in the router had to match this.
I didn't run into the issue myself so didn't pay much attention, but it stuck in my mind.
Thank to a post by duffman in another forum:
Apparently the update changed the settings below to something that disrupts streaming. Whether it is because Sprint wants to redirect this traffic to a proxy server or someone just goofed on the settings, who knows.
Here's the fix:
1) Dial ##3282#
2) Choose Edit Mode
3) Enter MSL
4) Choose Advanced
5) Change HTTP PD Proxy Port to: 0
6) Change HTTP PD Proxy Address to: 0.0.0.0
These are the settings for other Android devices so I do not know why Sprint changed them. But this will get your streaming services working again.
phatmanxxl said:
These are the settings for other Android devices so I do not know why Sprint changed them. But this will get your streaming services working again.
Click to expand...
Click to collapse
Conserve bandwidth, faster response since it doesn't need to go offnetwork...
Proxy's are a double edged sword, good for static content that doesn't change too often.

[Q] Networking issue in android 4.2.1 Galaxy Nexus

Hello,
i've come from this thread thread
I have a galaxy nexus running stock android 4.2.1 with a very peculiar problem. From time to time i have trouble accessing a certain website if i try from wifi or from mobile connection it doesn't matter. If i restart the device the website works without a problem. It was a very odd problem and kept bugging me so i tried to focus on finding the real cause. After a lot of try and error i managed to arrive at this situation:
I have at my disposal 3 different wifi networks (lets call the wifi-1,wifi-2,wifi-3) and mobile broadband connections.
after a reboot of the phone (just to have a clear state) if i connect to wifi-1,2 or mobile conn the website works OK. if i connecto to wifi-3 the site also works OK but then after i disconnect from wifi-3 and connect to any of the other wifi-1,wifi-2 or mobile conn it doesn't work anymore. If i connect to wifi-3 again it works fine on that network.
I've connected to the phone using connectbot and checked the ip address and different params. and i simply can't get a ping to that website. a similar website located in the same subnet but on a different IP still works.
So what could happen on the network layer on the phone to stop working the connection to a certain IP?
Where could i find some info about how to debug IP networking issues on android 4.2.x
PS: I control both the phone and the servers that i'm trying to reach and can't see any traffic coming from the phone on the server.
PS1: I couldn't reproduce the issue with android 4.2.2 only with 4.2.1 (i've also tested android 4.4.4 and couldn't reproduce) i've tested 2 different phones with 4.2.1 and the problem reproduces.
PS2: IPv6 is disabled on wifi networks
PS3: all networks use different ip address classes and the IP changes accordingly. i was able to reproduce the issue only with a specific website/ IP
I was hoping someone would have answered you here.
Let me ask you this. Can you do process of Elimination ?
Choose a different Web such as this site http://forum.xda-developers.com
Next Connect the phone to each network and the Data in turn. Each time, first wipe data to the Browser on your phone. Go to the website. See if it loads and interacts well. (Go to some forum or log in etc.)
Switch to the next network and repeat. Let me know how that goes.
Next find a computer and have it do the same thing with internet Explorer. Clear IE's cache data each time. See how that goes as well with this site as your test site.

[Q] change CM12 wifi hotspot broadcast channel

Background
I live in the stix and my only source of internet is my 'unlimited' data plan via phone carrier which also 'allows' me to tether.
This gives me about 15meg download on 58-65 ping which is really nice especially as there is no extra charge for the data I use.
Issue
Recently I started getting random 'limited' connectivity.... which of course means no net connection and to fix I discover the 'Default gateway is not available' and the adapter needs resetting. This solves the network connection.... but a complete nightmare if I'm downloading a big file that can't be torrented and I have to start again. I've tried changing from 'Obtain IP address automatically' to manually setting the IP address,subnet mask and default gateway but this random dropout to 'limited' persists.
I installed Vistumbler to check traffic and discover I'm broadcasting on channel 6 which is populated with lots of other traffic (5 other networks near by using channel 6) and figure this may be a potential cause. (someone else disconnecting from channel 6 at shutdown maybe...?... but that's a wild guess) So only way to discover how to stop this happening is by a process of elimination.
Question:
Does anyone know which 3rd party Wi-Fi tethering app will work on Lollipop and can change the broadcast channel number of my wifi hotspot from my Z1c running CM12...?

SM-G960W (Canadian Device TELUS) Wifi issues

Greetings,
Recently upgraded from Galaxy S7 Edge to the Galaxy S9 (standard). The phone so far is fantastic in virtually every way. I am still running all stock (fully updated) software and I have not yet unlocked the bootloader or rooted my device. The only issue I seem to be having that may or may not be environmental is what can best be described as wifi drop outs or hanging.
While the phone doesn't appear to disconnect from the wifi network but it will occasionally hang and websites and net based apps will be unable to load content for a few seconds. Often when the hang occurs the Wifi notification Icon will show a solid white upstream arrow and a blank downstream arrow with no blinking activity during the hang. After a few seconds things seem to return to normal. I have had this occur on both my 2.4 and 5.0ghz AC networks. I have tried rebooting the router and resetting network settings on my device. The issue does not occur on any other wireless devices connected to the router (23 total). Router is a Linksys WRT32X running DD-WRT w/ OpenVPN running ExpressVPN for all except 4 clients (Rokus) that do not use the VPN but rather a split tunneled to be direct with using ExpressVPN Smart DNS for media.
Unfortunately I have been unable to test my phone on a different router to see if I can recreate the issue. This is more so to see if anyone else has heard anything about this kind of issue with the s9 or if my case is isolated and thus potentially a defective wifi unit on my SoC.
Thanks in advance for any information or advice offered.
EDIT: I also noticed that occasionally during the wifi hang/interruption the Wifi notification icon will have an exclamation (!) mark. This does not always occur but sometimes and other times it is the aforementioned upstream arrow going solid while with no activity from downstream arrow.
Turn the VPNs off and see if the connection fixes itself, then you can narrow it down somewhat
Need a direct connection to troubleshoot network problems

Galaxy S9 Overloading the System (CPU) w/ Mobile HotSpot / VPN / SecureTether No Root

I am trying to figure out how to best tether my phone without my carrier throttling me down or detecting this and getting some exorbitant bill.
Both of these things are important to me but I am trying to find a balance between shielding my tethered traffic while also:
1. Not killing my battery so quickly
2. I am concerned about a notification that I am overloading the CPU on my device.
Equipment\Software:
Samsung Galaxy S9 4 GB RAM w/o Root
SecureTether (Google Play Store)
NordVPN (Paid Subscription)
Major US Carrier w/ Unlimited Data
Dell Inspiron 5559 (Only device tethering to phone)
Here is some of the background:
I get a notification on my phone, no matter how I set things up with Secure Tether and NordVPN either running on my laptop or on my phone.
"Some appications or processes are overloading the System (CPU) and need to close.
How serious is that message?
Critical to protect device or more just a power consumption or load bearing metric?
I keep my phone plugged in when I'm tethering 99% of the time so the power consumption doesn't bother me, but I want to make sure I am not doing something that is detrimental to the phone. Everything looks like it's working correctly and the internet works fine and isn't lagging on my laptop or phone.
Secondly,
I want to use my VPN provider (NordVPN) to setup a VPN to shield my my carrier, to be on the safe side that they can not see my traffic and/or that I am not using their metered hotspot connection. This comes with a performance and power penalty so, I know a VPN is a good idea but is it necessary in order for my carrier not to find out I am using something else to tether my device. This is just for some more general knowledge.
Third,
I can use NordVPN on my device or my laptop and both work fine on either device, in both cases though I get the message: "Some appications or processes are overloading the System (CPU) and need to close."
I can tether my laptop to my phone and then connect NordVPN on my laptop and it takes a minute to connect but it does and when it does. everything works fine.
I was skeptical it would work fine because in order to setup Secure Tether you need to setup not only a basic WiFi connection on my laptop but also use a VPN (SSTP-->192.168.49.1:8822) from my laptop to phone, even before throwing NordVPN into the mix, but
Configuration One:
Laptop ---> Secure Tether WiFi ----> Secure Tether VPN (SSTP 192.168.49.1:8822)----> Connect Nord VPN on Laptop ----> Internet. (((Laptop has NordVPN Internet))) (((Galaxy has clear Internet)))
Configuration Two:
Laptop ---> Secure Tether WiFi ---> Secure Tether VPN -----[[Connection Established to phone]] ----> Connect Nord VPN on Phone ---> Internet (Laptop and Phone)
I am looking for some feedback to see if that first configuration is:
First, Masking my Tethered Traffic correctly. I am only shielding my tethered Internet and otherwise my phone is using normal Internet. I only care about my carrier not seeing that I am tethering my laptop essentially.
Second, taking some of the load off of my phone by not running both services (SecureTether and NordVPN) on it.
But then I thought, if my carrier is seeing a lot of VPN traffic and some clear traffic that might look worse, because generally when you run a VPN on your phone everything runs through it, so with half and half traffic, they may suspect that I am tethering something but they wouldn't be able to necessarily prove it.
But just raising red flags might be enough to warrant a closer look at my account, so it might just be better to run NordVPN on my phone and send all traffic through it.
I only really have this one device connecting to my hotspot, one laptop so it isn't like I have 5 devices each running their own VPN and probably creating more work for my phone with constantly open VPN connections. With one device there has to be an open VPN connection somewhere device/computer and it doesn't matter where it is because it's the same amount of traffic/bandwidth used up anymore, it's just a matter of where it is.
With multiple devices it would be more advantageous to run a single VPN connection on my phone and this generates less traffic/uses less bandwidth?
Am I correct in assuming that with 1 device this first configuration takes some of the load off of my phone because it is just passing data through rather than running the VPN service itself.
Either configuration works for me, I would think that Configuration 2, that is, connecting\running Nord VPN on my device would be a better option from a security standpoint and it simplifies things because:
A. Any device connecting to the hotspot is using the VPN automatically.
B. All of my phone data, hotspot or not is being sent through the VPN.
However, the // [major [/I ] // downside is that power runs through your phone like a sieve and the load on the CPU is increased.
I just got this S9 a few days ago and I am switching from iPhone to Android so my depth of knowledge isn't developed enough to where a reliable instinctual of how this device handles, so I'm sorry is this seems redundant.
Sorry for the length of this post, I got more nuanced than I thought I would but I wanted everything to be clear and maybe this will help someone else along the way.
Any input you have would be greatly appreciated.

Categories

Resources