Hello,
I tried to setup a SMS server with a HUAWEI E160 using smstools3.
Receiving Test-SMS works as expected for some hours.
But after a while the E160 did not receive SMS anymore.
When looking into the smstools3 log everything looks normal.
2022-09-22 12:09:43,6, E160: Checking device for incoming SMS
2022-09-22 12:09:43,6, E160: Checking if modem is ready
2022-09-22 12:09:43,6, E160: Pre-initializing modem
2022-09-22 12:09:43,6, E160: Initializing modem
2022-09-22 12:09:43,6, E160: Signal Strength Indicator: (17,99) -79 dBm (Good), Bit Error Rate: not known or not detectable
2022-09-22 12:09:43,6, E160: Checking if Modem is registered to the network
2022-09-22 12:09:43,6, E160: Modem is registered to the network
2022-09-22 12:09:43,6, E160: Selecting PDU mode
2022-09-22 12:09:43,6, E160: Checking memory size
2022-09-22 12:09:44,6, E160: No SMS received
But there is no SMS received like here before
2022-09-21 19:58:58,6, E160: Checking device for incoming SMS
2022-09-21 19:58:58,6, E160: Checking if modem is ready
2022-09-21 19:58:58,6, E160: Pre-initializing modem
2022-09-21 19:58:58,6, E160: Initializing modem
2022-09-21 19:58:58,6, E160: Signal Strength Indicator: (17,99) -79 dBm (Good), Bit Error Rate: not known or not detectable
2022-09-21 19:58:58,6, E160: Checking if Modem is registered to the network
2022-09-21 19:58:58,6, E160: Modem is registered to the network
2022-09-21 19:58:58,6, E160: Selecting PDU mode
2022-09-21 19:58:58,6, E160: Checking memory size
2022-09-21 19:58:59,6, E160: Used memory is 1, list: 0
2022-09-21 19:58:59,6, E160: Trying to get stored message 0
2022-09-21 19:58:59,5, E160: SMS received, From: 49176XXXXXXXX
2022-09-21 19:58:59,6, E160: Wrote an incoming message file: /var/spool/sms/incoming/E160.fFkMjB
2022-09-21 19:58:59,3, E160: Exec: eventhandler said something:
2022-09-21 19:58:59,3, E160: ! => sending SMS as mail now
2022-09-21 19:58:59,3, E160: ! please remove file /var/spool/sms/incoming/E160.fFkMjB
2022-09-21 19:58:59,6, E160: Deleting message 0
I found that after unplugging the USB dongle an plugging again the missing SMS are received imediatly.
So I guess that there is a problem with USB.
My first thougt was: bad power supply. So I replaced it. But no luck.
And in fact the WAN port (network chip) of my NanoPi R2S ist connected via USB too. But there are no drop outs on WAN ....
Looking at dmesg did not help at all. The ringbuffer seems quite small. Same with logread.
How to find the problem?
Henning