SMS Server

Taking care of your Linux box.

SMS Server

Postby refra » Tue Aug 19, 2008 12:06 pm

AOA,

Howto configure Mobile SMS server (Short Messaging Server) on linux for just testing purposes 4 LAN Users.
refra
Naik
 
Posts: 69
Joined: Wed Dec 06, 2006 3:51 pm

Re: SMS Server

Postby kbukhari » Tue Aug 19, 2008 4:20 pm

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
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Postby refra » Tue Aug 19, 2008 4:21 pm

for mobile
refra
Naik
 
Posts: 69
Joined: Wed Dec 06, 2006 3:51 pm

Postby kbukhari » Tue Aug 19, 2008 4:22 pm

refra wrote:for mobile


Use kannel
--

Syed Kashif Ali Bukhari

+92-345-8444420

http://sysadminsline.com

http://kashifbukhari.com
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Server monitoring with SMS

Postby zaib » Tue Aug 19, 2008 5:31 pm

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
zaib
Naik
 
Posts: 97
Joined: Thu Jan 10, 2008 3:11 pm
Website: http://aacable.wordpress.com
WLM: aacable@hotmail.com
Yahoo Messenger: johny_reico@yahoo.com
Location: Karachi

Postby lambda » Tue Aug 19, 2008 6:13 pm

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"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby zaib » Tue Aug 19, 2008 7:11 pm

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
Website: http://aacable.wordpress.com
WLM: aacable@hotmail.com
Yahoo Messenger: johny_reico@yahoo.com
Location: Karachi

it Worked !

Postby zaib » Sun Aug 24, 2008 1:10 pm

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
zaib
Naik
 
Posts: 97
Joined: Thu Jan 10, 2008 3:11 pm
Website: http://aacable.wordpress.com
WLM: aacable@hotmail.com
Yahoo Messenger: johny_reico@yahoo.com
Location: Karachi

Postby x2oxen » Mon Aug 25, 2008 1:24 pm

Have you tried it with any NMS like Nagios etc
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad

Postby kbukhari » Mon Aug 25, 2008 1:39 pm

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
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Postby x2oxen » Tue Aug 26, 2008 10:03 am

Then why didn't i heard of that from you before :oops:
Muhammad Usman

+92-321-6640501

Chemonics International

http://usmanpk.com
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad

Already Read that

Postby cisco_specialized » Fri Oct 17, 2008 8:20 am

I want to Send Sms to Multiple Users not to single person
cisco_specialized
Lance Naik
 
Posts: 34
Joined: Tue Nov 21, 2006 3:09 pm

Postby lambda » Fri Oct 17, 2008 9:20 am

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"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby eternal peace » Mon Oct 20, 2008 8:59 pm

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!!!
eternal peace
Naik
 
Posts: 86
Joined: Thu Apr 03, 2003 6:44 pm

Postby x2oxen » Tue Oct 21, 2008 9:54 am

Can you share your script eternal
Muhammad Usman

+92-321-6640501

Chemonics International

http://usmanpk.com
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron