Debian Bullseye on Raspberry Pi 3b
Version of smsd: ? installed last week: sudo apt install smstools
Smsd installed from: sources / package repository / from elsewhere...
Name and model of a modem / phone: Huawei E182E USB
Interface: serial / USB / some adapter... USB
Tried to send an Test SMS: Result:
pi@raspberrypi:/var/spool/sms/failed $ more Test-SMS
To: 06991XXXXXXXX
Modem: GSM1
IMSI:
IMEI:
Fail_reason: Modem initialization failed
Failed: 22-12-02 12:26:44
Das ist ein Test-SMS.
---------------------------------
My smsd.conf:
# /etc/smsd.conf
#
# Description: Main configuration file for the smsd
#
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
loglevel = 7
#delaytime = 10
#errorsleeptime = 10
#blocktime = 3600
#stats = /var/log/smsd_stats
#stats_interval = 3600
#stats_no_zeroes = no
#checkhandler = /usr/local/bin/smscheck
receive_before_send = no
# autosplit 0=no 1=yes 2=with text numbers 3=concatenated
autosplit = 3
# store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all
#store_received_pdu = 1
#validity = 255
#decode_unicode_text = no
#internal_combine = no
# You can specify here an external program that is started whenever an alarm occurs.
# alarmhandler = /path/to/an/alarmhandler/script
# Specifies what levels start an alarmhandler. You can use value between 2 and 5.
# alarmlevel = 4
# eventhandler = @EVENTHANDLER@
#blacklist = /etc/smstools/blacklist
#whitelist = /etc/smstools/whitelist
[GSM1]
init = AT+CPMS="SM","ME","SR"
init2 = AT^SYSCFG=13,1,3FFFFFFF,2,4
#init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1
device = /dev/ttyUSBmodem
incoming = no
#pin =
baudrate = 115200
report = yes
keep_open = yes
cs_convert = yes
#pin = 7355
report = no
rtscts = no
report_device_details = yes
# Generate a status file for a monitoring solution to monitor the network status of the modem
regular_run_interval = 60
regular_run_cmd = AT+CREG?;+CSQ;+COPS?
regular_run_statfile = /dev/shm/sms_stat
-----------------------------------------------------------------------------------------
pi@raspberrypi:/etc $ lsusb
Bus 001 Device 011: ID 12d1:14ac Huawei Technologies Co., Ltd. E815
Bus 001 Device 004: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-------------------------------------------------------------------------------------------
I want to be able to send SMS for Alerting reasons. Do you have an idea whats wrong?