Vinicius: i'm newby on linux commands ..srsr at some google searches i found that command ls /dev/tty* in cygwin terminal this list for me:
/dev/tty /dev/ttyS0 /dev/ttyS21
and in the conf file a change the port to:
device = /dev/ttyS21
and the magic was happened!! all msg are sent!!
this is a fantastic soft!!!
but some msg that were pointing to my own number were received on phone instead of the incoming folder ..
|
Vinicius: Operating system name and version: Windows 7
Version of smsd: smstools 3.1.15
Smsd installed from: Cygwin tutorial of this site...
Name and model of a modem / phone: Samsung Galaxy S
Interface: USB
Need Help to configure my cel as modem.
My conf file is:
devices = GSM1
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
logfile = /var/log/smsd.log
stats = /var/log
loglevel = 7
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
[GSM1]
init = AT
device = /dev/ttyS0
incoming = yes
pin = 5805
report = yes
smsc = 552181138200
LOG FILE FOR THIS CONF
2012-10-25 22:03:09,2, smsd: Smsd v3.1.15 started.
2012-10-25 22:03:09,2, smsd: Running as hp:None.
2012-10-25 22:03:09,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.i3EOtW /tmp/smsd_data.1GVN12
2012-10-25 22:03:09,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2012-10-25 22:03:09,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-10-25 22:03:09,5, GSM1: Modem handler 0 has started. PID: 5992.
2012-10-25 22:03:09,3, GSM1: Couldn't open serial port /dev/ttyS0, error: Permission denied, waiting 30 sec.
2012-10-25 22:03:39,3, GSM1: Cannot open serial port /dev/ttyS0, error: Permission denied
2012-10-25 22:03:39,2, GSM1: Modem handler 0 terminated. PID: 5992, was started 12-10-25 22:03:09.
When switch device = /dev/ttyS0 to device = /dev/com1 log file is
2012-10-25 22:14:37,2, smsd: Smsd v3.1.15 started.
2012-10-25 22:14:37,2, smsd: Running as hp:None.
2012-10-25 22:14:37,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.1ydLsa /tmp/smsd_data.yGgO7G
2012-10-25 22:14:37,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2012-10-25 22:14:37,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2012-10-25 22:14:37,5, smsd: Outgoing file checker has started. PID: 4648.
2012-10-25 22:14:37,7, smsd: All PID's: 4648,5600
2012-10-25 22:14:37,5, GSM1: Modem handler 0 has started. PID: 5600.
2012-10-25 22:14:37,5, GSM1: Using check_memory_method 1: CPMS is used.
2012-10-25 22:14:37,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/enviar.txt
2012-10-25 22:14:37,6, GSM1: Sending SMS from to 552182897441
2012-10-25 22:14:37,6, GSM1: Checking if modem is ready
2012-10-25 22:14:37,7, GSM1: -> AT
when execute de command:
$ sendsms 552182897441 'Teste'
--
Text: Test
To: 552182897441
the sms neves is delivered
What is the problem? Configuration? incompatibility with phone?
prints bellow:
http://imageshack.us/photo/my-images/705/printmz.jpg/
http://imageshack.us/a/img23/7448/print2ck.jpg
any help i will be appreciate.
[]'s
|