diff options
| author | John Klug <john.klug@multitech.com> | 2020-08-17 18:08:50 -0500 |
|---|---|---|
| committer | John Klug <john.klug@multitech.com> | 2020-08-17 18:08:50 -0500 |
| commit | 5101a0f32017c23707ea0b3aa2f650803b11a644 (patch) | |
| tree | 4e182fe9a1e552a93c196509fd3d34186acc0676 /recipes-core/multitech/config/chat_wrapper.default | |
| parent | 00965a3bc4cfe8a83ea3c1ded3ec3b3d3fac3edc (diff) | |
| download | meta-mlinux-5101a0f32017c23707ea0b3aa2f650803b11a644.tar.gz meta-mlinux-5101a0f32017c23707ea0b3aa2f650803b11a644.tar.bz2 meta-mlinux-5101a0f32017c23707ea0b3aa2f650803b11a644.zip | |
Fix chat_wrapper to handle COPS=2, CFUN=0 state
Diffstat (limited to 'recipes-core/multitech/config/chat_wrapper.default')
| -rw-r--r-- | recipes-core/multitech/config/chat_wrapper.default | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes-core/multitech/config/chat_wrapper.default b/recipes-core/multitech/config/chat_wrapper.default index a1b4e41..164086a 100644 --- a/recipes-core/multitech/config/chat_wrapper.default +++ b/recipes-core/multitech/config/chat_wrapper.default @@ -9,7 +9,11 @@ REGWAITTIME=300 # before attempting a PPP connection. # This is ignored if the context is # already set correctly in the modem. -FINALWAIT=5 +# and the device was registered before +# ppp was started. +# This needs to be long enough to allow +# the modem to stabilize after registration. +FINALWAIT=60 # Option for radio-query, radio-cmd # Used by /usr/libexec/ppp/chat_wrapper, @@ -18,3 +22,9 @@ RADIOOPTION="-d /dev/modem_at1" # Device to use if RADIOOPTION fails: RADIOOPTION2="-d /dev/modem_at0" + +# How long to wait when COPS is set to 0 +COPSWAIT=10 + +# How long to wait when CFUN is set to 1 +CFUNWAIT=10 |
