Reseting mobile connection - Librem 5

Thank you for the clarification. It appears not to be running as a service on my phone or maybe has a different name?

sudo systemctl --system enable watchmodem
[sudo] password for purism:
Failed to enable unit: Unit file watchmodem.service does not exist.

Correct. I aligned the name with the package name. Here’s how the package looks on my phone:

purism@pureos:~$ dpkg-query -W bm818-watchmodem 
bm818-watchmodem	0.5+librem5ci79332.e96a15a
purism@pureos:~$ dpkg -L bm818-watchmodem 
purism@pureos:~$ sudo systemctl status bm818-watchmodem.service 
[sudo] password for purism: 
● bm818-watchmodem.service - Watch Modem of Librem5
    Loaded: loaded (/lib/systemd/system/bm818-watchmodem.service; enabled; preset: enabled)
    Active: active (running) since Fri 2022-11-18 14:45:06 CET; 7h ago
  Main PID: 607 (bm818-watchmode)
     Tasks: 3 (limit: 3124)
    Memory: 50.8M
       CPU: 20.046s
    CGroup: /system.slice/bm818-watchmodem.service
            ├─607 /bin/bash /usr/bin/bm818-watchmodem
            ├─611 journalctl -f SYSLOG_IDENTIFIER=ModemManager
            └─612 /bin/bash /usr/bin/bm818-watchmodem

Nov 18 14:45:06 pureos systemd[1]: Started Watch Modem of Librem5.
Nov 18 15:57:31 pureos /usr/bin/bm818-watchmodem[2312]: found message indicating a problem with the modem in journal
Nov 18 21:19:29 pureos /usr/bin/bm818-watchmodem[3903]: found message indicating a problem with the modem in journal

Thank you for the explanation, now back to testing:

v 18 13:31:58 l5 systemd[1]: S>
lines 1-13/13 (END)…skipping…
● bm818-watchmodem.service - Wat>
Loaded: loaded (/lib/system>
Active: active (running) si>
Main PID: 15218 (bm818-watchm>
Tasks: 3 (limit: 3175)
Memory: 24.4M
CPU: 178ms
CGroup: /system.slice/bm818>
├─15218 /bin/bash />
├─15219 journalctl >
└─15220 /bin/bash />

Nov 18 13:31:58 l5 systemd[1]

1 Like

To follow up to this:

moved it here