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 (5.14 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, dual boot via p-boot with Mobian/f2fs/Phosh on eMMC, Arch/ext4/Phosh on SDcard
  • PinePhone v1.2a 2G/16Gb that needs USB board replaced
#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 (5.14 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, dual boot via p-boot with Mobian/f2fs/Phosh on eMMC, Arch/ext4/Phosh on SDcard
  • PinePhone v1.2a 2G/16Gb that needs USB board replaced


Possibly Related Threads…
Thread Author Replies Views Last Post
  gnome podcasts on debian repo, dino-mobile user641 3 239 09-11-2021, 12:04 AM
Last Post: user641
  mobile data on mobian not working synaption 10 886 08-29-2021, 07:22 AM
Last Post: bcnaz
  Mobile network mode setting not saved Zebulon Walton 2 272 08-12-2021, 07:49 AM
Last Post: zetabeta
  Pinephone in Canada using Shaw mobile provider RRman 0 334 06-19-2021, 06:35 PM
Last Post: RRman
  How to access GPS data in Mobian ragreenburg 3 1,134 05-09-2021, 08:23 PM
Last Post: 8bit
  Issues with Mobian 20210314 (data and updates) IMSAI8080 5 2,184 03-20-2021, 04:14 AM
Last Post: IMSAI8080
  lightdm-mobile-greeter mobian dawg161 0 604 03-08-2021, 08:59 PM
Last Post: dawg161
  Sylpheed, Nextcloud Screensize not for Mobile Franze_m 6 1,074 02-25-2021, 09:55 AM
Last Post: C0ffeeFreak
  Chromium doesn't seem to recognize that I'm on a mobile device 3x5co 2 701 02-05-2021, 11:13 PM
Last Post: 3x5co
  Howto - automatically recover your modem and mobile data after deep sleep as400 23 6,471 01-05-2021, 08:14 AM
Last Post: scholbert

Forum Jump:


Users browsing this thread: 1 Guest(s)