|
Fri Mar 13, 2015 14:34
|
Julian92: Operating system name and version: Ubuntu 14.04 LTS
Version of smsd: v3.1.15
Smsd installed from: sources
Name and model of a modem / phone: CEP_CT63
Interface: USB
Hey guys, need a little help with setting this thing up.
SMS can be sent by
echo -e "To: 49number\n\nDas ist ein Test-SMS." > Test-SMS
mv Test-SMS /var/spool/sms/outgoing/
but for Nagios-purposes i have to get the sendsms-thing to work. That's my problem. It doesn't work :(
If i enter sendsms 49number 'SMS-Text' i just get the help-output.
Also when i enter -service smstools status-, it shows me that the service is not running, though i can send them with the way i mentioned above.
I really dont know what i should do.
Here the output from the smsd.log:
2015-03-08 07:56:43,2, smsd: Smsd v3.1.15 started.
2015-03-08 07:56:43,2, smsd: Running as smsd:dialout.
2015-03-08 07:56:43,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2015-03-08 07:56:44,2, CEP_CT63: PIN handling: expected READY, modem answered +CME ERROR: 10 (SIM not inserted), $
2015-03-08 07:56:44,2, CEP_CT63: Modem handler 0 terminated abnormally. PID: 20286.
2015-03-12 16:07:14,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 20285.
2015-03-12 16:07:14,2, smsd: Smsd mainprocess terminated. PID 20285, was started 15-03-08 07:56:43.
My config-file:
devices = CEP_CT63
logfile = /var/log/smsd.log
loglevel = 15
[CEP_CT63]
device = /dev/ttyACM0
incoming = no
cs_convert = yes
#pin = 5307
report=no
rtscts = no
# 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
Please help me :(
|