Use of Wifi vs. Mobile Data
I just found out that I accidentally used up my mobile data by updating my Manjaro Phosh Pinephone while connected to a wifi network. Looking at the routing tables it seems the wifi connection (via wlan0) would be preferred when available since it has lower metric values than the mobile data connection (via wwan0). This was not the case though. Looking around I came across this thread which has some contradictory info on whether the mobile data connection might be used when IPv6 is not available on the wifi. This led me to disable IPv6 on my Pinephone and everything worked as expected afterwards (no more use of mobile data when connected to wifi). So it seems that it actually is a problem when IPv6 is not available. My phone gets an IPv6 address from wifi network I'm connected to, but IPv6 is disabled on the router, so connection attempts must fail.
I would like to file a bug report for this or at least put a warning about this on the wiki since it might easily become a mysterious problem for Pinephone users. But I can't login to the wiki with my forum credentials and I have no idea where to file a bug report for this. Does anyone know where would be the right place for that or if this is already a known problem that maybe even is already being worked on?
Quick follow-up: I disabled IPv6 functionality via sysctl as described in the Arch Wiki. While that does disable IPv6 after running 'systemctl restart systemd-sysctl', it doesn't survive modem reboots/toggling of airplane mode/deep sleep (the systemd service has to be restarted manually every time). Seems to be a bug from what I've found. The easiest way to go about this I have found is just do disable IPv6 for the mobile data APN in Network Manager (e. g. via 'nm-connection-editor' or through nmcli). This leaves IPv6 functionality for all other connections like wifi, but prevents accidentally using your mobile data when IPv6 is not available on the wifi.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 3,141 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  Proximity lock on Plasma Mobile alpineduck 0 1,181 08-14-2023, 05:51 PM
Last Post: alpineduck
Information Quick&dirty VPN quick setting button for Plasma Mobile Kevin Kofler 0 1,126 04-06-2023, 02:40 PM
Last Post: Kevin Kofler
  Mepo - Minimalist and hackable OSM map viewer for mobile linux mil 22 15,956 10-31-2022, 07:29 AM
Last Post: mil
  Help wanted: location of calls and chatty data files dukla2000 3 4,913 06-13-2022, 02:01 PM
Last Post: israel
  HowTo: Get a passcode from DUO Mobile working on the Pinephone kop316 2 3,957 01-16-2022, 03:46 PM
Last Post: michel_luc
  GTK Rust mobile Linux client for Signal Be. 14 20,701 11-11-2021, 05:35 PM
Last Post: sativista
  Choosing Wi-Fi or Mobile Data sergio.pantalone 1 1,768 10-14-2021, 12:28 PM
Last Post: kqlnut
  Questions and experiences using Fedora Mobile (as a PinePhone newbie) zkajdan 1 1,962 10-03-2021, 11:31 AM
Last Post: zkajdan
  PSA: WiFi driver is broken - Unload kernel module to save lots of power Trbl 3 4,256 06-23-2021, 02:28 AM
Last Post: Merc

Forum Jump:

Users browsing this thread: 1 Guest(s)