Plasma Mobile airplane / aeroplane mode / mobile off
#1
Hi,

Evening here and I normally put my phone in airplane / aeroplane mode i.e. would look for a toggle to disable modem / mobile data / wifi / BT if any are on.

I could find no such thing on Manjaro Plasma Mobile 20210221.
I panicked when I went to settings and saw internet had a tick - even though the Mobile Data icon in the top bar settings is not on....does that toggle not work?

So surprise, no mobile modem off either. Or could the Mobile Data icon actually toggle mobile / mobile data on / off?

I have my mobile modem on with data off due to cost.

I did not find a quick way to turn data on / off via ofono command.
Neither a way to turn mobile modem on / off via ofono.

I did a brutal
Code:
sudo pkill ofonod
and that worked - no more mobile icon in the top bar.

I lodged a bug report at https://gitlab.manjaro.org/manjaro-arm/i.../issues/69

I appreciate any comments from anyone with more Plasma Mobile experience. Mobian has quirks including with their Airplane toggle (still not fixed....) but you can turn mobile on / off, data on / off.

I assume this bug report covers the mobile data icon toggle:
https://gitlab.manjaro.org/manjaro-arm/i...-/issues/9
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.
  Reply
#2
I hoped the ofonoctl command as per https://git.sr.ht/~martijnbraam/ofonoctl

Code:
sudo ofonoctl offline
would work but it doesn't.

Same with modem power off command
Code:
sudo ofonoctl poweroff
it doesn't do anything.

and service start / stop / restart doesn't work either for ofonod, I don't know how to start / stop it properly.

Worked it out:

Stop ofono:
Code:
sudo systemctl stop ofono

Start ofono:
Code:
sudo systemctl start ofono

After ofono start (if turned off before), modem power is off and offline, so you need to do:
Code:
ofonoctl poweron && ofonoctl online

You can check the status with:
Code:
ofonoctl list
and for WWAN:
Code:
ofonoctl wan

Note that
Code:
ip a
and
Code:
ip route
do not show any WWAN routes so perhaps mobile data is actually off?
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.
  Reply
#3
(02-22-2021, 05:54 AM)dcinoz Wrote: Hi,

Evening here and I normally put my phone in airplane / aeroplane mode i.e. would look for a toggle to disable modem / mobile data / wifi / BT if any are on.

I could find no such thing on Manjaro Plasma Mobile 20210221.
I panicked when I went to settings and saw internet had a tick - even though the Mobile Data icon in the top bar settings is not on....does that toggle not work?

So surprise, no mobile modem off either. Or could the Mobile Data icon actually toggle mobile / mobile data on / off?

I have my mobile modem on with data off due to cost.

I did not find a quick way to turn data on / off via ofono command.
Neither a way to turn mobile modem on / off via ofono.

I did a brutal
Code:
sudo pkill ofonod
and that worked - no more mobile icon in the top bar.

I lodged a bug report at https://gitlab.manjaro.org/manjaro-arm/i.../issues/69

I appreciate any comments from anyone with more Plasma Mobile experience. Mobian has quirks including with their Airplane toggle (still not fixed....) but you can turn mobile on / off, data on / off.

I assume this bug report covers the mobile data icon toggle:
https://gitlab.manjaro.org/manjaro-arm/i...-/issues/9


I just installed the same image, and see a "Mobile Data" button in the action center at upper right corner. Enable/Disable there
  Reply
#4
Mobile data doesn't actually turn it on / off it is always on, apparently, but ofonoctl doesn't get an ip address and set up a wwan route. If you do it manually and toggle mobile data 'off' it doesn't do anything. Missing scripts somewhere to do that?

Part of my post was about mobile being on without data and switching mobile off. There is no toggle option in the current settings to 'just' turn mobile on / off.
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.
  Reply
#5
Script to turn modem on / off and enable / disable data is available here:
https://forum.pine64.org/showthread.php?...8#pid90498
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  what is wrong with KDE plasma beta15 RC4? Uturn 8 1,330 10-02-2023, 05:07 AM
Last Post: Uturn
Exclamation My short experience with Manjaro Plasma Mobile anonymous 10 4,352 03-02-2023, 07:25 PM
Last Post: Kevin Kofler
  Flight mode turns off wifi but not the modem (cellular) jojuma 2 1,277 02-28-2023, 01:58 PM
Last Post: calinb
  gnome-mobile dev Uturn 1 1,038 02-22-2023, 03:37 AM
Last Post: acrux
  Manjaro plasma-mobile Beta 13 Uturn 13 4,558 01-25-2023, 04:15 PM
Last Post: Kevin Kofler
  Manjaro Plasma busted Chief 2 1,478 11-22-2022, 05:00 PM
Last Post: Chief
  Disabling screen timeout for plasma mobile rp3 7 7,009 09-05-2022, 03:50 PM
Last Post: christev1
  VPN on Plasma Hobgoblin 1 1,217 08-29-2022, 03:14 AM
Last Post: saddamus
  manjaro-pinephone / plasma-mobile-dev: Update broken Uturn 32 28,558 07-28-2022, 12:40 PM
Last Post: johaennessen
  |Plasma] Blank screen + pointer, SDDM error tuxmain 0 942 07-04-2022, 11:42 AM
Last Post: tuxmain

Forum Jump:


Users browsing this thread: 1 Guest(s)