Skip to content

Modem supervisor written in python that can be used as systemd service unit to keep a GPRS/3G connection up when using QUECTEL modems

License

Notifications You must be signed in to change notification settings

devicehubnet/itbp_modem_supervisor

Repository files navigation

GPRS/3G/4G modem supervisor & control script

This software will monitor the internet connection and perform modem hardware reset using GPIO pins.

Installation

Using pip

pip install DHModemSupervisor

Download and install

sudo ./setup.py install
sudo apt install python-pip ppp
sudo pip install -r requirements.txt

Important notes

remove connman - apt remove connman
install psmisc - apt install psmisc

TODO

  • Configure modem settings (serial port, baud) from dhmsupervisord.ini
  • Configure APN setting directly from dhmsupervisord.ini
  • Stop GPRS connection if wlan or ethernet is functional
  • Create deb package for installation using apt

Platforms

This software was tested on the following hardware platforms:

  • RaspberryPi (you need to have RPi.GPIO installed)
  • BeagleBone Black
  • FriendlyArm mini2440

About

Modem supervisor written in python that can be used as systemd service unit to keep a GPRS/3G connection up when using QUECTEL modems

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages