SMS Server

Taking care of your Linux box.
refra
Naik
Posts: 70
Joined: Wed Dec 06, 2006 3:51 pm

SMS Server

Post by refra »

AOA,

Howto configure Mobile SMS server (Short Messaging Server) on linux for just testing purposes 4 LAN Users.
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Re: SMS Server

Post by kbukhari »

refra wrote:AOA,

Howto configure Mobile SMS server (Short Messaging Server) on linux for just testing purposes 4 LAN Users.
you want short messaging server for mobile or p2p chat ?
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
refra
Naik
Posts: 70
Joined: Wed Dec 06, 2006 3:51 pm

Post by refra »

for mobile
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Post by kbukhari »

refra wrote:for mobile
Use kannel
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
zaib
Naik
Posts: 97
Joined: Thu Jan 10, 2008 3:11 pm
Location: Karachi
Contact:

Server monitoring with SMS

Post by zaib »

How can I connect mobile phone with my Linux box for SMS sending purpose using linux box?

I want that if my internet WAN link goes down, it should send SMS to my mobile number.

What r the requirements? which mobile model is good (and cheap) for this purpose? what application is required for this purpose ?
Regards,

SYED JAHANZAiB

web: http://aacable.wordpress.com
msn: aacable@hotmail.com
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

the preferred method is to use a usb cable to connect your phone to the computer.

i've heard that motorola phones are the fastest for sending messages (7-12 sms/minute), but i know not all motorola phones work with linux. use google and find the cheapest phone that works with linux. i use gnokii; you could read its docs.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
zaib
Naik
Posts: 97
Joined: Thu Jan 10, 2008 3:11 pm
Location: Karachi
Contact:

Post by zaib »

Dear Lambda,

Thx for your tip, this is the thing I was looking for.
I will write a littile howto if I get succeed in setting up using GNOKii.
Regards,

SYED JAHANZAiB

web: http://aacable.wordpress.com
msn: aacable@hotmail.com
zaib
Naik
Posts: 97
Joined: Thu Jan 10, 2008 3:11 pm
Location: Karachi
Contact:

it Worked !

Post by zaib »

I have successfully implemented the GNOKII, my NOKIA 9300i is connected with USB cable with my Monitoring PC, and it have scripts running,
so whenever my WAN link breakup, or any server/service goes down, it sends me sms about the event.

Good tool for 24x7 monitoring.

Steps I used to setup Mobile Monitoring System.


1) Any compatible mobile (Get list from www.gnokii.org)
2) USB / Serial Cable / IRda / Bluetooth

On FEDORA , I install GNOKII simply by

# yum -y install gnokii
(or it can be downloaded from www.gnokii.org)

After installation, I edit /etc/gnokiirc
My working config file is as follows ...

# cat /etc/gnokiirc
=======================================================

[global]
port = /dev/ttyACM0 (It can be different as per your cable type, for listing c website)
initlength = default
connection = dku2libusb (It can b different as per your mobile model type supports)
model = 6230
use_locking = yes
serial_baudrate = 19200
sm_retry = 1
smsc_timeout = 10
allow_breakage = 0
[gnokiid]
bindir = /usr/sbin/
TELEPHONE = 03333021909 (to set default number)
[disconnect_script]
[logging]
debug = on
rlpdebug = off
xdebug = off
=======================================================

To check if GNOKII is detecting the mobile, you can use command
# gnokii --identify

To send SMS using command mode or in script,
# echo "Test Msg using GNOKII " | gnokii --sendsms +92333021909

You can also use graphics ver of gnokii named GNOCKY , its fun also :)
Regards,

SYED JAHANZAiB

web: http://aacable.wordpress.com
msn: aacable@hotmail.com
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

Have you tried it with any NMS like Nagios etc
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Post by kbukhari »

x2oxen wrote:Have you tried it with any NMS like Nagios etc
i have been using GNOKII with nagios
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

Then why didn't i heard of that from you before :oops:
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
cisco_specialized
Lance Naik
Posts: 34
Joined: Tue Nov 21, 2006 3:09 pm

Already Read that

Post by cisco_specialized »

I want to Send Sms to Multiple Users not to single person
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

the software lets you do that.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
eternal peace
Naik
Posts: 86
Joined: Thu Apr 03, 2003 6:44 pm

Post by eternal peace »

there's another easy way of sending sms notifications by using any web based SMS services like the one offered by Mobilink (Corporate SMS) which I'm using currently with Nagios and its working really fine. You just have to write a simple script and use that with Nagios.
hail to linux!!!
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

Can you share your script eternal
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
Post Reply