Nagios-Dude: Thanks for your quick response, Keke;
There was a pin set, I've putted the sim card to a mobile and it asked for a pin.
However, disabling the pin on the handset and setting pin = ignore in smsd.conf did the trick, I can send sms now :D
I've changed the pin on both sim cards with the same handset before I tried them in the G10.
Propably this handset messes something up when changing the pin.
Thanks again for your help, this really made my day.
Best regards,
Matthias
|
Nagios-Dude: Operating system name and version: Ubuntu 10.04
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Teltonika G10
Interface: USB
Hi all,
I have a problem that smsd does not accept my pin. I've tried with 2 different sim card without success.
This is what the log says:
2010-10-28 14:14:17,2, smsd: Smsd v3.1.14 started.
2010-10-28 14:14:17,2, smsd: Running as root:root.
2010-10-28 14:14:17,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.EJ7GK1 /tmp/smsd_data.ppfsJk
2010-10-28 14:14:17,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-10-28 14:14:17,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-10-28 14:14:17,5, smsd: Outgoing file checker has started. PID: 1029.
2010-10-28 14:14:17,7, smsd: All PID's: 1029,1030
2010-10-28 14:14:17,5, GSM1: Modem handler 0 has started. PID: 1030.
2010-10-28 14:14:17,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-10-28 14:14:17,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_muttzO
2010-10-28 14:14:17,6, GSM1: Sending SMS from to 49xxxxxxxxxxx
2010-10-28 14:14:17,6, GSM1: Checking if modem is ready
2010-10-28 14:14:18,7, GSM1: -> AT
2010-10-28 14:14:18,7, GSM1: Command is sent, waiting for the answer
2010-10-28 14:14:19,7, GSM1: <- +GCAP: +FCLASS,+CGSM OK
2010-10-28 14:14:19,6, GSM1: Pre-initializing modem
2010-10-28 14:14:19,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2010-10-28 14:14:19,7, GSM1: Command is sent, waiting for the answer
2010-10-28 14:14:20,7, GSM1: <- +GCAP: +FCLASS,+CGSM OK
2010-10-28 14:14:20,6, GSM1: Checking if modem needs PIN
2010-10-28 14:14:20,7, GSM1: -> AT+CPIN?
2010-10-28 14:14:20,7, GSM1: Command is sent, waiting for the answer
2010-10-28 14:14:31,7, GSM1: put_command expected (READY)|( PIN)|( PUK)|(ERROR), timeout occurred. 1.
2010-10-28 14:14:31,7, GSM1: <- Undefined OK
2010-10-28 14:14:31,2, GSM1: PIN handling: expected READY, modem answered Undefined OK
2010-10-28 14:14:31,2, GSM1: Modem handler 0 terminated abnormally. PID: 1030.
2010-10-28 14:14:48,5, smsd: Moved file /var/spool/sms/outgoing/send_q0Ghmj to /var/spool/sms/checked
And here is my smsd.conf file:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
[GSM1]
device = /dev/ttyUSB0
incoming = yes
pin = xxxx # (xxxx = my pin of course)
baudrate = 115200
Thanks for your help and best regards,
Matthias
|