Tuesday, January 20, 2015

sms gateway update (1)

link: http://nerazan.blogspot.com/2013/07/how-to-configure-gsm-modem-in-linux.html
(previously working but now not working. wondering why.

http://everyday-tech.com/nagiosfan-sms-alerts-via-smstools/

Download & Install CMake for CentOS-5

Install GCC

Install eject

Install comget

.
Configuring Your GSM Modem

1.)  Insert gsm modem in usb port
2.)  Run

3.)
 Check which modem Port it’s connected to

4.)
 Eject the Cd-rom sro & sr1 as per your setup

5.)
 Connect gsm modem to usb port ( USB0 in my case )

6.)
 When the modem is connected you will get a message with your service provider name
7.)  Create symbolic link to /dev/modem

TO TEST THAT THE USB MODEM IS ON USB0

.

Installing & Configuring SMSTools


1.)  Install SMS Tools
-or-

2.)  Make Sure you have the Following SMSTOOLS3 SERVER Files and Folders Installed
  • incoming = /var/spool/sms/incoming
  • outgoing = /var/spool/sms/outgoing
  • checked = /var/spool/sms/checked
  • failed = /var/spool/sms/failed
  • sent = /var/spool/sms/sent
  • logfile = /var/log/smsd.log
  • Configuration = /etc/smsd.conf

3.)  Make sure that SMSTools has the Right Configuration Setting for your modem in:  /etc/smsd.conf( GSM Modem is on USB0 in this example)
device = /dev/ttyUSB0

HOW TO START or STOP THE SMSTOOLS3 SERVER

To Setup SMS Tools to AutoStart on Server Boot….

To Test your SMSTools Install:

No comments:

Related Posts Plugin for WordPress, Blogger...