Commit 4252e978 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(ppp, 4g) extend logging for https://github.com/opnsense/core/issues/1004

(cherry picked from commit 73a22784)
parent 909c42d1
...@@ -178,6 +178,7 @@ ModemDial: ...@@ -178,6 +178,7 @@ ModemDial:
match "NO DIAL" DialAbortNoDial match "NO DIAL" DialAbortNoDial
match "BUSY" DialAbortBusy match "BUSY" DialAbortBusy
regex "CONNECT *([0-9]*).*$" DialConnect regex "CONNECT *([0-9]*).*$" DialConnect
match "CME" DialErrorCME
match "ERR" DialError match "ERR" DialError
wait $ConnectTimeout wait $ConnectTimeout
log "No response from the modem after dialing." log "No response from the modem after dialing."
...@@ -1702,3 +1703,9 @@ SierraSetup: ...@@ -1702,3 +1703,9 @@ SierraSetup:
set $modemCmd "&F&C1&D2E0$M0" set $modemCmd "&F&C1&D2E0$M0"
call ModemCmd2 call ModemCmd2
return return
DialErrorCME:
match "ERROR" DialError
log "CME Error (SIM failure?)."
return
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment