You are not logged in.
Pages: 1
I've been using Gmail's built-in sms client and just had the idea that it would be neat if I could send SMS directly from Linux (CLI or a programme like pidgin)... Just wondering if anyone knows of a service for it.
Offline
I use wammu for this. I have a connection througt bluetooth. Another option is phonetooth.
Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."
Offline
For both of these though, you need a mobile phone to connect to. Gmail's service is a completely free sms service - so you type your message and the phone number and they send the sms to the phone.
Offline
I guess I'm looking for an open-source interface to a service like http://gizmosms.com or http://www.text4free.net so that I can send a text message from linux, without opening up firefox and using the sites' captcha system.
Offline
You could write a small ruby script using Scrubyit to send texts through text4free's site.
Oh wait, didn't realize there was a CAPTCHA. If you use http://www.txt2day.com/ instead, you could have the script output the anti-spam question, get your answer, then send it to the form before submitting.
Last edited by dannytatom (2009-03-12 21:07:50)
dnyy in IRC & Urban Terror
Offline
Yeah, I guess because sms service always does have an associated cost, the only way to do it through the internet (without your own phone), is to go through a website with ads which will then naturally have a CAPTCHA or math statement to deter automation.
Offline
I've been using Gmail's built-in sms client and just had the idea that it would be neat if I could send SMS directly from Linux (CLI or a programme like pidgin)... Just wondering if anyone knows of a service for it.
most carriers have an email gateway.
http://en.wikipedia.org/wiki/SMS_gatewa … S_gateways
lots of ways to send email from a command line. ![]()
Last edited by cactus (2009-03-12 21:18:05)
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I used to use the smsclient package -- it's not internet bound and requires a 56k dialup, but it worked beautifully for me ![]()
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
sweet; I might just have to write a little open-source code to use the email to sms gateway...
sendsms -n 15555555555 "hey! i'm texting you from my computer!"
next task is going to be figuring out if the carrier can be determined by the phone number...
Last edited by tony5429 (2009-03-13 01:43:03)
Offline
next task is going to be figuring out if the carrier can be determined by the phone number...
I doubt it, since numbers are supposed to be 'portable' these days (change carriers and take it with you).
You could probably add a flag for carrier though, and have it extrapolate the appropriate email suffixing for you.
sendsms -c att -n 1555555555 "oh balls."Last edited by cactus (2009-03-13 02:02:37)
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Okay; I'm playing with this a little bit, using postfix (my mail client of choice). Is there a way I can send the EOT signal via commandline? I can do this...
[root@norpass ~]# mail email@gmail.com -s "hey"
hey! what's up?!
EOTand it works, but I'd like to be able to send the CTRL+D EOT signal all in one step... something like...
[root@norpass ~]# mail email@gmail.com -s "hey" -m "hey! what's up?!"Does anyone know if there's a way to do that?
Offline
Okay; I'm writing the C code now...
system("mail number@txt.att.net -s \"\" hey CTRL+D");
How do I get the CTRL+D in there? How do I pass the EOT/EOF signal to sendmail without making the user actually push CTRL+D? I know there must be a simple way...
Offline
Got it; had to pipe it.
Offline
tony5429 wrote:next task is going to be figuring out if the carrier can be determined by the phone number...
I doubt it, since numbers are supposed to be 'portable' these days (change carriers and take it with you).
You could probably add a flag for carrier though, and have it extrapolate the appropriate email suffixing for you.sendsms -c att -n 1555555555 "oh balls."
True; I can also brute-force it by default, if the user does't specify a carrier, and just send to all known carriers. Not as secure, as a number could be repeated under a different carrier with a different country code, but it would work.
Offline
cactus wrote:tony5429 wrote:next task is going to be figuring out if the carrier can be determined by the phone number...
I doubt it, since numbers are supposed to be 'portable' these days (change carriers and take it with you).
You could probably add a flag for carrier though, and have it extrapolate the appropriate email suffixing for you.sendsms -c att -n 1555555555 "oh balls."True; I can also brute-force it by default, if the user does't specify a carrier, and just send to all known carriers. Not as secure, as a number could be repeated under a different carrier with a different country code, but it would work.
sounds pretty spammy to me.
not everyone gets free SMS either.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Just so you know, using pidgin and an AIM account, through AIM you can text to cell phones. Just put in the number with a plus in front of it and text away. I often chat with my friends and wife like this lol.
Example, +15555555555
SO that would be + the country code, the area or city code, and the number
Now remember you can only do this through AIM really on pidgin. You can't do it through kopete at first, though once you add them to your budy list on pidgin, once you transfer over to kopete it will add it to your kopete list as well allowing you to use that if you prefer.
Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG
Offline
Pages: 1