Send SMS from OpenWrt using 3G Modem

This is the demonstration of sending SMS using my ZTE MF-190 modem from TP-Link MR3020.

This modem have 2 serial ports, so I can send SMS and dialing internet at the same time. If your modem only have single port you need to disconnect 3G connection first.

There are few packages need to be installed so make sure you have enough memory and remaining space.


You can check the port for the serial using “cat /proc/bus/usb/devices”

T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 4 Spd=480 MxCh= 0

Output such as above line mean port 1 and the device is “/dev/ttyUSB1”

and verify the device exist using “ls /dev/ttyUSB*”

Setup minicom

Choose “Serial port setup” using arrow <down> key and press <enter> from your keyboard.


Press <a> to configure your serial device location. Press <enter> twice to go back to main screen menu, choose “Save setup as df1”


Run minicom again without -s parameter.

Okay, now you can send GSM commands

To send SMS for example to number “22188” with text “VOL STATUS”

To view SMS, the SMS status can be “REC UNREAD” or “REC READ” but to view both use “ALL”

+CMGL is the index of SMS, you can delete the SMS using “T+CMGD=<index>”

To exit minicom press <CTRL-A> followed by <Z> choose either to reset the modem or just exit.

Press <x>