IPv6 and routing mobile data
#1
Applications that try IPv6 connections first seem to use mobile data when the mobile data connection wwan0 has a valid IPv6 address and route when the wifi wlan0 only has IPv4. I suspect this is the reason why my November prepaid 500mb data has been consumed. It's my PinePhone test sim, so no loss. 

RedPocket a US MVNO on T-Mobile provides dual stack IPv4 and IPv6 connectivity. My home ISP does not provide IPv6 connectivity. This mismatch seems to be causing problems. My Mobian PinePhone was connected to my home network via usb-ethernet, wifi(wlan0) and mobile data(wwan0) when I apt installed some programs. The download process seems slow and then failed. I didn't check apt's download connections but I suspect they were using IPv6. Consumed the remaining monthly data allowance and then started to fail.

Any thoughts on adjusting the default Mobian routing to prevent applications from using IPv6 wwan0 mobile data when IPv4 WIFI or Ethernet is available? I assume there are some networking setting that can be used.

IPv6 could be disabled, not my preferred solution. T-Mobile and its MVNOs seems to prefer MMS messages get downloaded via IPv6. I've been using Janky-mms and would like to continue to have the ability to download MMS content.
#2
My waters have been saying my mobile data usage has been higher than I expected - this would explain it. Need to run some tests to confirm.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
#3
Not certain if it is still true,  but, Whenever I attempted to download data or updates via data connection, 
     I get warnings to use a different internet connection.

While downloading data or updates through wifi it just works,  no warnings.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
#4
(11-07-2020, 05:47 PM)dukla2000 Wrote: My waters have been saying my mobile data usage has been higher than I expected - this would explain it. Need to run some tests to confirm.

Quote myself - how sad!

But after tests my PinePhone is using no mobile data as long as WiFi is enabled. I am confused (too dumb?) to work out how my phone is routing mobile data - it is using mobile data as I write this but as far as I can see wwan0: is neither IPv4 nor IPv6!
Code:
$ ip a
...
4: wwan0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1358 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/none
    inet 10.94.204.68/29 brd 10.94.204.71 scope global noprefixroute wwan0
       valid_lft forever preferred_lft forever
This is LTE on Three UK.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to disable ipv6 at kernel level with towboot? vusra 3 1,505 10-04-2024, 04:23 AM
Last Post: vusra
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 793 06-25-2024, 10:38 AM
Last Post: mikehenson
  Mobile internet via cellular network mostly not working Anna 18 13,575 01-19-2024, 02:59 AM
Last Post: anonymous
  4G data on default startup / boot dcinoz 1 1,189 04-29-2023, 11:24 PM
Last Post: dcinoz
  How to enable ipv6 for hotspot robgadget 1 1,149 04-28-2023, 06:59 AM
Last Post: wibble
  Block firefix-esr-mobile-config from (re)installing itself grump_fiddle_reinstall 3 2,222 01-07-2023, 09:36 AM
Last Post: dcarvil
Exclamation No modems were found: No mobile data, no 2G anonymous 2 1,963 12-26-2022, 06:46 PM
Last Post: anonymous
  very slow processing of MMS received via Ting (T-Mobile) treebeard 6 3,670 12-01-2022, 09:18 AM
Last Post: traut
  DNS Problems with Mobile Data arno_nuehm 29 21,061 10-29-2022, 09:16 AM
Last Post: treebeard
  Amberol Mobile Music player(flatpak) biketool 0 1,162 06-19-2022, 07:16 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 1 Guest(s)