Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Sending SMS From Linux (Sony Ericsson and Gnokii)

Author:mike - Sun Mar 23 02:53:18 2008

the phone should show up in dmesg like:

usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
cdc_acm 2-1:1.1: ttyACM0: USB ACM device
cdc_acm 2-1:1.3: ttyACM1: USB ACM device

# apt-get install gnokii

edit /etc/gnokiirc and change the following values:

port = /dev/ttyACM0
model = AT

Now you should be able to id your phone:

mybox:~# gnokii --identify
GNOKII Version 0.6.14
IMEI         : 359148001224827
Manufacturer : Sony Ericsson
Model        : AAB-1022041-BV
Product name : AAB-1022041-BV
Revision     : R4CH003  R4CH003  

And send SMS'es like:

nagios:/# gnokii --sendsms +4500000000
GNOKII Version 0.6.14
Please enter SMS text. End your input with <cr><control-D>:Foobar

Send succeeded!
nagios:/# 
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk