12-07-2020, 04:33 AM
(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.