I recently got a RPI coming from the land of Arduino, and I was wondering as I've been searching Google for this has anyone found a way to tether their phone to their Pi. I'm looking to use my phone as a way to send MMS/SMS, so basically my RPI will send a signal to the phone via the usb wire to transmit some data via SMS. I'm looking into this as it will be more robust in my case than using a 3G USB Modem - since I won't need the USB powered adapter, etc. (I would assume this is possible except I haven't gotten around to trying it since I only have rev A with 1 usb port which I am using for keyboard/mice, and I'm awaiting B in the mail, so I thought I'd ask to see if there is a good way to go about doing this possibly.)
This video explains the process quite well. However, it uses email to send a SMS message instead of tethering to a phone:
- Make sure you can use the
sudo apt-get install mailutils) and setup your Raspberry Pi to send emails from the command line.
- You need to look up the SMS gateway for the phone you want to send an SMS to. An example of a number converted to an email would be
[email protected](for Verizon).
- Send the email/SMS:
$ echo “Test text” | mail -s “Test Mail” [email protected]