Header Ads

Header Ads

Linux - USB Modem HUAWEI E3131 (12d1:14fe) Sending SMS

We will use Debian GNU/Linux 8.7 (jessie) and HUAWEI E3131 modem 12d1:14fe. First of all we need to install usb-modeswitch to switch from USB Storage mode to GSM modem. We also need to install smstools for sending text messages via this modem.
apt-get install usb-modeswitch smstools
To configure usb-modeswitch, open /etc/usb_modeswitch.d/12d1:14fe with your favourite editor, and paste this text:
# Huawei E3131
DefaultVendor= 0x12d1
DefaultProduct= 0x14fe
TargetVendor= 0x12d1
TargetProduct= 0x1506

Then run:
usb_modeswitch -c /etc/usb_modeswitch.d/12d1\:14fe

Open /etc/smsd.conf, and paste this text to the end of all text, also commenting [GSM1] and all it's parameters before:
device = /dev/ttyUSB0
incoming = yes
report = no
check_memory_method = 2
signal_quality_ber_ignore = yes
decode_unicode_text = yes
Start smstools:
/etc/init.d/smstools start 

Try to send sms by editing /var/spool/sms/outgoing/sms file and putting to it:
To: 8611111111
This is a text message sent by smstools!

With this config you will also be able to receive messages addressed to the telephone number of this
modem. The received messages are located in /var/spool/sms/incoming/ directory.

It is possible to setup sms geteway using smstools and smsd or playsms the last one is user friendly tool with php frontend and mysql as the backend.


  1. Look for target devices ...
    No devices in target mode or class found
    Look for default devices ...
    No devices in default mode found. Nothing to do. Bye!

  2. or paying a bit more for a better overall service with no glitches. When it comes to selecting a bulk SMS company for your mobile messaging, other factors besides price should be borne in mind http://www.padisoft.org

  3. HTTPS - This is equivalent to HTTP, anyway the information is encoded to guarantee that it can't be perused by different gatherings on the web
    Bulk SMS API

  4. Im no professional, but I imagine you just crafted an excellent point. You naturally understand what youre speaking about, and I can truly get behind that. Thanks for staying so upfront and so honest. device mockup

  5. I was rattling delighted to find this internet site on bing, just what I was looking for : D as well saved to fav. iphone mockups

  6. Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. business texting platform

  7. Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written. https://etcher.download/

  8. What is an outstanding post! “I’ll be back” (to read more of your content). Thanks for the nudge! Online SMS-Mailings programm

  9. Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. website

  10. Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards. umrah packages

  11. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information... click here


Copyright (c) 2012-2013 Unix Master. Powered by Blogger.