Keywords: Mode: All keywords (AND) |
Sat Jan 16, 2010 15:00
|
IvS: Operating system name and version: Ubuntu 9.10 (KK)
Version of smsd: 3.1.3
Smsd installed from: package repository
Name and model of a modem / phone:
Interface: USB
Hi,
After having solved my 'random' errors in my previous topic everything has been running quite smoothly now for some time.
However.. I've noticed that every now and then.. say.. 1 modem per 14 days will still display the 'Could not send character A, cause: Input/output error'. Usually a simple restart of smstools will fix the problem.
It's not a very serious problem, but it can be annoying at times and i wonder what could cause this. The usbhub is external powered and provides more than enough power for all the modems.
Also.. is it possible for smstools to detect a problem with a modem and act upon it (e.g. bij restarting smstools or re-initialization of the modem)? I could implement some this with some bash and cron, but I'd rather do things the official way.
The background to all this is of course the need for a sms solution that is as stable as possible. It's a bit annoying to keep the logs open at all time in case some random error occurs :)
Kind regards,
IvS
|
Wed Dec 16, 2009 00:45
|
IvS: Hi,
Indeed, they've been running for 10 hours straight without any problems on the new (external powered) hub.
Pfew, glad the solution proved to be this simple :D
thnx!
|
Tue Dec 15, 2009 11:57
|
IvS: I've tested it with several combinations of modems/simcards and it keeps happening. I have the feeling it has something to do with Ubuntu for it keeps mentioning a disconnect/reset of usb devices in its logs.
After searching the bug database it seems this mostly happens in case of hardware problems and/or power issues. Since my hardware is new i guess it could be related to power. I have 4 modems connected to 1 usb hub which in turn is connected to an usb 1 port on an older PC.
I'll stop by the shop today to buy an external powered usb hub to see if that makes a difference.
Thanks for the keep_open option, I'll try that in the meanwhile.
Ivs
|
Tue Dec 15, 2009 00:04
|
IvS: It seems to happen at the 'Pre-initializing modem' stage during the usual 'checking for new sms' cycle. Maybe this helps :)
|
Mon Dec 14, 2009 23:24
|
IvS: Ok,
thanks for the prompt response! Everything works quite ok with udev and Queue, so i guess none of the above is that important anymore :D
I have another problem, but for clarity I've started a new topic for that.
Ivs
PS. is it possible to donate using a creditcard? I haven't used paypal in years.
|
Mon Dec 14, 2009 23:21
|
IvS: Operating system name and version: Ubuntu 9.10 (Karmic Koala)
Version of smsd: 3.1.3
Smsd installed from: package repository
Name and model of a modem / phone:
Interface: USB
Hi,
i've been running smstools for a while now, but lately (after adding more modems) i see the following errors in the logs:
Could not send character A, cause: Input/output error
When i restart smstools everything works fine again, but after a while those errors pop up again. Does anyone has an idea on where to start looking? Is it a hardware problem or something software related? Since everything works ok after a restart of smstools i suspect it has something to do with my config.
Thanks for any ideas!
|
Sat Dec 12, 2009 19:56
|
IvS: oops, i forgot to ask something :)
Apart from adding Queue: to the message file, is there another way to specify which modem to use for sending the message? Preferably one which allows me to drop the [queues] section altogether?
Thnx again
Iwan
|
Sat Dec 12, 2009 19:50
|
IvS: Hi Keke,
Thanks for your response.
I had already decided to do the provider sorting in my application(s) and set the correct Queue before writing the message in the outgoing/ folder. That way smsd doesn't have to do provider sorting anymore.
By the way, is it possible to leave the [providers] section out?
Yes, I'm using udev right now :)
Is is possible (maybe something for a new feature) to make smsd just scan for all attached modems and use their simcards IMEI/tel numbers to tell them apart? That would make it easier to swap modems/simcards and make an smsd config more portable.
Something else, I've noticed it takes about 5 seconds to send an sms (i think that's normal because it's even in the FAQ). It would be great if this time could be improved, but i have to admit i have no idea about the difficulties involved.
Thanks again for this great piece of software!
Iwan
|
Fri Dec 11, 2009 20:26
|
IvS: Operating system name and version: Ubuntu 9.10 (Karmic Koala)
Version of smsd: 3.1.3
Smsd installed from: package repository
Name and model of a modem / phone:
Interface: USB
Dear All,
First of all, many thanks for this application. It has really helped me for the last couple of months. In fact, things have been going so well I'm about to add other modems to connect more applications to SMS.
My situation:
- 2 applications
- 2 providers with NO interconnection
Each application has its own numbers (1 number per provider).
Question 1:
Till now i only had 1 application, so using [queues] and [providers], things were straightforward. But now i have 2 applications and i need to know how to configure smstools so i can use 1 smstools setup with 2 (and maybe later more) applications while (per application) still choosing the right modem and provider.
Choosing the right modem is easy using Queue: in the sms file, but once i do that i can't sort per Provider anymore. Of course i could do that in my applications, but i'd rather leave all that to smstools.
Question 2:
I use USB modems plugged in an USB hub, is there a correct way to ensure the devicenames (/dev/ttyUSB1 etc) keep referring to the same modem after a reboot?
Question 3:
What is the purpose of the directories in the [queues] section? Are they only for outgoing messages? And why can't i just use the normal outgoing/ dir?
Thanks in advance for any insights,
IvS
|