Skip to main content

Run automatic modem diagnostics

This script runs the annotated modem diagnostics automatically and saves results to a text file.
1

Download the scripts

Download modem_diagnostics.py and modem_interface.py to the same directory.
2

Run the script

Note: --port and --baud are optional. If omitted, the script will prompt for available serial ports and default to 115200 baud.
3

Save and share results

The output prints in your terminal and saves to ModemDiagnostics.txt in the same directory. Attach this file when opening a support ticket.

ModemManager variant

If you use ModemManager, run the alternative helper script:

Python scripts

mmcli-diagnostics.py

modem_interface.py

modem_diagnostics.py