ploppysator: I will add it and try it out tomorrow morning, thank you a lot so far
cheers
Bruno
|
ploppysator: I will check the connection and the modem once again, meanwhilely
|
ploppysator: It shouldn't ask for a login, but I rebootet the modem again, can you please try again?
thx
|
ploppysator: thank U, now the modem is back to yesterdays state.
best rgds
Bruno
|
ploppysator: When I switch Telnet off from the GPRS modem, I do not get this weird error message, but no SMS will be forwarded. Is there anybody who works with such a Ethernet "MultiTech Multimodem Wireless EDGE, GRPS, CDMA" with whom I could compare my configuration?
rgds
Bruno
|
ploppysator: Operating system name and version: SUSE11.1 / Ubuntu 10.1 / any
Version of smsd: 3.1.11
Smsd installed from: smstools3.kekekasvi.com site
Name and model of a modem / phone: Multitech MultiModem Wireless EDGE via Ethernet Interface
Interface: LAN
Hello
I would like to send Alert SMSs from eg. a Nagios via my LAN Modem, but even just trying with the sendsms command it only results in this error message in the log file: "put_command expected (OK)|(ERROR), timeout occurred".
My SMSD.CONF
GNU nano 2.0.7 File: /etc/smsd.conf Modified
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/outgoing
sent = /var/spool/sms/sent
incoming = /var/spool/sms/incoming
logfile = /var/log/smsd.log
loglevel = 7
blocktime = 10
infofile = /var/run/sms/smsd.working
pidfile = /var/run/sms/smsd.pid
[GSM1]
# this is a socket!
device = moved to private block
( PRIVATE BLOCK )
pin = xxxx
cs_convert = yes
keep_open = yes
incoming = yes
baudrate = 2400
send_delay = 20
rtscts = no
init1 = AT+CGDCONT=?,+CGDCONT?,+CREG?,+CSQ,+COPS?
report = yes
init2 = AT+CSQ
(you can try it remotely, the IP from the modem is public)...
this is, what I get in the logs:
2010-07-16 15:18:48,7, GSM1: Command is sent, waiting for the answer
2010-07-16 15:18:53,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2010-07-16 15:18:53,7, GSM1: <-
2010-07-16 15:18:54,3, GSM1: Modem is not ready to answer commands (Timeouts: 0)
2010-07-16 15:18:54,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_dm5640
2010-07-16 15:18:54,6, GSM1: Sending SMS from to 41796429445
2010-07-16 15:18:54,6, GSM1: Checking if modem is ready
2010-07-16 15:18:54,7, GSM1: -> AT
2010-07-16 15:18:54,7, GSM1: Command is sent, waiting for the answer
2010-07-16 15:18:59,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-07-16 15:18:59,7, GSM1: <- <FF><FD>^X<FF><FD> <FF><FD>#<FF><FD>'
2010-07-16 15:18:59,7, GSM1: -> ^Z
What can I provide you additionally?
could anybody assist me?
thx and best regards
Bruno
|