SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sun May 19, 2024 20:48
SMSTools3 Community » Help and support Bottom

[answered] Autoconfigure GSM devices

  This topic is locked

Page:  1

Author Post
Member
Registered:
Aug 2009
Location: Mexico DF, Mexico
Dears

Iím working with SMS Tools now and I need to know if exist any application that auto-configure the modems.

I need an utility like wvdialconf. or any way to auto configure the modems or cell phones attached automatically.

I wait your news soon.

Thank in advance
Cristian

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
If I understood this correctly, there are no such kind of existing applications. You have to know what modem is connected to the each port and then modify your smsd.conf configuration before starting the smsd.

If you are using USB devices, you perhaps can use udev to get fixed port definitions.

Plug'n Play is not implemented inside the daemon, if this is what you are missing.

Member
Registered:
Aug 2009
Location: Mexico DF, Mexico
Topic owner
Thank you for your answer..

Can I pre-configure 64 GSM devices in smsd.conf with default standard values??

What happen if i use only one modem but i have 64 configured in smsd.conf?

Sorry but i need a solution in order that the customers do not have to edit smsd.conf

devices = GSM1,GSM2,...., GSM64

....

[GSM1]
init= AT+CPMS="ME"
device = /dev/ttyACM0
incoming = yes
mode = new
baudrate = 19200
cs_convert = yes
report = no

[GSM2]
init= AT+CPMS="ME"
device = /dev/ttyACM0
incoming = yes
mode = new
baudrate = 19200
cs_convert = yes
report = no

[GSM3]
init= AT+CPMS="ME"
device = /dev/ttyACM0
incoming = yes
mode = new
baudrate = 19200
cs_convert = yes
report = no

......


I wait your news, thank in advance
Cristian

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
This kind of pre-configuration is not possible. If you define 64 modems, but there is only one connected, there will be 63 processes which will fail in initializing, lot of errors are produced to the log file and last there will be lot of processes in the state "<defunct>". This sounds not good.

With smsd version 3.1.5 you can define most common values for the modems using [default] section in the smsd.conf file. Usually a device line is the only setting which differs for each modem.

Somebody has to edit smsd.conf, and if it's not a customer, you should do it before smsd is started. There is a startup script /etc/init.d/sms3 available and this script should be used to start and stop the smsd anyways. In some systems this script may be named as init.d/smstools. Modify this script to detect connected modems, for example using wvdialconf, and replace devices line in the smsd.conf before starting a daemon.

Member
Registered:
Aug 2009
Location: Mexico DF, Mexico
Topic owner
Thank you good Idea, i will use wvdialconf and catch the output for modify smsd.conf before starting the daemond.

Thanks a lot

Regards
Cristian

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.