Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 04-03-2006, 08:51 AM   #1
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Rep: Reputation: 15
Problem with minicom send SMS message script

Hi, I can send SMS manually with minicom, no problem, but i was wondering if it was possible to send an automated SMS from the command line. This is what i've come up with:
send at+cmgf=1
send \r\n
send at+cmgs="22225555"
send \r\n
expect >
send hi nick
send \032
this starts up minicom, i get no errors, but no SMS is sent. I've also tried replacing ^D with the following, without luck:
what i would really want, is to be able to pass command line parameters for the phone number 22225555 and the message hi nick and have minicom not startup either, just execute the command. Any suggestions? Thanks in advance =)

Old 04-05-2006, 12:41 AM   #2
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
how did you do it via minicom?
Old 04-05-2006, 06:25 AM   #3
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
Here's my description of how i did it with minicom:

It's in Norwegian, but i'm sure you'll get the gist of it...
Old 06-25-2009, 05:47 AM   #4
LQ Newbie
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
try \ before quotes

send at+cmgs=\"22225555\"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Send SMS via PHP? Swift&Smart Linux - Software 3 04-20-2008 06:45 PM
How to send sms to CDMA using smpp? ambuj Programming 0 05-15-2004 02:09 AM
How to send sms with more than 160 characters with Kannel ? skeezo Linux - Wireless Networking 1 03-21-2004 03:34 PM
How to send SMS via web? Smooth General 4 06-24-2003 10:05 AM
script to send email message meluser Programming 2 03-26-2003 12:35 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration