02-24-2021, 04:22 PM
Neat on / off mobile data command for Plasma Mobile (not checked with Mobian):
Get ip route for wwan0
Delete ip route for wwan0
It doesn't delete the wwan0 ip address but since there is no route for wwan0 that doesn't make any difference.
Seems like there is always a mobile data connection ready in normal circumstances, still don't know how to enable / disable that 'properly'.
Get ip route for wwan0
Code:
sudo ip link set dev wwan0 up
Delete ip route for wwan0
Code:
sudo ip link set dev wwan0 down
Seems like there is always a mobile data connection ready in normal circumstances, still don't know how to enable / disable that 'properly'.
Pinephone v1.2 UBports CE. Adelaide, Australia using Amaysim SIM (Optus network, VoLTE enabled) with Mobian SD card. VoLTE working also with Felix / Vodafone AU and Aldimobile / Telstra AU.
Manjaro Plasma Mobile on EMMC.
Manjaro Plasma Mobile on EMMC.