Keywords: Mode: All keywords (AND) |
Wed Jul 11, 2012 17:47
|
kewes: Operating system name and version: Ubuntu 12.04 LTS Server
Version of smsd: 3 (?) I do not know how to get this information - the newest one from the repos
Smsd installed from: sources
Name and model of a modem / phone: Globetrotter 3g
Interface: PCMCIA
Hi guys,
I am in trouble. I programmed a small java-based Server Application and this depends on the great "SMS Server Tools". My problem is, that the smstools is not getting running.
My device is attached to the PCMCIA port and is working properly:
ami@3075-AMI:~$ sudo comgt -d /dev/noz0
[sudo] password for ami:
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "Lidl mobile",2
Signal Quality: 13,0
But if try to start the sms tools i get the following error:
ami@3075-AMI:~$ /etc/init.d/smstools status
Status of SMS Daemon: smsd is not running.
ami@3075-AMI:~$ /etc/init.d/smstools start
Starting SMS Daemon: smsd.
ami@3075-AMI:~$ /etc/init.d/smstools status
Status of SMS Daemon: smsd is not running.
My config looks as following:
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
#pin = 2222
#mode = new
#smsc = 491710760000
#baudrate = 19200
#rtscts = yes
#cs_convert = yes
#report = no
#primary_memory = memory name
#secondary_memory = memory name
#secondary_memory_max = number
#pdu_from_file = /var/spool/sms/GSM2-PDU
#sending_disabled = no
#decode_unicode_text = no
#internal_combine = no
[GSM1]
#init =
device = /dev/noz0
incoming = yes
#pin = m
memory_start = 0
baudrate = 19200
I am pretty much in trouble. Do you have any ideas?
kewes
|
Thu Feb 16, 2012 11:53
|
kewes: Operating system name and version: Ubuntu 10.04
Version of smsd: 3
Smsd installed from: package repository
Name and model of a modem / phone: PCMCIA Globetrotter
Interface: PCMCIA
Hi there! ;)
After some trouble with an USB-interface, i changed to PCMCIA-modem. Now everything is working great.
But I am searching for an option to change (remove) the headers of incoming SMS. Is there configuration file the headers?
Regards,
kewes
|
Wed Jun 15, 2011 21:30
|
kewes: well, I found the error. I had to adjust the file permissions.
|
Wed Jun 15, 2011 21:24
|
kewes: I found the logfile:
2011-06-15 23:23:05,2, smsd: Smsd v3.1.11 started.
2011-06-15 23:23:05,2, smsd: Running as smsd:dialout.
2011-06-15 23:23:05,2, smsd: Spool directory /var/spool/sms/outgoing cannot be opened.
2011-06-15 23:23:05,2, smsd: Failed directory /var/spool/sms/failed cannot be opened.
2011-06-15 23:23:05,2, smsd: Incoming directory /var/spool/sms/incoming cannot be opened.
2011-06-15 23:23:05,2, smsd: Checked directory /var/spool/sms/checked cannot be opened.
2011-06-15 23:23:05,2, smsd: Sent directory /var/spool/sms/sent cannot be opened.
2011-06-15 23:23:05,2, smsd: There was 5 major problems found.
2011-06-15 23:23:05,2, smsd: Smsd mainprocess terminated.
|
Wed Jun 15, 2011 21:17
|
kewes: Operating system name and version: Ubuntu 11.04
Version of smsd: 3.1.11
Smsd installed from: package repository
Name and model of a modem / phone: Vodafone (ZTE) Mobile Broadband K3565-Z
Interface: USB
Hi! ;)
i just installed SMSTools, but unfortunately I was not able to get the software started. I attached the device to an USB-Port and changed the configuration:
[GSM1]
#init =
device = /dev/ttyUSB1
incoming = yes
#pin = m
memory_start = 0
baudrate = 19200
Then I tried to start the software:
user@user-Latitude-D620:/var/run/smstools$ sudo /etc/init.d/smstools start
Starting SMS Daemon: smsd.
But nothing happens:
user@user-Latitude-D620:/var/run/smstools$ sudo /etc/init.d/smstools status
Status of SMS Daemon: smsd is not running.
I tried to receive a sms, but nothing was saved in "/var/spool/sms/incoming".
Did I forgot to configure anything?
|