On 2012-07-10, David Coppa <dco...@gmail.com> wrote: > On Tue, Jul 10, 2012 at 3:59 PM, Manolis Tzanidakis ><mtzanida...@gmail.com> wrote: >> Hello, >> I'd like to setup a monitoring system that sends SMS messages when >> something is wrong. >> I'm looking for the simplest possible way to send a message from cli, >> something like: >> $ echo "Doomsday is coming!" | sendsms +1234567890 >> >> I've got a HUAWEI E169 that I assume is supported on 5.1-stable: >> >> umsm0 at uhub4 port 2 configuration 1 interface 0 >> "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? >> HUAWEI Mobile" rev 1.10/0.00 addr 2 >> umsm0: umass only mode. need to reattach >> umsm0 detached >> umsm0 at uhub4 port 2 configuration 1 interface 0 >> "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? >> HUAWEI Mobile" rev 1.10/0.00 addr 2 >> ucom0 at umsm0 >> umsm1 at uhub4 port 2 configuration 1 interface 1 >> "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? >> HUAWEI Mobile" rev 1.10/0.00 addr 2 >> ucom1 at umsm1 >> umsm2 at uhub4 port 2 configuration 1 interface 2 >> "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? >> HUAWEI Mobile" rev 1.10/0.00 addr 2 >> ucom2 at umsm2 >> umsm3 at uhub4 port 2 configuration 1 interface 3 >> "\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^? >> HUAWEI Mobile" rev 1.10/0.00 addr 2 >> >> And I plan to use that with a prepaid mobile card. If it could also >> receive messages and check their content it'd be great. >> >> Any suggestions? > > smstools package should do the trick... > >
Yes. You may need to try the various /dev/cuaU# interfaces til you find the right one.