SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Sun Dec 08, 2024 14:34
SMSTools3 Community » Help and support Bottom

Modem init Failed on Huawei E182E USB on Rasp III

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Dec 2022
Location: Austria
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?

Member
Registered:
Dec 2022
Location: Austria
Topic owner
Version:
pi@raspberrypi:~ $ smsd -V
Version 3.1.21, Copyright (c) Keijo Kasvi, authors email, http://smstools3.kekekasvi.com
Support: http://smstools3.kekekasvi.com/index.php?p=support
Based on SMS Server Tools 2, http://stefanfrings.de/smstools/
SMS Server Tools version 2 and below are Copyright (C) Stefan Frings.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
At this point the only thing that comes to mind is the modem port. What created the link /dev/ttyUSBmodem and where does it point?

In many cases, Huawei devices create three different ports, only one of which is fully usable with smstools. Do you have more than one port for the modem in your system and if so have you tried others?

Presumably the device is currently not responding at all. If it answers anything, I need to see what kind of communication there has been with the modem. The setting report_device_details exists just for such investigations, so also show the information it reports if the modem reports something

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.