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
  Updating Arch Linux _radv_ 8 968 02-20-2024, 09:35 AM
Last Post: _radv_
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 2,380 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 871 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 2,051 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Arch auto mount usb example Lazy_one 2 2,930 10-06-2023, 09:36 AM
Last Post: luppivega
  Modem Issues SchizoPinePhone225 2 884 08-31-2023, 08:23 PM
Last Post: SchizoPinePhone225
  Remove modem firmware aular 10 2,112 08-23-2023, 05:53 PM
Last Post: aular
  Arch with FDE user641 1 964 07-29-2023, 08:27 AM
Last Post: alpineduck
  No keyboard on Arch Plasma when entering password on document Chief 0 873 12-03-2022, 08:35 PM
Last Post: Chief
  Curious About Arch Ferriah 2 2,199 11-07-2022, 04:38 PM
Last Post: Ferriah

Forum Jump:


Users browsing this thread: 1 Guest(s)