Go to file
Xavier Del Campo Romero 925e01271b
Start mobile data if not available
For some reason, mobile data drops and must be restarted manually. From
own experience, it seems to occur frequently during phone calls.
2023-03-06 00:18:50 +01:00
LICENSE First commit 2022-04-09 12:52:11 +02:00
modem-restart Start mobile data if not available 2023-03-06 00:18:50 +01:00
modem-restart.service First commit 2022-04-09 12:52:11 +02:00
README.md First commit 2022-04-09 12:52:11 +02:00

modem-restart

Overview

This repository defines a systemd service that, as a workaround, automatically restarts eg25-manager each time the modem crashes. While a big effort is being made to improve modem stability, it still crashes from time to time, specially if CPU suspend is used.

Dependencies

  • lsusb
  • eg25-manager
  • systemd

Installation

# cp modem-restart.service /etc/systemd/system/
# cp modem-restart /usr/local/bin
# systemctl enable modem-restart.service