|
|
|
|
|
Watchdog to keep cellular modem connection alive With firmware V3.5.2u13 and later, when you select Enable Dial-Out on the System: Dial menu you will be given the option to configure a cellar modem watchdog service. This service will periodically ping a nominated IP address. Each ping attempt sends out a configurable number of pings, and the ping attempt fails if none of these pings are successful. You must also specify the threshold number of consecutive ping attempts required to fail before the watchdog rebooting service will cause the cellular unit to reboot.
NOTE: It is advisable to tune these values to ensure you are not generating too much traffic for your data plan. With the default settings, the keep alive ping attempts are sent at the 30 second intervals. Each ping attempt sends a set of 5 (64 byte) packets. Keep in mind you may also be charged for ping replies. Assuming this, the default setup will generate about 50MB monthly on top of normal data usage. The watchdog can be used to force a clean restart of the modem and its services to work around any carrier issues (e.g. to prevent your carrier from disconnecting the cellular connection during idle periods). Command line script for cellular keep alive For earlier firmware you can run the following commands from the Opengear command line to enable cellular keep alive: config -s config.cellmodem.log.enabled=on config -s config.cellmodem.log.interval=5 config -s config.cellmodem.log.probe=8.8.8.8 config -s config.cellmodem.log.probe.count=3 config -r dialin The keep alive pings a server (8.8.8.8) at the set interval (5 minutes) with a set number of 64 byte packets (3). Again it is advisable to tune these values to ensure you are not generating too much traffic for your data plan (and you may also be charged for ping replies). The setup above will generate about 3.2MB monthly on top of normal data usage. Advanced users may implement their own keepalive system by installing a custom script at: /etc/config/scripts/modem-log The default script at /etc/scripts/modem-log can be used as a reference implementation. |
|
Solutions Product Overview Solutions Overview How to Buy |
About Us Corporate In the Media Press Releases Contact Us |
Resources YouTube Videos Resource Library |
Support Technical Support Knowledge Base Cabling & Adapters Contact Us |
| © Opengear 2012 | Privacy Policy |