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
  no wakeup from deep-sleep jsch 7 572 08-06-2022, 03:51 PM
Last Post: treebeard
  Amberol Mobile Music player(flatpak) biketool 0 166 06-19-2022, 07:16 AM
Last Post: biketool
  DNS Problems with Mobile Data arno_nuehm 27 5,349 05-16-2022, 04:14 PM
Last Post: henrythemouse
  Cellular data is working! drh 0 242 05-15-2022, 09:02 AM
Last Post: drh
  Mobile internet via cellular network mostly not working Anna 17 3,100 02-28-2022, 02:51 PM
Last Post: TRS-80
  sharing mobile data through usb tethering deb75 7 1,394 02-26-2022, 08:52 AM
Last Post: Zebulon Walton
  Phosh modem on/off effectiveness? Zebulon Walton 0 392 01-24-2022, 09:21 AM
Last Post: Zebulon Walton
  Reskinning Apps for Mobile biketool 6 1,073 12-05-2021, 02:30 PM
Last Post: biketool
  Mobile network mode setting not saved Zebulon Walton 3 1,509 12-05-2021, 12:12 AM
Last Post: bcnaz
  Mobian and Deep Sleep Crust some_pinephone_user 1 976 11-14-2021, 07:05 AM
Last Post: some_pinephone_user

Forum Jump:


Users browsing this thread: 1 Guest(s)