failover internet script with sms info
Mateusz Lamparski
test at torunska2.pl
Tue Dec 22 04:59:38 UTC 2020
Sorry for my bad ENGLISH, ,
i have a task to do an failover script with 2 wan connections
1.cable main one
2. LTE using (manufacturer: Huawei Technologies Co., Ltd.,model: HUAWEI
Mobile V7R11,firmware revision: 11.617.15.00.00)
i wroted a script and it is working perfectly but dont know how to
implement mmcli into it to send sms after network change, the whole
script is added to cron so each one minute is checked.
When i try to write sms witch mmcli
mmcli -m 0 --messaging-create-sms="text=else,number=+48123456789", it
creates
mmcli -s 18 --send - sends the sms,
but i need to write and save 3 or 4 sms text to be send to the task.
it works til rebot, it comes and no sms stored...
Any one any ideas how to solved this issue... ?
~lampik
--
_________________
Mateusz Lamparski
Toruńska 2
87-200 Wąbrzeźno
mob. 504-345-118
+++++++++++++++++
More information about the ModemManager-devel
mailing list