How to restart the modem on Arch
#6
(10-21-2021, 03:30 AM)lacriz Wrote: Sometimes I have to run my script 2 times.
I wonder if systemd would even start a self-made script using your approach; if so + if I find out how to improve the script I would try your approach + my script

Yes, you can start any script on the ExecStart line. If you find an indicator for a non working modem that can be checked by code, you could for example also have the script check it, restart ModemManager, check again a couple of seconds later (however long it usually takes to get it back up) and if necessary restart it a second time.
  Reply


Messages In This Thread
How to restart the modem on Arch - by lacriz - 10-20-2021, 05:30 PM
RE: eg25-manager for arch? - by kqlnut - 10-21-2021, 12:28 AM
RE: eg25-manager for arch? - by lacriz - 10-21-2021, 02:11 AM
RE: How to restart the modem on Arch - by kqlnut - 10-21-2021, 02:40 AM
RE: How to restart the modem on Arch - by lacriz - 10-21-2021, 03:30 AM
RE: How to restart the modem on Arch - by kqlnut - 10-21-2021, 04:08 AM
RE: How to restart the modem on Arch - by lacriz - 10-21-2021, 05:36 AM
RE: How to restart the modem on Arch - by kqlnut - 10-21-2021, 09:09 AM
RE: How to restart the modem on Arch - by lacriz - 10-21-2021, 03:40 PM
RE: How to restart the modem on Arch - by kqlnut - 10-22-2021, 01:44 AM
RE: How to restart the modem on Arch - by lacriz - 10-22-2021, 05:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  LibreOffice usable with Arch Linux on the Pinephone? Peter Gamma 2 691 07-28-2024, 05:12 AM
Last Post: Peter Gamma
  Updating Arch Linux _radv_ 8 2,511 02-20-2024, 09:35 AM
Last Post: _radv_
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 3,782 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 1,630 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 3,136 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Arch auto mount usb example Lazy_one 2 3,564 10-06-2023, 09:36 AM
Last Post: luppivega
  Modem Issues SchizoPinePhone225 2 1,409 08-31-2023, 08:23 PM
Last Post: SchizoPinePhone225
  Remove modem firmware aular 10 3,774 08-23-2023, 05:53 PM
Last Post: aular
  Arch with FDE user641 1 1,388 07-29-2023, 08:27 AM
Last Post: alpineduck
  No keyboard on Arch Plasma when entering password on document Chief 0 1,095 12-03-2022, 08:35 PM
Last Post: Chief

Forum Jump:


Users browsing this thread: 4 Guest(s)