get out of the box

2012/7/10 Manolis Tzanidakis <mtzanida...@gmail.com>

> 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?
>
> --
> Manolis Tzanidakis
> http://mtzanidakis.com/
> mtzanidakis[at]gmail[dot]com
>
>


-- 
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mail
/\

Reply via email to