Operating system name and version: OPENBSD 5.5
Version of smsd: 3.1.15
Smsd installed from: sources / package repository / from elsewhere... package
Name and model of a modem / phone: wavecomm modem
Interface: serial / USB / some adapter...serial
Hi
I am new to OPENBSD and smstools too...
I have installed smstools on openbsd and am trying to run smstools on it but I am getting the following error in the logs
2014-09-01 14:58:03,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2014-09-01 14:58:03,7, GSM1: <-
2014-09-01 14:58:04,7, GSM1: -> AT
2014-09-01 14:58:04,7, GSM1: Command is sent, waiting for the answer
2014-09-01 14:58:10,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2014-09-01 14:58:10,7, GSM1: <-
2014-09-01 14:58:10,7, GSM1: -> ^Z
2014-09-01 14:58:11,7, GSM1: Command is sent, waiting for the answer
2014-09-01 14:58:17,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2014-09-01 14:58:17,7, GSM1: <-
2014-09-01 14:58:18,3, GSM1: Modem is not ready to answer commands (Timeouts: 0)
2014-09-01 14:58:18,2, GSM1: Failed to initialize modem GSM1. Stopping.
2014-09-01 14:58:18,2, GSM1: Modem handler 0 terminated. PID: 22955, was started 14-09-01 14:55:51.
Here is my smsd.conf
devices = GSM1
#devices = GSM1, GSM2
loglevel = 7
# After initial setup this might be a good option; notices by default,
# but debug logging is buffered and stored to another file after an error.
#loglevel = 5
#smart_logging = yes
# setuid() to this user:
user = _smsd
# it's possible to setgid too, but default is the set of
# groups from /etc/groups
pidfile = /var/log/smsd/smsd.pid
infofile = /var/log/smsd/smsd.info
#logfile = syslog
logfile = /var/log/smsd/smsd.log
[GSM1]
# A sample USB device with typical broken rtscts, so use
# a send delay to reduce the risk of overruns. Some PC cards
# also break rts/cts. On some 3G cards you might be able to
# use the control device for SMS simultaneously with using
# the data device for a PPP connection.
# For this one I have set incoming=no so it doesn't pull
# the existing messages off the phone.
device = /dev/cua00
incoming = no
rtscts = no
send_delay = 20
I have added _smsd user in /etc/group as
ialer:*:117:_smsd
ownership of /dev/cua00 is as follows
# ls -l /dev/cua00
crw-rw---- 1 _smsd dialer 8, 128 Sep 1 15:47 /dev/cua00
I am unsure of where the problem lies....
Can you please help me ...
Thanks in Advance,
Minesh