Howto - automatically recover your modem and mobile data after deep sleep
#11
(11-23-2020, 03:25 AM)as400 Wrote: As many of you know, there are problems with Mobile Data connection and modem waking up in a different state after deep sleep.
So I have come up with a solution that is automatic and does not require rebooting the phone.

Find it here --> https://gitlab.com/as400l/pp-modem-guard

Yes, I know it's nasty but the modem behaviour is so painfully unpredictable.


Have you tried the following?

Restart modem with

Code:
mmcli -m any --command='AT+CFUN=1,1'

and activate mobile data with

Code:
nmcli c up Internet

with "Internet" replaced by the name of your mobile data connection name.

Source:
https://gitlab.com/mobian1/issues/-/issu..._438830780

It works quite fine in a script and a sleep of 30 seconds between the two commands.
  Reply


Messages In This Thread
RE: Howto - automatically recover your modem and mobile data after deep sleep - by arno_nuehm - 12-07-2020, 04:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 797 06-25-2024, 10:38 AM
Last Post: mikehenson
  Mobile internet via cellular network mostly not working Anna 18 13,585 01-19-2024, 02:59 AM
Last Post: anonymous
  MODEM - Usb problem & couldn't query SIM slots: QMI protocol freelectro 5 4,372 06-06-2023, 06:36 AM
Last Post: freelectro
  4G data on default startup / boot dcinoz 1 1,191 04-29-2023, 11:24 PM
Last Post: dcinoz
  ModemManager debug mode? (Needed to flash modem) calinb 1 1,638 02-27-2023, 04:18 PM
Last Post: calinb
  Block firefix-esr-mobile-config from (re)installing itself grump_fiddle_reinstall 3 2,223 01-07-2023, 09:36 AM
Last Post: dcarvil
Exclamation No modems were found: No mobile data, no 2G anonymous 2 1,964 12-26-2022, 06:46 PM
Last Post: anonymous
  very slow processing of MMS received via Ting (T-Mobile) treebeard 6 3,674 12-01-2022, 09:18 AM
Last Post: traut
  DNS Problems with Mobile Data arno_nuehm 29 21,128 10-29-2022, 09:16 AM
Last Post: treebeard
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 6,372 09-23-2022, 05:15 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 2 Guest(s)