Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243128

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

From Tim Woodall <debianuser@woodall.me.uk>
Newsgroups linux.debian.user
Subject Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone
Date 2021-12-15 07:10 +0100
Message-ID <DuvEd-3KW-7@gated-at.bofh.it> (permalink)
References <Duqbw-fk-7@gated-at.bofh.it> <DuquR-lf-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 14 Dec 2021, Dan Ritter wrote:

> Vincent Lefevre wrote:
>> Hi,
>>
>> When I use USB tethering between my Debian/unstable laptop and my
>> Samsung Galaxy Note10+ phone (Android 11), everything is OK with
>> IPv6 connections (e.g. "wget -6"), but IPv4 connections freeze
>> (e.g. "wget -4" or "ssh -4"). I can notice this in particular when
>> testing with the same remote server. For instance, with "wget -4",
>> a few dozens of KB are downloaded, then the connection is completely
>> frozen.
>>
>> I don't have any issue with the mobile hotspot (thus wifi between the
>> laptop and the phone) or with a Cosmo under Android 9 (instead of the
>> Samsung Galaxy Note10+), but in both cases, this is much slower, and
>> I sometimes get wifi disconnections.
>>
>> On my Debian laptop, I'm using NetworkManager (nmcli).
>
> Have you investigated the MTU? This sounds like a mismatch
> between what your laptop and phone are using.
>
> Diagnosis (besides looking at connection details on both sides):
> ping with increasingly large packet sizes. If it works at small
> IPv4 packet sizes and then stops, that's the problem.
>

Yes, probably - --clamp-mss-to-ptmu in iptables might be what is needed.

The other thing I thought of was dodgy natting somewhere. Especially if
there's a firewall somewhere that drops 'middle of stream' packets where
no SYN has been seen first.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

IPv4 specific issue with USB tethering between my Debian laptop and  my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-15 01:20 +0100
  Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Dan Ritter <dsr@randomstring.org> - 2021-12-15 01:40 +0100
    Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-15 07:10 +0100
      Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-15 18:00 +0100
        Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-15 18:10 +0100
          Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-16 23:50 +0100
        Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Dan Ritter <dsr@randomstring.org> - 2021-12-15 19:40 +0100
          Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-17 01:10 +0100
            Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-17 08:20 +0100
              Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-19 00:00 +0100
                Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone didier gaumet <didier.gaumet@gmail.com> - 2021-12-19 09:10 +0100
                Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-19 10:20 +0100

csiph-web