This software will monitor the internet connection and perform modem hardware reset using GPIO pins.
pip install DHModemSupervisor
sudo ./setup.py install
sudo apt install python-pip ppp
sudo pip install -r requirements.txt
remove connman - apt remove connman
install psmisc - apt install psmisc
- 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
This software was tested on the following hardware platforms:
- RaspberryPi (you need to have RPi.GPIO installed)
- BeagleBone Black
- FriendlyArm mini2440