What would be the simplest system to send sms from linux server? It`s a Debian system. There would be not much SMSes. What hardware and software to use? Maybe use some SMS sending service?
8 Answers
Yeah, I think the simplest way would be getting a serial GSM modem, or a GSM phone with a serial connection, and a SIM card. Some USB ones can work, but is better getting a serial one and staying on the safe side.
Serial modems don't need any drivers, you just need to connect via the serial port (/dev/tty...) and dump there the commmands...
Also, if you want it easier, you can install the SMS Tools available on Linux. They are packaged with the easy name 'smstools' in Ubuntu, Debian, and other Distros.
Last version is number 3, and you can get some info on this site: http://smstools3.kekekasvi.com/

- 1,998
- 3
- 16
- 24
-
3For phones with USB connectors, the device is /dev/ttyACM0 or /dev/ttyACM1 (you get two available interfaces), and the kernel driver is called cdc-acm (device drivers -> usb support -> usb modem). This driver is mature and has been present for many years, so the only issus is that it might not be enabled by default. Other than that there is no problems with using USB phones on linux. – hlovdal May 23 '09 at 08:52
-
1You can also send SMS messages via USB modems with ModemManager, or via USB and serial with `gsm-utils`. – Sam Morris Feb 25 '12 at 13:57
If you like to to do it yourself and utilize your old mobile phone, try this recipe :-)
There is a real advantage in this approach over using some email SMS service: computer network problems don't affect local hardware. It's especially important if you use SMSes for monitoring your server.

- 36,252
- 29
- 106
- 169
-
There may be similar things built on other phones too. Try to google for "diy sms gateway". – Joonas Pulakka Mar 09 '09 at 14:56
-
1
-
@JohnMerlino The [archived version](http://web.archive.org/web/20130928013544/http://www.x11.net/wiki/index.php/Setting_up_an_SMS_Gateway) is not (96 captures since 22 Feb 06 to 28 Sep 13). To anyone who likes this: consider [donating](https://archive.org/donate/) to the Web Archive. – ᴍᴇʜᴏᴠ Jul 10 '14 at 06:34
Each cell phone company offers email addresses to send sms messages to phones. For example verizon uses something like 55512345678@vtext.com to send messages. All you need to do is find a list of each provider's email domain and then find out the service your user subscribes. After that just send the sms like a regular email. This is how most software does it.

- 8,904
- 1
- 35
- 41
-
1
-
1nor in most other European countries where the caller pays, not the recipient. – Alnitak Mar 09 '09 at 08:11
Since you are probably looking for a lithuanian service (judging from your name), look into www.gsms.lt.

- 1,447
- 1
- 19
- 38
-
@kazimieras-aliulis if you are looking for some GUI for kannel then you can check this [Linux based broadcasting system](https://www.ictbroadcast.com/) – Nasir Iqbal Mar 08 '16 at 08:21
There is another option perl independent exec. Download and Run directly. No Moderm required. Global sms supported and free try.
you can refer http://www.sms4mail.com/smsmail/smscmd.htm
the simplest way is to use a GPRS modem or a pool of modems. More advance - buy gateway service in cell network operator.

- 4,804
- 4
- 44
- 57

- 2,485
- 4
- 26
- 36