Checking the modem status
You can use the CLI to troubleshoot a modem that is not working properly, or troubleshoot a FortiGate that does not detect the modem.
To diagnose modem issues in the CLI:
diagnose sys modem {cmd | com | detect | history | external-modem | query| reset}
You should always run the following command after you connect a USB modem to FortiGate:
diagnose sys modem detect
Use the following command to view the modem's configuration, vendor and custom product identification number:
get system modem
Use the following commands to resolve connectivity issues:
-
diagnose debug enable
: Activates the debug on the console -
diagnose debug application modemd
: Dumps communication between the modem and the unit. -
diagnose debug application ppp
: Dumps the PPP negotiating messages. -
execute modem dial
: Displays modem debug output.
The modem diagnose output should not contain errors when initializing. You should also verify the number used to dial into your ISP.