SMS Server Tools 3
This site is hosted by
Basic information:
Additional information:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

Custom Search

 Visitor locations
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Mon Oct 26, 2020 07:41
SMSTools3 Community » Help and support Bottom

Using different Modemsticks - how can I assign different parameters - self recognizing which to use

Login and Post Reply

Page:  1

Author Post
Mar 2016
Location: Germany
Debian Wheezy (Raspberry):
Version of smsd:
Smsd installed from: sources / package repository / from elsewhere...
Name and model of a modem / phone:
Interface: serial / USB / some adapter...

Hi All,

I am using different UMTS modem sticks from various suppliers which are demanding different /dev/ttyUSB* for SMS-connect. Until now I am manually adjusting the configuration file smsd.conf.

I strongly assume, that the different sections [GSM1], [GSM2], ... can be assigned to different Hardware modems, but how / where is the assignment done?

Or is it possible to provide different smsd.conf - files which can be selected and assigend automatically to the specific modem (via usb_modswitch ???).

Or am I totally mistaken: Do I need to set up queues first which I need to assign to the specific IMSI of the SIM-cards ? That would mean any new SIM-card has to be manually adjusted in the configuration file before usage. I would prefer different Modemsticks (~ 5 types) which automatically after plugin will be assigned the appropriate type settings.

I appologize for this newbie question - any help ist pretty much appreciated!

Best regards, thanks in advance!

Mar 2016
Location: Germany
Topic owner
:D ... Solved!

I got it! By defining GSM1, GSM2, ... and corresponding paragraphs [GSM1], [GSM2], ... the settings are activated automatically - dependent on modem type (resp. SIM-card in the modem) plugged in.

Swaping the modem will ask for a restart or reload of SMStools service.
For real use a reboot will be the standard procedure after swapping modems - fully acceptable!

(Sometimes a post and one night sleep can be self-sufficient) :P :P :twisted:

Many thanks to the software developers for this marvellous "piece of software"!

An additional nice feature would be an automatic scan which /dev/ttyUSB* is usable/activated for SMS services with the corresponding stick.

I am using a cheap Medion stick (ALDI Germany) with o2 (D1 Network works as well).
Hopefully the logic link names

lrwxrwxrwx 1 root root 13 March 27 10:07 usb-MediaTek_Inc_Product-if03-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 March 27 10:07 usb-MediaTek_Inc_Product-if05-port0 -> ../../ttyUSB4
lrwxrwxrwx 1 root root 13 March 27 10:07 usb-MediaTek_Inc_Product-if02-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 March 27 10:07 usb-MediaTek_Inc_Product-if04-port0 -> ../../ttyUSB2

will remain a constant.

I am using for SMS serial connections

#device = /dev/serial/by-id/usb-MediaTek_Inc_Product-if02-port0
device = /dev/serial/by-id/usb-MediaTek_Inc_Product-if03-port0
#device = /dev/serial/by-id/usb-MediaTek_Inc_Product-if04-port0
#device = /dev/serial/by-id/usb-MediaTek_Inc_Product-if05-port0


to bind to the o2 network via the Medion stick.

Using a Huawei E3131s (Web'nWalk III)

#device = /dev/serial/by-id/usb-HUAWEI_HUAWEI_Mobile-if02-port0
#device = /dev/serial/by-id/usb-HUAWEI_HUAWEI_Mobile-if00-port0

device = /dev/serial/by-id/usb-HUAWEI_HUAWEI_Mobile-if03-port0

works fine for me.

Cross change of SIM cards to Modems (e.g. D1-SIM with Medion stick) works fine as well, only serial connections have to be changed. Defining [GMS3 and GSM4] allows all variations (Permutations)
of Modems with SIM cards.

The WIFI <-> UMTS Router connection are managed via pppd (PON, POFF) in parallel - works also perfect for me - for either modem!

All implemented on a Raspberry B+ Version 2.

Regards ;)

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.