Author |
Post |
|
#1 Tue May 15, 2012 08:49, 152 months ago.
|
Member
Registered: Mar 2011
Location: Austria
|
Operating system name and version: Ubuntu Server 11.10 64 Bit Version of smsd: 3.1.14 Smsd installed from: sources Name and model of a modem: Falcom Samba 55 Interface: USB
Hi,
after installing SMSTools 3.1.14 first time on ubuntu server 11.10. I´m only able to receive SMS notifications. I´ve tried different SIM cards which worked before. At moment I can´t identify the problem. I tried to send messages by creating the files manually or with sendsms. The sendfiles are stored in the outgoing folder but the file were not processed from the smsd. In the logfile of the smsd I only can find information about the received sms notications. There are no errors of about the send files. The singal quality is good.
devices = GSM1 logfile = /var/log/smsd.log loglevel = 10
[GSM1] device = /dev/ttyUSB0 incoming = yes pin = XXXX
Thanks
Alex
|
|
#2 Tue May 15, 2012 15:50, 152 months ago.
|
Member
Registered: Mar 2011
Location: Austria
Topic owner
|
I´ve some addtional information. When I create a new send file with sendsms a .LOCK is generated in the /checked folder. But still no sending or error information in the logfile.
Thanks
Alex
|
|
#3 Fri Jun 22, 2012 18:01, 151 months ago.
|
Member
Registered: Jun 2012
Location: Germany
|
Hello, i have a simular problem. I'm using my old Samsung SGH D500 as modem. The phone is mounted at /dev/ttyACM0 in Ubuntu and/or Kubuntu 12.04. SMSTools3 works fine, incoming messages are stored in incoming. But I can not send messages. I tried sendsms +49NUMBER 'Hello Text' and I tried putting sms files into the outgoing dir. Tried to run as service and in shell, both as root. I thought, the connection to the phone is the problem, but incoming messages are handled right and I opend a serial console with GTKTerm @ /dev/ttyACM0 to test the GSM commands -> works. Config: devices = GSM1 logfile = /var/log/smsd.log loglevel = 7 sent = /var/spool/sms/sent failed = /var/spool/sms/failed
[GSM1] device = /dev/ttyACM0 incoming = yes 'smsdconf' Syntax Highlight powered by GeSHi The line : 2012-06-22 19:17:23,5, smsd: Outgoing file checker has started. PID: 3600. Sound nice, but the PID does not exist. Only the main process smsd with PID 3603 exists. I think this is the problem: The Outgoing file checker terminates immediately so smsd has no chance to be noticed for sending the files in /outgoing. Anyone same problem? Or solutions? regards Nuke
|
|
#4 Sat Jun 23, 2012 15:05, 151 months ago.
|
Member
Registered: Jun 2012
Location: Germany
|
Hello,
problem solved.
I replaced the installation from sourcecode throught the installation from ubuntu package.
Now the Outgoing Checker keeps alive and everything works fine.
regards Nuke
|
|
#5 Sat Sep 22, 2012 12:23, 148 months ago.
|
Member
Registered: Mar 2012
Location: Finland, Finland
|
Ok, the case was solved for you, but the problem still exists and the cause is not explained. I just wrote a new post with similar observations from 3.1.14.
The setup with 3.1.11 I had earlier is not working anymore in a similar machine with 3.1.14 with the same modem even though the two-way serial communication with the modem works and reception of SMS-messages work too.
If anybody has an explanation, please let the rest of the world know.
|
|
#6 Sun Nov 25, 2012 13:14, 145 months ago.
|
Member
Registered: Mar 2012
Location: Finland, Finland
|
I confirm that for my part this problem seems to been solved in 3.1.15. I did not yet test receiving, but at least sending worked with the same smsd.conf I have had earlier. I downloaded the 3.1.15 tar.gz-package and built it manually in just a couple of weeks ago shipped Raspberry Pi (Debian Wheezy).
However, it was not enough to have only these install steps: make make install
Additionally I had to manually create these directories /var/spool/sms/failed /var/spool/sms/sent /var/log/smstools/smsd_stats
and of course modify the /etc/smsd.conf to match my system.
The service could be started in Debian wheezy manually after those mods like this: /etc/init.d/sms3 start
Check also that your service is installed so that it automatically starts after boot.
Additional info about my setup: --------------------------------- I have ZTE-MF636+ USB stick modem and it requires the use of usb-modeswitch package with this config added into /etc/usb_modeswitch.conf after the last line of default content:
######################################################## # ZTE MF622 (aka "Onda MDC502HS") # ZTE MF626 # ZTE MF628+ (tested version from Telia / Sweden) # ZTE MF633 # ZTE MF636 (aka "Telstra / BigPond 7.2 Mobile Card") # ZTE MF637 # and probably others not listed here # # Contributor: Joakim Wennergren and others
DefaultVendor= 0x19d2 DefaultProduct= 0x2000
TargetVendor= 0x19d2 TargetProduct= 0x0031
MessageContent="5553424312345678000000000000061e000000000000000000000000000000" MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"
NeedResponse=1
|